drm/radeon/kms: don't disable shared encoders on pre-DCE3 display blocks
authorAlex Deucher <alexdeucher@gmail.com>
Tue, 2 Nov 2010 05:26:48 +0000 (05:26 +0000)
committerDave Airlie <airlied@redhat.com>
Tue, 9 Nov 2010 03:37:47 +0000 (13:37 +1000)
commita0ae5864d42b41c411368bd689462bf063c029c8
treec8a450cdf031f9d3b2450994451c2938ca1c716a
parentfce7d61be01ad7606056608be08fef15b70eeb84
drm/radeon/kms: don't disable shared encoders on pre-DCE3 display blocks

The A/B links aren't independantly useable on these blocks so when
we disable the encoders, make sure to only disable the encoder when
there is no connector using it.

Should fix:
https://bugs.freedesktop.org/show_bug.cgi?id=18564

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_encoders.c