drm/amdgpu/jpeg2.5: Remove JPEG_ENC_MASK from clock ungating
authorJames Zhu <James.Zhu@amd.com>
Tue, 19 May 2020 14:11:05 +0000 (10:11 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 21 May 2020 16:46:51 +0000 (12:46 -0400)
Remove JPEG_ENC_MASK from clock ungating since MJPEG encoder
hasn't been support yet.

Signed-off-by: James Zhu <James.Zhu@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/jpeg_v2_5.c

index 37df3f2e587af51f98b3ba99552bcc7a82842558..713c325604453ded7fa57acad5c6246b9050b85f 100644 (file)
@@ -268,7 +268,6 @@ static void jpeg_v2_5_disable_clock_gating(struct amdgpu_device* adev, int inst)
        data = RREG32_SOC15(JPEG, inst, mmJPEG_CGC_GATE);
        data &= ~(JPEG_CGC_GATE__JPEG_DEC_MASK
                | JPEG_CGC_GATE__JPEG2_DEC_MASK
-               | JPEG_CGC_GATE__JPEG_ENC_MASK
                | JPEG_CGC_GATE__JMCIF_MASK
                | JPEG_CGC_GATE__JRBBM_MASK);
        WREG32_SOC15(JPEG, inst, mmJPEG_CGC_GATE, data);