[PATCH] drm/amdgpu: disable gfxoff temporarily for navy_flounder

Jiansong Chen Jiansong.Chen at amd.com
Wed Sep 30 07:36:42 UTC 2020


gfxoff is temporarily disabled for navy_flounder, since
at present the feature caused some tdr when performing
display operation.

Signed-off-by: Jiansong Chen <Jiansong.Chen at amd.com>
Change-Id: Ib2be4041f82a3f5e12c657541c516815c8eb3670
---
 drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
index 17fb2efdadd3..9792ec737029 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
@@ -3610,6 +3610,9 @@ static void gfx_v10_0_check_gfxoff_flag(struct amdgpu_device *adev)
 		if (!gfx_v10_0_navi10_gfxoff_should_enable(adev))
 			adev->pm.pp_feature &= ~PP_GFXOFF_MASK;
 		break;
+	case CHIP_NAVY_FLOUNDER:
+		adev->pm.pp_feature &= ~PP_GFXOFF_MASK;
+		break;
 	default:
 		break;
 	}
-- 
2.25.1



More information about the amd-gfx mailing list