From: Likun Gao <Likun.Gao@xxxxxxx> Support memory power gating control for lsdma 6.0.2. Signed-off-by: Likun Gao <Likun.Gao@xxxxxxx> Reviewed-by: Hawking Zhang <Hawking.Zhang@xxxxxxx> Signed-off-by: Alex Deucher <alexander.deucher@xxxxxxx> --- drivers/gpu/drm/amd/amdgpu/soc21.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/amdgpu/soc21.c b/drivers/gpu/drm/amd/amdgpu/soc21.c index 3303e02f85d1..c6a8520053bb 100644 --- a/drivers/gpu/drm/amd/amdgpu/soc21.c +++ b/drivers/gpu/drm/amd/amdgpu/soc21.c @@ -680,6 +680,7 @@ static int soc21_common_set_powergating_state(void *handle, switch (adev->ip_versions[LSDMA_HWIP][0]) { case IP_VERSION(6, 0, 0): + case IP_VERSION(6, 0, 2): adev->lsdma.funcs->update_memory_power_gating(adev, state == AMD_PG_STATE_GATE); break; -- 2.35.1