Skip to content

Commit 7b9f623

Browse files
Mangesh Gadrealexdeucher
authored andcommitted
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]>
1 parent a7dd9b9 commit 7b9f623

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,9 @@ static void gfx_v9_4_3_init_golden_registers(struct amdgpu_device *adev)
203203
if (adev->rev_id == 0) {
204204
WREG32_FIELD15_PREREG(GC, dev_inst, TCP_UTCL1_CNTL1,
205205
REDUCE_FIFO_DEPTH_BY_2, 2);
206+
} else {
207+
WREG32_FIELD15_PREREG(GC, dev_inst, TCP_UTCL1_CNTL2,
208+
SPARE, 0x1);
206209
}
207210
}
208211
}

0 commit comments

Comments
 (0)