drm/amd: Convert amdgpu to use suballocation helper.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Fri, 24 Feb 2023 09:51:51 +0000 (10:51 +0100)
committerThomas Hellström <thomas.hellstrom@linux.intel.com>
Wed, 1 Mar 2023 16:18:19 +0000 (17:18 +0100)
commitc103a23f2f297c6ab2e5e74e39b655439f3524a6
tree440e1c6d8f0180d0b2d6d4b3f7b2666840e036c3
parent849ee8a2f0df7a4ed4d281e19d3c9824b8e60bc2
drm/amd: Convert amdgpu to use suballocation helper.

Now that we have a generic suballocation helper, Use it in amdgpu.
For lines that get moved or changed, also fix up pre-existing style issues.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Co-developed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Acked-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Acked-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230224095152.30134-3-thomas.hellstrom@linux.intel.com
drivers/gpu/drm/amd/amdgpu/Kconfig
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c
drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h
drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c