drm/radeon/kms: fix displayport->dvi connector DDC.
authorDave Airlie <airlied@redhat.com>
Thu, 14 Jan 2010 01:42:17 +0000 (11:42 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 14 Jan 2010 01:51:56 +0000 (11:51 +1000)
commit7a15cbd40108a670baae71cbd3cec62b65891fa6
treecafb93efc353d4be301ee039b8eca1ca25494cb2
parent9270eb1b496cb002d75f49ef82c9ef4cbd22a5a0
drm/radeon/kms: fix displayport->dvi connector DDC.

It appears that attempting AUXCH DDC breaks the subsequent attempt
to do DDC over the i2c lines, so use the sink type to determine
if we should be doing AUXCH or i2c DDC.

This fixes my DVI monitor plugged into DP->DVI convertor.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_display.c