drm/amdgpu: Add sdma instance specific functions
authorLijo Lazar <lijo.lazar@amd.com>
Wed, 14 Sep 2022 07:18:08 +0000 (12:48 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:49:17 +0000 (09:49 -0400)
commit527c670e5323414dbef8f4719dc9b348a50ac1c8
tree2e296f072c901b91e6e9eda57b83552bfd7ca4f7
parentdd1a02e280dae1904c8858c8cb572a61a84ba7c0
drm/amdgpu: Add sdma instance specific functions

SDMA 4.4.2 supports multiple instances. Add functions to support
handling of each SDMA instance separately.

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