From: Alex Deucher Date: Fri, 8 Jul 2011 15:44:56 +0000 (-0400) Subject: drm/radeon/kms: clean up multiple crtc handling for evergreen+ (v2) X-Git-Tag: v3.0-rc7~14^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7eff394670366a42935bfbaef67a6f7185627d7;p=pandora-kernel.git 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 Signed-off-by: Alex Deucher Reviewed-by: Michel Dänzer Tested-by: Simon Farnsworth Signed-off-by: Dave Airlie --- Reading git-diff-tree failed