From: Alex Deucher Date: Mon, 18 May 2020 20:42:21 +0000 (-0400) Subject: drm/amdgpu/sdma4: add renoir to powergating setup X-Git-Tag: v5.9-rc1~134^2~19^2~464 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e27fb8215f8c43ecff5fd7ec486df0dad28e1889;p=thirdparty%2Fkernel%2Flinux.git drm/amdgpu/sdma4: add renoir to powergating setup Looks like renoir should be handled here as well. Reviewed-by: Evan Quan Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c index 33501c6c71895..899610fe2411a 100644 --- a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c +++ b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c @@ -2202,6 +2202,7 @@ static int sdma_v4_0_set_powergating_state(void *handle, switch (adev->asic_type) { case CHIP_RAVEN: + case CHIP_RENOIR: sdma_v4_1_update_power_gating(adev, state == AMD_PG_STATE_GATE ? true : false); break;