]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/kms: use active device to pick connector for encoder
authorDave Airlie <airlied@linux.ie>
Fri, 29 Jan 2010 05:55:30 +0000 (15:55 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 1 Feb 2010 00:12:26 +0000 (10:12 +1000)
commit26adc832931367bed47af8f6ed729ac8d360d545
treeb8280b52b5965111e6673ab4bc699cefa3e588d3
parent2487d93791e10fd0de905831ba0a76743cf8c575
drm/radeon/kms: use active device to pick connector for encoder

On the W500 we have UNIPHY routed to both DVI and DP, this seems
to always pick the DVI connector which means link training fails.

Switch to using active device to pick the connector, this seems
like it should be safe from a code review, and it fixes things
a bit more here.

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