drm/i915/bxt: Use correct live status register for BXT platform
authorJani Nikula <jani.nikula@intel.com>
Thu, 20 Aug 2015 07:47:42 +0000 (10:47 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 26 Aug 2015 09:01:04 +0000 (11:01 +0200)
commite464bfdeda3da3b0ef29ca84960715993ccbb1fc
tree77ea6b8c80f98403d3c86c29b759b59f2140d827
parent9642c81c225a43982536fcb7a3fa212dcfaa67ea
drm/i915/bxt: Use correct live status register for BXT platform

BXT platform uses live status bits from 0x44440 register to obtain DP
status on hotplug. The existing g4x_digital_port_connected() uses a
different register and hence misses DP hotplug events on BXT
platform. This patch fixes it by using the appropriate register(0x44440)
and live status bits(3:5).

Based on a patch by Durgadoss R <durgadoss.r@intel.com>, from whom the
commit message is shamelessly copy pasted.

Reported-by: Durgadoss R <durgadoss.r@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Durgadoss R <durgadoss.r@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dp.c