diff options
author | 2023-08-21 18:26:24 +0800 | |
---|---|---|
committer | 2023-08-31 18:02:49 -0400 | |
commit | 7b9f62353024fbf69e1df45f2df87d3cfe0806e9 (patch) | |
tree | 2aa30ad00682669df69ff058bf7057444aa851f3 /drivers/gpu/drm/amd/amdgpu | |
parent | drm/amd/pm: fix debugfs pm_info output (diff) | |
download | linux-7b9f62353024fbf69e1df45f2df87d3cfe0806e9.tar.gz linux-7b9f62353024fbf69e1df45f2df87d3cfe0806e9.tar.bz2 linux-7b9f62353024fbf69e1df45f2df87d3cfe0806e9.zip |
drm/amdgpu: Updated TCP/UTCL1 programming
Update TCP/UTCL1 thrashing control settings
v2: updated rev_id check
Signed-off-by: Mangesh Gadre <Mangesh.Gadre@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
-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); } } } |