summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_vdsc.c
diff options
context:
space:
mode:
authorJani Nikula2019-04-29 14:29:32 +0200
committerJani Nikula2019-04-30 14:04:44 +0200
commitb375d0ef25896eccef5a057fd283935c47e67949 (patch)
tree03e9301481daae31660d1172d80cc47e1dcb230b /drivers/gpu/drm/i915/intel_vdsc.c
parentdrm/i915: extract intel_overlay.h from intel_drv.h and i915_drv.h (diff)
downloadkernel-qcow2-linux-b375d0ef25896eccef5a057fd283935c47e67949.tar.gz
kernel-qcow2-linux-b375d0ef25896eccef5a057fd283935c47e67949.tar.xz
kernel-qcow2-linux-b375d0ef25896eccef5a057fd283935c47e67949.zip
drm/i915: extract intel_vdsc.h from intel_drv.h and i915_drv.h
It used to be handy that we only had a couple of headers, but over time intel_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/76d2719b462004ec6f6f5c302ee5d3876357c599.1556540890.git.jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_vdsc.c')
-rw-r--r--drivers/gpu/drm/i915/intel_vdsc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_vdsc.c b/drivers/gpu/drm/i915/intel_vdsc.c
index 3f9921ba4a76..ffec807b8960 100644
--- a/drivers/gpu/drm/i915/intel_vdsc.c
+++ b/drivers/gpu/drm/i915/intel_vdsc.c
@@ -7,8 +7,10 @@
*/
#include <drm/i915_drm.h>
+
#include "i915_drv.h"
#include "intel_drv.h"
+#include "intel_vdsc.h"
enum ROW_INDEX_BPP {
ROW_INDEX_6BPP = 0,