drm/radeon/kms: fix tv dac conflict resolver
commit203b9d5e958f9334df805f3de0c7bd131463dc99
authorAlex Deucher <alexdeucher@gmail.com>
Thu, 15 Apr 2010 17:31:12 +0000 (15 13:31 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 26 Apr 2010 14:47:55 +0000 (26 07:47 -0700)
treece45c73667ba06422bc3463d4c91a25c9cd25690
parent1cda055bf9f47370067223da823342756fed786b
drm/radeon/kms: fix tv dac conflict resolver

commit 08d075116db3592db218bfe0f554cd93c9e12505 upstream.

On systems with the tv dac shared between DVI and TV,
we can only use the dac for one of the connectors.
However, when using a digital monitor on the DVI port,
you can use the dac for the TV connector just fine.
Check the use_digital status when resolving the conflict.

Fixes fdo bug 27649, possibly others.

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