From: Michel Dänzer Date: Tue, 22 Apr 2014 07:53:52 +0000 (+0900) Subject: drm/radeon: Fix num_banks calculation for SI X-Git-Tag: omap-for-v3.16/fixes-against-rc1~207^2~2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9d14aeb3005fc09a937ca419c08b3c612a76a90;p=pandora-kernel.git drm/radeon: Fix num_banks calculation for SI The way the tile mode array index was calculated only makes sense for the CIK specific macrotile mode array. For SI, we need to use one of the tile mode array indices reserved for displayable surfaces. This happened to result in correct display most if not all of the time because most of the SI tiling modes use the same number of banks. Signed-off-by: Michel Dänzer Reviewed-by: Alex Deucher Signed-off-by: Christian König --- Reading git-diff-tree failed