drm/amdgpu: Add mask for SDMA instances
authorLijo Lazar <lijo.lazar@amd.com>
Wed, 29 Jun 2022 10:56:49 +0000 (16:26 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:47:29 +0000 (09:47 -0400)
commitcf24f6a0d7137bc703a23187ffa4a65ed3f17820
treead3e1398b54e983c8bedc6868379000c15d0fbe5
parentcab7d478da112e66f2ad8eec7dcfc0aa2a5babe1
drm/amdgpu: Add mask for SDMA instances

Add a mask of SDMA instances available for use. On certain ASIC configs,
not all SDMA instances are available for software use.

v2:
Change sdma mask type to uint32_t (Le)

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