drm/amdgpu: Keep SDMAv4.4.2 active during reset
authorLijo Lazar <lijo.lazar@amd.com>
Tue, 17 Jan 2023 11:24:49 +0000 (16:54 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:52:02 +0000 (09:52 -0400)
commit7389c75114c53b061d686f19dff5833adaf96cb8
tree71abdc9e6d0b7207672b1621ef90ce098c5a1bec
parentb2ef2fdffed2a7fd5bf3f178a6a0427487dba5dd
drm/amdgpu: Keep SDMAv4.4.2 active during reset

During ASIC wide reset, SDMA shouldn't be clockgated and be ready to
accept freeze requests from PMFW. For that, don't stop SDMA engine
during reset and keep the clocks active.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c