diff options
author | Likun Gao <Likun.Gao@amd.com> | 2022-04-25 16:04:09 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-05-10 17:53:12 -0400 |
commit | 362c3c7014d79f9663fa7b7c43c1078d6f0a6f37 (patch) | |
tree | 118bd28dcc7bd83356bda8746da5486010280919 | |
parent | 41967850e4f0720f0b472beb84b908957cbc1ebe (diff) | |
download | linux-362c3c7014d79f9663fa7b7c43c1078d6f0a6f37.tar.bz2 |
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 <Likun.Gao@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/soc21.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |