]> Git Repo - linux.git/commit
drm/amdgpu: Set CP_HQD_PQ_CONTROL.RPTR_BLOCK_SIZE correctly
authorHaohui Mai <[email protected]>
Tue, 17 May 2022 06:06:35 +0000 (23:06 -0700)
committerAlex Deucher <[email protected]>
Thu, 26 May 2022 18:56:31 +0000 (14:56 -0400)
commit842035543c0bfa35b1471e74094a107673815b01
treea69042584719def282b1234a98c5b5ee25fa164e
parent69493c034d2455204dfcd370de8c4dc204374a94
drm/amdgpu: Set CP_HQD_PQ_CONTROL.RPTR_BLOCK_SIZE correctly

Remove the accidental shifts on the values of RPTR_BLOCK_SIZE
in gfx_v8-v11. The bug essentially always programs the
corresponding fields to zero instead of the correct value.
The hardware clamps the min value to 5 so this resulted in a
value of 5 being programmed.

Signed-off-by: Haohui Mai <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
This page took 0.056762 seconds and 4 git commands to generate.