drm/i915/hdmi: Fix reg values for g4x_hdmi_connected
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 25 May 2012 09:23:37 +0000 (10:23 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 25 May 2012 12:34:47 +0000 (14:34 +0200)
commiteeafaaca763408c099d2ade3a69e0716f296a97b
tree68a0e1a07562983fcefebdec30d4b32a67b7c8d1
parent199b2bc25ba587f666a712e9d8475d691d9cec4c
drm/i915/hdmi: Fix reg values for g4x_hdmi_connected

Paulo pointed out that gen4 re-used the SDVO registers for HDMI (the
separate HDMI registers where introduced with the first PCH) and so
g4x_hdmi_connected() never selected the right bit and always returned
disconnected.

Regression in

commit 8ec22b214d76773c9d89f4040505ce10f677ed9a
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Fri May 11 18:01:34 2012 +0100

    drm/i915/hdmi: Query the live connector status bit for G4x

Cc: Paulo Zanoni <przanoni@gmail.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Tested-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_hdmi.c