drm/gpuvm: allow building as module
authorDanilo Krummrich <dakr@redhat.com>
Wed, 20 Sep 2023 14:42:35 +0000 (16:42 +0200)
committerDanilo Krummrich <dakr@redhat.com>
Mon, 25 Sep 2023 23:58:28 +0000 (01:58 +0200)
commitfe7acaa727e135621c062caa2d6d3ad4ad0b0185
treea3ffa409b6bfd1802d8abc7235207f310feb27ac
parentf72c2db47080523d5e0f3c20846c96ed31c35648
drm/gpuvm: allow building as module

Currently, the DRM GPUVM does not have any core dependencies preventing
a module build.

Also, new features from subsequent patches require helpers (namely
drm_exec) which can be built as module.

Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Danilo Krummrich <dakr@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230920144343.64830-3-dakr@redhat.com
drivers/gpu/drm/Kconfig
drivers/gpu/drm/Makefile
drivers/gpu/drm/drm_gpuvm.c
drivers/gpu/drm/nouveau/Kconfig