From: Aaron Liu Date: Tue, 16 Jul 2019 09:09:47 +0000 (+0800) Subject: drm/amdgpu: enable power gating for renoir X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=95f9e74c3acc7a6edb5f9a2517df23b2df46d053;p=openwrt%2Fstaging%2Fblogic.git drm/amdgpu: enable power gating for renoir enable gfx power gating for renoir Acked-by: Huang Rui Signed-off-by: Aaron Liu Reviewed-by: Huang Rui Reviewed-by: Evan Quan Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c index c5ef9340b67c..d2676e2834e3 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c @@ -4815,6 +4815,7 @@ static int gfx_v9_0_set_powergating_state(void *handle, switch (adev->asic_type) { case CHIP_RAVEN: + case CHIP_RENOIR: if (!enable) { amdgpu_gfx_off_ctrl(adev, false); cancel_delayed_work_sync(&adev->gfx.gfx_off_delay_work);