diff options
author | Saleemkhan Jamadar <saleemkhan.jamadar@amd.com> | 2023-05-09 12:37:50 +0530 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-06-09 09:36:45 -0400 |
commit | c488a9370d5a1da71f7683e0d6da40a2ab0f1be3 (patch) | |
tree | 0b3dff5e34f3a68f39b3b389a6b579e76e046c57 | |
parent | d97b02bb9c7aa3008d473d11001e1b45b7e0c7c6 (diff) | |
download | linux-stable-c488a9370d5a1da71f7683e0d6da40a2ab0f1be3.tar.gz linux-stable-c488a9370d5a1da71f7683e0d6da40a2ab0f1be3.tar.bz2 linux-stable-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 <saleemkhan.jamadar@amd.com>
Reviewed-by: Veerabadhran Gopalakrishnan <Veerabadhran.Gopalakrishnan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c | 1 |
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); |