[PATCH] drm/amd/powerplay: disable gfxoff for navi12
Zhang, Hawking
Hawking.Zhang at amd.com
Thu Aug 15 06:19:32 UTC 2019
Reviewed-by: Hawking Zhang <Hawking.Zhang at amd.com>
Regards,
Hawking
-----Original Message-----
From: Yuan, Xiaojie <Xiaojie.Yuan at amd.com>
Sent: 2019年8月15日 11:42
To: amd-gfx at lists.freedesktop.org
Cc: Zhang, Hawking <Hawking.Zhang at amd.com>; Xiao, Jack <Jack.Xiao at amd.com>; Feng, Kenneth <Kenneth.Feng at amd.com>; Yuan, Xiaojie <Xiaojie.Yuan at amd.com>
Subject: [PATCH] drm/amd/powerplay: disable gfxoff for navi12
gfxoff doesn't work on navi12 yet, so disable it for now
Signed-off-by: Xiaojie Yuan <xiaojie.yuan at amd.com>
---
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
index 066ba593af23..d644669e5d93 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
@@ -580,6 +580,7 @@ static void gfx_v10_0_check_gfxoff_flag(struct amdgpu_device *adev) {
switch (adev->asic_type) {
case CHIP_NAVI10:
+ case CHIP_NAVI12:
adev->pm.pp_feature &= ~PP_GFXOFF_MASK;
break;
default:
--
2.20.1
More information about the amd-gfx
mailing list