diff options
author | Jani Nikula <jani.nikula@intel.com> | 2019-08-08 16:42:47 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2019-08-09 12:03:25 +0300 |
commit | 9c9082b98228b0fdb9ef3dec6d67169b05017859 (patch) | |
tree | b784154590a949cf4c6f4d1341517f7d2d71733d /drivers/gpu/drm/i915/i915_memcpy.c | |
parent | bdd1510cc7c2940bdd12687559b24b04043dff9f (diff) | |
download | talos-op-linux-9c9082b98228b0fdb9ef3dec6d67169b05017859.tar.gz talos-op-linux-9c9082b98228b0fdb9ef3dec6d67169b05017859.zip |
drm/i915: extract i915_memcpy.h from i915_drv.h
It used to be handy that we only had a couple of headers, but over time
i915_drv.h has become unwieldy. Extract declarations to a separate
header file corresponding to the implementation module, clarifying the
modularity of the driver.
Ensure the new header is self-contained, and do so with minimal further
includes, using forward declarations as needed. Include the new header
only where needed, and sort the modified include directives while at it
and as needed.
No functional changes.
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/f2b887002150acdf218385ea846f7aa617aa5f15.1565271681.git.jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_memcpy.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_memcpy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_memcpy.c b/drivers/gpu/drm/i915/i915_memcpy.c index 79f8ec756362..07b04b0acb77 100644 --- a/drivers/gpu/drm/i915/i915_memcpy.c +++ b/drivers/gpu/drm/i915/i915_memcpy.c @@ -25,7 +25,7 @@ #include <linux/kernel.h> #include <asm/fpu/api.h> -#include "i915_drv.h" +#include "i915_memcpy.h" static DEFINE_STATIC_KEY_FALSE(has_movntdqa); |