Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amdgpu: Disable UVD PG

This causes problems with multiple suspend/resume cycles.

Signed-off-by: Leo Liu <leo.liu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Cc: stable@vger.kernel.org

authored by

Leo Liu and committed by
Alex Deucher
1ee4478a 4f839a24

+2 -1
+2 -1
drivers/gpu/drm/amd/amdgpu/vi.c
··· 1400 1400 case CHIP_CARRIZO: 1401 1401 adev->has_uvd = true; 1402 1402 adev->cg_flags = 0; 1403 - adev->pg_flags = AMDGPU_PG_SUPPORT_UVD | AMDGPU_PG_SUPPORT_VCE; 1403 + /* Disable UVD pg */ 1404 + adev->pg_flags = /* AMDGPU_PG_SUPPORT_UVD | */AMDGPU_PG_SUPPORT_VCE; 1404 1405 adev->external_rev_id = adev->rev_id + 0x1; 1405 1406 if (amdgpu_smc_load_fw && smc_enabled) 1406 1407 adev->firmware.smu_load = true;