diff options
author | Danilo Krummrich <dakr@redhat.com> | 2023-09-20 16:42:35 +0200 |
---|---|---|
committer | Danilo Krummrich <dakr@redhat.com> | 2023-09-26 01:58:28 +0200 |
commit | fe7acaa727e135621c062caa2d6d3ad4ad0b0185 (patch) | |
tree | a3ffa409b6bfd1802d8abc7235207f310feb27ac /drivers/gpu/drm/Kconfig | |
parent | f72c2db47080523d5e0f3c20846c96ed31c35648 (diff) | |
download | lwn-fe7acaa727e135621c062caa2d6d3ad4ad0b0185.tar.gz lwn-fe7acaa727e135621c062caa2d6d3ad4ad0b0185.zip |
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
Diffstat (limited to 'drivers/gpu/drm/Kconfig')
-rw-r--r-- | drivers/gpu/drm/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig index ab9ef1c20349..48ca28a2e4ff 100644 --- a/drivers/gpu/drm/Kconfig +++ b/drivers/gpu/drm/Kconfig @@ -216,6 +216,13 @@ config DRM_EXEC help Execution context for command submissions +config DRM_GPUVM + tristate + depends on DRM + help + GPU-VM representation providing helpers to manage a GPUs virtual + address space + config DRM_BUDDY tristate depends on DRM |