Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/radeon: set correct CE ram size for CIK

CE ram size is 32k/0k/0k for GFX/CS0/CS1 with CIK

Ported from amdgpu driver.

Signed-off-by: Jammy Zhou <Jammy.Zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org

authored by

Jammy Zhou and committed by
Alex Deucher
dc4edad6 66338fee

+2 -2
+2 -2
drivers/gpu/drm/radeon/cik.c
··· 4313 4313 /* init the CE partitions. CE only used for gfx on CIK */ 4314 4314 radeon_ring_write(ring, PACKET3(PACKET3_SET_BASE, 2)); 4315 4315 radeon_ring_write(ring, PACKET3_BASE_INDEX(CE_PARTITION_BASE)); 4316 - radeon_ring_write(ring, 0xc000); 4317 - radeon_ring_write(ring, 0xc000); 4316 + radeon_ring_write(ring, 0x8000); 4317 + radeon_ring_write(ring, 0x8000); 4318 4318 4319 4319 /* setup clear context state */ 4320 4320 radeon_ring_write(ring, PACKET3(PACKET3_PREAMBLE_CNTL, 0));