summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaleemkhan Jamadar <saleemkhan.jamadar@amd.com>2023-05-09 12:37:50 +0530
committerAlex Deucher <alexander.deucher@amd.com>2023-05-11 08:41:48 -0400
commit5b94db73e45e2e6c2840f39c022fd71dfa47fc58 (patch)
treec47b012eaf75ca111a9cc9568769d5d4072f91c3
parent4a76680311330aefe5074bed8f06afa354b85c48 (diff)
drm/amdgpu/jpeg: Remove harvest checking for JPEG3
Register CC_UVD_HARVESTING is obsolete for JPEG 3.1.2 Signed-off-by: Saleemkhan Jamadar <saleemkhan.jamadar@amd.com> Reviewed-by: Veerabadhran Gopalakrishnan <Veerabadhran.Gopalakrishnan@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org # 6.1.x
-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);