Commit 602e338f authored by Evan Quan's avatar Evan Quan Committed by Alex Deucher
Browse files

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: default avatarEvan Quan <evan.quan@amd.com>
Acked-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 64261a0d
Loading
Loading
Loading
Loading
+1 −8
Original line number Diff line number Diff line
@@ -904,13 +904,6 @@ static bool vi_asic_supports_baco(struct amdgpu_device *adev)
	case CHIP_POLARIS11:
	case CHIP_POLARIS12:
	case CHIP_TOPAZ:
		/* Disable BACO support for the specific polaris12 SKU temporarily */
		if ((adev->pdev->device == 0x699F) &&
		     (adev->pdev->revision == 0xC7) &&
		     (adev->pdev->subsystem_vendor == 0x1028) &&
		     (adev->pdev->subsystem_device == 0x0039))
			return false;
		else
		return amdgpu_dpm_is_baco_supported(adev);
	default:
		return false;