drm/amdgpu/sdma6: split out per instance resume function
authorJiadong Zhu <Jiadong.Zhu@amd.com>
Mon, 9 Sep 2024 07:36:26 +0000 (15:36 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 26 Sep 2024 21:06:16 +0000 (17:06 -0400)
commitdf190e67538a56a81f98ea694eec86f1179f0dc6
treed6b3fa4e555b2573c06db0afa9937609bfaf900d
parentced65debf4d8d17cba2a631392f29a0b3b006303
drm/amdgpu/sdma6: split out per instance resume function

Extract the resume sequence for individual sdma instance from sdma_v6_0_gfx_resume.
The function could be used for start/restart scenario on a certain instance.

Signed-off-by: Jiadong Zhu <Jiadong.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c