aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c
diff options
context:
space:
mode:
authorSaleemkhan Jamadar <[email protected]>2023-05-09 07:07:50 +0000
committerAlex Deucher <[email protected]>2023-06-09 13:36:45 +0000
commitc488a9370d5a1da71f7683e0d6da40a2ab0f1be3 (patch)
tree0b3dff5e34f3a68f39b3b389a6b579e76e046c57 /drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c
parentdrm/amdgpu/gfx: disable gfx9 cp_ecc_error_irq only when enabling legacy gfx ras (diff)
downloadkernel-c488a9370d5a1da71f7683e0d6da40a2ab0f1be3.tar.gz
kernel-c488a9370d5a1da71f7683e0d6da40a2ab0f1be3.zip
drm/amdgpu/jpeg: Remove harvest checking for JPEG3
Register CC_UVD_HARVESTING is obsolete for JPEG 3.1.2 Signed-off-by: Saleemkhan Jamadar <[email protected]> Reviewed-by: Veerabadhran Gopalakrishnan <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c b/drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c
index c55e09432e26..1c2292cc5f2c 100644
--- a/drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c
@@ -54,6 +54,7 @@ static int jpeg_v3_0_early_init(void *handle)
switch (adev->ip_versions[UVD_HWIP][0]) {
case IP_VERSION(3, 1, 1):
+ case IP_VERSION(3, 1, 2):
break;
default:
harvest = RREG32_SOC15(JPEG, 0, mmCC_UVD_HARVESTING);