]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/kms: deal with connectors sourced to the same encoder
authorAlex Deucher <alexdeucher@gmail.com>
Tue, 17 Nov 2009 20:44:01 +0000 (15:44 -0500)
committerDave Airlie <airlied@redhat.com>
Wed, 2 Dec 2009 01:36:44 +0000 (11:36 +1000)
commit453e85d10f17d474bf9e06eeb8d07d8069fd7d17
tree0778f39726588869f0f3efc021970b175565478e
parent35eadd46b4e794cabf774dd44bd45d98ba98fce7
drm/radeon/kms: deal with connectors sourced to the same encoder

Some systems have multiple connectors connected to the same encoder;
e.g., DVI and HDMI connected to the same encoder with the same ddc
line. Since we expose connectors as xrandr outputs, randr treats them
separately which results in it trying to source the same encoder to
different crtcs. If we have an HDMI and DVI-D port on the same encoder,
pick the one to be considered connected based on the edid (HDMI if edid
indicates HDMI, DVI otherwise).

Should fix fdo bug 25150

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