drm/amdgpu: Add amdgpu_sdma_types.h header

There is an include loop between amdgpu.h and amdgpu_sdma.h which
prevents adding any interesting static inline helpers to the latter.

Break it by moving the type definitions to a new amdgpu_sdma_types.h
header.

This is required so static inline helpers which need to dereference
struct amdgpu_device can be added to amdgpu_sdma.h.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
Cc: Timur Kristóf <timur.kristof@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Tvrtko Ursulin 2026-09-14 15:54:22 +01:00 • committed by Alex Deucher
commit ce23f00eb1
18 changed files with 189 additions and 129 deletions