summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_hotplug.c
diff options
context:
space:
mode:
authorXiong Zhang <xiong.y.zhang@intel.com>2015-08-17 15:55:50 +0800
committerJani Nikula <jani.nikula@intel.com>2015-08-26 10:24:25 +0300
commit26951caf55d73ceb1967b0bf12f6d0b96853508e (patch)
treef25fd33b071b0b27b3de6d2c8566f301367360bc /drivers/gpu/drm/i915/intel_hotplug.c
parent8e9d597a37e407476b4de725bef4cb1ad1f5c22c (diff)
downloadlinux-stable-26951caf55d73ceb1967b0bf12f6d0b96853508e.tar.gz
linux-stable-26951caf55d73ceb1967b0bf12f6d0b96853508e.tar.bz2
linux-stable-26951caf55d73ceb1967b0bf12f6d0b96853508e.zip
drm/i915/skl: enable DDI-E hotplug
v2: fix one error found by checkpath.pl v3: Add one ignored break for switch-case. DDI-E hotplug function doesn't work after updating drm-intel tree, I checked the code and found this missing which isn't the root cause for broke DDI-E hp. The broken DDI-E hp function is fixed by "Adding DDI_E power well domain". Signed-off-by: Xiong Zhang <xiong.y.zhang@intel.com> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Tested-by: Timo Aaltonen <timo.aaltonen@canonical.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_hotplug.c')
-rw-r--r--drivers/gpu/drm/i915/intel_hotplug.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_hotplug.c b/drivers/gpu/drm/i915/intel_hotplug.c
index 032a0bf75f3b..53c0173a39fe 100644
--- a/drivers/gpu/drm/i915/intel_hotplug.c
+++ b/drivers/gpu/drm/i915/intel_hotplug.c
@@ -91,6 +91,9 @@ bool intel_hpd_pin_to_port(enum hpd_pin pin, enum port *port)
case HPD_PORT_D:
*port = PORT_D;
return true;
+ case HPD_PORT_E:
+ *port = PORT_E;
+ return true;
default:
return false; /* no hpd */
}