drm/radeon/kms: don't disable shared encoders on pre-DCE3 display blocks
commitcad852e3fa22da8458989225ddef40aadedbfdc4
authorAlex Deucher <alexdeucher@gmail.com>
Tue, 2 Nov 2010 05:26:48 +0000 (2 05:26 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 9 Dec 2010 21:31:55 +0000 (9 13:31 -0800)
treeb4404a11be29aae4b62c52b753ae3e94e387c14e
parent58275258ab7826f8825e9df7232cab848917df60
drm/radeon/kms: don't disable shared encoders on pre-DCE3 display blocks

commit a0ae5864d42b41c411368bd689462bf063c029c8 upstream.

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>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/gpu/drm/radeon/radeon_encoders.c