drm/i915/skl: Adding DDI_E power well domain
authorXiong Zhang <xiong.y.zhang@intel.com>
Thu, 13 Aug 2015 10:00:12 +0000 (18:00 +0800)
committerJani Nikula <jani.nikula@intel.com>
Mon, 31 Aug 2015 15:40:48 +0000 (18:40 +0300)
commitd8e19f99d3483adb01c6269dd5775ba8ecf1870a
tree077288ee9eee611953a5e0ff1a5f149bbe04cb67
parent477ec3283c324d16e8da07a8d8a4a367e31b6eab
drm/i915/skl: Adding DDI_E power well domain

From B spec, DDI_E port belong to PowerWell 2, but
DDI_E share the powerwell_req/staus register bit with
DDI_A which belong to DDI_A_E_POWER_WELL.

In order to communicate with the connector on DDI-E, both
DDI_A_E_POWER_WELL and POWER_WELL_2 must be enabled.

Currently intel_dp_power_get(DDI_E) only enable
DDI_A_E_POWER_WELL, this patch will not only enable
DDI_a_E_POWER_WELL but also enable POWER_WELL_2.

This patch also fix the DDI-E hotplug function.

Signed-off-by: Xiong Zhang <xiong.y.zhang@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/i915_debugfs.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_runtime_pm.c