Skip to content

Commit

Permalink
drm/amdgpu/jpeg: Remove harvest checking for JPEG3
Browse files Browse the repository at this point in the history
commit 5b94db7 upstream.

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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
skjamadar authored and gregkh committed May 17, 2023
1 parent f661ad5 commit 28c2e07
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 28c2e07

Please sign in to comment.