diff options
author | Jani Nikula <jani.nikula@intel.com> | 2023-01-18 16:15:32 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2023-01-20 11:13:50 +0300 |
commit | ff1e93e924f236ab7f5b445820bf4e81cf9845b7 (patch) | |
tree | 9a4c59202f3127491ead9370db27464661924806 /drivers/gpu/drm/i915/i915_config.c | |
parent | 24d97468f4f325e2c0ac052907c59e6956e96dee (diff) | |
download | linux-ff1e93e924f236ab7f5b445820bf4e81cf9845b7.tar.xz |
drm/i915: add i915_config.h and move relevant declarations there
We already have i915_config.c. Add the i915_config.h counterpart, and
declutter i915_drv.h in the process.
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Acked-by: Nirmoy Das <nirmoy.das@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230118131538.3558599-1-jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_config.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_config.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_config.c b/drivers/gpu/drm/i915/i915_config.c index afb828dab53b..24e5bb8a670e 100644 --- a/drivers/gpu/drm/i915/i915_config.c +++ b/drivers/gpu/drm/i915/i915_config.c @@ -3,7 +3,10 @@ * Copyright © 2020 Intel Corporation */ -#include "i915_drv.h" +#include <linux/kernel.h> + +#include "i915_config.h" +#include "i915_utils.h" unsigned long i915_fence_context_timeout(const struct drm_i915_private *i915, u64 context) |