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_cmd_parser.c | |
parent | bdd1510cc7c2940bdd12687559b24b04043dff9f (diff) | |
download | lwn-9c9082b98228b0fdb9ef3dec6d67169b05017859.tar.gz lwn-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_cmd_parser.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_cmd_parser.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_cmd_parser.c b/drivers/gpu/drm/i915/i915_cmd_parser.c index cb4a0ca72efe..24555102e198 100644 --- a/drivers/gpu/drm/i915/i915_cmd_parser.c +++ b/drivers/gpu/drm/i915/i915_cmd_parser.c @@ -28,6 +28,7 @@ #include "gt/intel_engine.h" #include "i915_drv.h" +#include "i915_memcpy.h" /** * DOC: batch buffer command parser |