summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/Kconfig.debug
diff options
context:
space:
mode:
authorImre Deak2016-12-02 17:35:41 +0100
committerImre Deak2016-12-05 12:17:34 +0100
commit3c30c7f7b09a0eec58cb43f96705877f66975057 (patch)
treea93d1e6a5cc1ffcaaadbacf2c60bfe3f2ac6cd02 /drivers/gpu/drm/i915/Kconfig.debug
parentMerge remote-tracking branch 'airlied/drm-next' into drm-intel-next-queued (diff)
downloadkernel-qcow2-linux-3c30c7f7b09a0eec58cb43f96705877f66975057.tar.gz
kernel-qcow2-linux-3c30c7f7b09a0eec58cb43f96705877f66975057.tar.xz
kernel-qcow2-linux-3c30c7f7b09a0eec58cb43f96705877f66975057.zip
drm/i915: Add I2C and DP-AUX char devices to debug kconfig
These char devices exposing the driver's I2C and DP-AUX adapters for user space tools are useful to debug display output related issues. Enable them with the rest of additional driver debug options. Suggested-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Imre Deak <imre.deak@intel.com> Reviewed-by: Jani Nikula <jani.nikula@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1480696541-13697-1-git-send-email-imre.deak@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/Kconfig.debug')
-rw-r--r--drivers/gpu/drm/i915/Kconfig.debug2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/Kconfig.debug b/drivers/gpu/drm/i915/Kconfig.debug
index a6c69b8cb1d2..cc4ad576e6e9 100644
--- a/drivers/gpu/drm/i915/Kconfig.debug
+++ b/drivers/gpu/drm/i915/Kconfig.debug
@@ -19,6 +19,8 @@ config DRM_I915_DEBUG
bool "Enable additional driver debugging"
depends on DRM_I915
select PREEMPT_COUNT
+ select I2C_CHARDEV
+ select DRM_DP_AUX_CHARDEV
select X86_MSR # used by igt/pm_rpm
select DRM_VGEM # used by igt/prime_vgem (dmabuf interop checks)
select DRM_DEBUG_MM if DRM=y