diff options
author | Haohui Mai <ricetons@gmail.com> | 2022-05-16 23:06:35 -0700 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-05-26 14:56:31 -0400 |
commit | 842035543c0bfa35b1471e74094a107673815b01 (patch) | |
tree | a69042584719def282b1234a98c5b5ee25fa164e /drivers/gpu/drm/amd/amdgpu/amdgpu_mca.c | |
parent | 69493c034d2455204dfcd370de8c4dc204374a94 (diff) |
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 <ricetons@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mca.c')
0 files changed, 0 insertions, 0 deletions