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>
This commit is contained in:
parent
41967850e4
commit
362c3c7014
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user