From 362c3c7014d79f9663fa7b7c43c1078d6f0a6f37 Mon Sep 17 00:00:00 2001 From: Likun Gao Date: Mon, 25 Apr 2022 16:04:09 +0800 Subject: [PATCH] drm/amdgpu: support memory power gating for lsdma 6.0.2 Support memory power gating control for lsdma 6.0.2. Signed-off-by: Likun Gao Reviewed-by: Hawking Zhang Signed-off-by: Alex Deucher --- 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 3303e02..c6a8520 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.7.4