diff options
| author | Mangesh Gadre <[email protected]> | 2023-08-21 18:26:24 +0800 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-08-30 15:20:14 -0400 |
| commit | 7caebc8f99b29b590bd4e8c42a35a4fb593d4f29 (patch) | |
| tree | 447b19f2235c1bf57bb84d2cf943c941255526d0 | |
| parent | f54e1d47e0204d73c29993deecd81d60bbbfc830 (diff) | |
drm/amdgpu: Updated TCP/UTCL1 programming
Update TCP/UTCL1 thrashing control settings
v2: updated rev_id check
Signed-off-by: Mangesh Gadre <[email protected]>
Reviewed-by: Hawking Zhang <[email protected]>
Reviewed-by: Lijo Lazar <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c index a60429c3e93c..b4fdb269f856 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c @@ -203,6 +203,9 @@ static void gfx_v9_4_3_init_golden_registers(struct amdgpu_device *adev) if (adev->rev_id == 0) { WREG32_FIELD15_PREREG(GC, dev_inst, TCP_UTCL1_CNTL1, REDUCE_FIFO_DEPTH_BY_2, 2); + } else { + WREG32_FIELD15_PREREG(GC, dev_inst, TCP_UTCL1_CNTL2, + SPARE, 0x1); } } } |