]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/kms: clean up multiple crtc handling for evergreen+ (v2)
authorAlex Deucher <alexdeucher@gmail.com>
Fri, 8 Jul 2011 15:44:56 +0000 (11:44 -0400)
committerDave Airlie <airlied@redhat.com>
Fri, 8 Jul 2011 17:28:52 +0000 (03:28 +1000)
commitd8aedc88ea4b0f902569d759b2cf46783848eee3
tree039d6de6280836458dac24450944f2dcc5ebdd87
parent926a3ec9864e04987f6c9065dbf23a055bbab570
drm/radeon/kms: clean up multiple crtc handling for evergreen+ (v2)

evergreen+ asics have 2-6 crtcs.  Don't access crtc registers
for crtc regs that don't exist as they have very high latency
and may cause problems on some asics.  The previous code missed
a few cases and was not fine grained enough (missed the 4 crtc
case for example).

Fixes:
https://bugs.freedesktop.org/show_bug.cgi?id=38800

v2: fix typo noticed by Chris Bandy <cbandy@jbandy.com>

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Reviewed-by: Michel Dänzer <michel@daenzer.net>
Tested-by: Simon Farnsworth <simon.farnsworth@onelan.co.uk>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/evergreen.c