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

drm/amdgpu: reenable BACO support for 699F:C7 polaris12 SKU

This reverts the commit below:
"drm/amdgpu: disable BACO support for 699F:C7 polaris12 SKU temporarily".
As the S3 hang issue has been fixed by another commit:
"drm/amdgpu: add missing cleanups for Polaris12 UVD/VCE on suspend".

Signed-off-by: Evan Quan <evan.quan@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Evan Quan and committed by
Alex Deucher
602e338f 64261a0d

+1 -8
+1 -8
drivers/gpu/drm/amd/amdgpu/vi.c
··· 904 904 case CHIP_POLARIS11: 905 905 case CHIP_POLARIS12: 906 906 case CHIP_TOPAZ: 907 - /* Disable BACO support for the specific polaris12 SKU temporarily */ 908 - if ((adev->pdev->device == 0x699F) && 909 - (adev->pdev->revision == 0xC7) && 910 - (adev->pdev->subsystem_vendor == 0x1028) && 911 - (adev->pdev->subsystem_device == 0x0039)) 912 - return false; 913 - else 914 - return amdgpu_dpm_is_baco_supported(adev); 907 + return amdgpu_dpm_is_baco_supported(adev); 915 908 default: 916 909 return false; 917 910 }