summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/si_dma.c
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2014-04-22 11:53:52 +0400
committerChristian König <christian.koenig@amd.com>2014-05-06 14:18:40 +0400
commite9d14aeb3005fc09a937ca419c08b3c612a76a90 (patch)
tree4ad8ae3710194521322d2655fea7be455b8fb1e2 /drivers/gpu/drm/radeon/si_dma.c
parentaa019b791a3e138ca0eaa38e72b4ea97d482a7bc (diff)
downloadlinux-e9d14aeb3005fc09a937ca419c08b3c612a76a90.tar.xz
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 <michel.daenzer@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/si_dma.c')
0 files changed, 0 insertions, 0 deletions