]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/kms: fix shared ddc harder
authorAlex Deucher <alexdeucher@gmail.com>
Tue, 20 Jul 2010 15:27:54 +0000 (11:27 -0400)
committerDave Airlie <airlied@redhat.com>
Tue, 20 Jul 2010 22:37:25 +0000 (08:37 +1000)
commit3f3bcd4dccad7f92b9e818547566cbabccecce5c
tree0f51eeb9dd3df2ebb19c4aa985fc1762c3d30b6d
parentf93ee284cbf6314e09a508c1dc1f2147b95414dc
drm/radeon/kms: fix shared ddc harder

This fixes a regression caused by a5962c4f3924577b5cdee4d85279c798aba31731
due to the way shared ddc with multiple digital connectors was handled.

You generally have two cases where DDC lines are shared:
- HDMI + VGA
- HDMI + DVI-D

HDMI + VGA is easy to deal with because you can check the EDID for the
to see if the attached monitor is digital.  A shared DDC line with two
digital connectors is more complex.  You can't use the hdmi bits in the
EDID since they may not be there with DVI<->HDMI adapters.  In this case
all we can do is check the HPD pins to see which is connected as we have
no way of knowing using the EDID.

Reported-by: trapdoor6@gmail.com
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Cc: stable@kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_connectors.c