summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/Kconfig
diff options
context:
space:
mode:
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>2023-02-24 10:51:51 +0100
committerThomas Hellström <thomas.hellstrom@linux.intel.com>2023-03-01 17:18:19 +0100
commitc103a23f2f297c6ab2e5e74e39b655439f3524a6 (patch)
tree440e1c6d8f0180d0b2d6d4b3f7b2666840e036c3 /drivers/gpu/drm/amd/amdgpu/Kconfig
parent849ee8a2f0df7a4ed4d281e19d3c9824b8e60bc2 (diff)
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
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/Kconfig')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/Kconfig b/drivers/gpu/drm/amd/amdgpu/Kconfig
index 5341b6b242c3..0ed12171450b 100644
--- a/drivers/gpu/drm/amd/amdgpu/Kconfig
+++ b/drivers/gpu/drm/amd/amdgpu/Kconfig
@@ -18,6 +18,7 @@ config DRM_AMDGPU
select BACKLIGHT_CLASS_DEVICE
select INTERVAL_TREE
select DRM_BUDDY
+ select DRM_SUBALLOC_HELPER
# amdgpu depends on ACPI_VIDEO when ACPI is enabled, for select to work
# ACPI_VIDEO's dependencies must also be selected.
select INPUT if ACPI