aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_quirks.c
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2019-04-29 15:29:30 +0300
committerJani Nikula <jani.nikula@intel.com>2019-04-30 15:04:37 +0300
commit220b92bf57095417c5374c2d351bcfcbbc517843 (patch)
treecced5ce1581990e64486905c44732bf5485958d7 /drivers/gpu/drm/i915/intel_quirks.c
parentdrm/i915: extract intel_bios.h functions from i915_drv.h (diff)
downloadlinux-dev-220b92bf57095417c5374c2d351bcfcbbc517843.tar.xz
linux-dev-220b92bf57095417c5374c2d351bcfcbbc517843.zip
drm/i915: extract intel_quirks.h from intel_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/1e2fb90dcce2063b1c464dc64aa8fa6005b62bc6.1556540890.git.jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_quirks.c')
-rw-r--r--drivers/gpu/drm/i915/intel_quirks.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_quirks.c b/drivers/gpu/drm/i915/intel_quirks.c
index ec2b0fc92b8b..0b749c28541f 100644
--- a/drivers/gpu/drm/i915/intel_quirks.c
+++ b/drivers/gpu/drm/i915/intel_quirks.c
@@ -6,6 +6,7 @@
#include <linux/dmi.h>
#include "intel_drv.h"
+#include "intel_quirks.h"
/*
* Some machines (Lenovo U160) do not work with SSC on LVDS for some reason