Reviewed-by: Hawking Zhang <[email protected]>

Regards,
Hawking
-----Original Message-----
From: Yuan, Xiaojie <[email protected]> 
Sent: 2019年8月15日 11:42
To: [email protected]
Cc: Zhang, Hawking <[email protected]>; Xiao, Jack <[email protected]>; 
Feng, Kenneth <[email protected]>; Yuan, Xiaojie <[email protected]>
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 <[email protected]>
---
 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

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to