From e017bb8035ce890ff5a4cded2e8b91b814fb7b21 Mon Sep 17 00:00:00 2001 From: Xiaojie Yuan Date: Mon, 13 May 2019 17:02:12 +0800 Subject: [PATCH] drm/amd/powerplay: disable gfxoff for navi14 gfxoff doesn't work on navi14 yet, so disable it for now Signed-off-by: Xiaojie Yuan Reviewed-by: Jack Xiao Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/powerplay/amdgpu_smu.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c b/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c index d977d68320c9..1ac9db3aa5bc 100644 --- a/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c +++ b/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c @@ -559,6 +559,9 @@ static int smu_early_init(void *handle) smu->pm_enabled = !!amdgpu_dpm; mutex_init(&smu->mutex); + if (adev->asic_type == CHIP_NAVI14) + adev->pm.pp_feature &= ~PP_GFXOFF_MASK; + return smu_set_funcs(adev); } -- 2.30.2