[PATCH 35/37] Revert "drm/amdgpu: disable gfxoff for the moment on renoir"

Alex Deucher alexdeucher at gmail.com
Wed Aug 21 22:23:57 UTC 2019


From: Aaron Liu <aaron.liu at amd.com>

This reverts commit dfb2c6ee8bec5914d47a4b75f73eff731bb937ae.

Signed-off-by: Aaron Liu <aaron.liu at amd.com>
Acked-by: changzhu <Changfeng.Zhu at amd.com>
Acked-by: Chen Gong <curry.gong at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
index e265c23ed0a7..02b3e7dcb637 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
@@ -1621,7 +1621,7 @@ static int amdgpu_device_ip_early_init(struct amdgpu_device *adev)
 	}
 
 	adev->pm.pp_feature = amdgpu_pp_feature_mask;
-	if (amdgpu_sriov_vf(adev) || adev->asic_type == CHIP_RENOIR)
+	if (amdgpu_sriov_vf(adev))
 		adev->pm.pp_feature &= ~PP_GFXOFF_MASK;
 
 	for (i = 0; i < adev->num_ip_blocks; i++) {
-- 
2.20.1



More information about the amd-gfx mailing list