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/drm_gpuvm.c | |
parent | drm/gpuvm: rename struct drm_gpuva_manager to struct drm_gpuvm (diff) | |
download | linux-fe7acaa727e135621c062caa2d6d3ad4ad0b0185.tar.xz linux-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/drm_gpuvm.c')
-rw-r--r-- | drivers/gpu/drm/drm_gpuvm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_gpuvm.c b/drivers/gpu/drm/drm_gpuvm.c index d55267db76ae..02ecb45a2544 100644 --- a/drivers/gpu/drm/drm_gpuvm.c +++ b/drivers/gpu/drm/drm_gpuvm.c @@ -1723,3 +1723,6 @@ drm_gpuva_ops_free(struct drm_gpuvm *gpuvm, kfree(ops); } EXPORT_SYMBOL_GPL(drm_gpuva_ops_free); + +MODULE_DESCRIPTION("DRM GPUVM"); +MODULE_LICENSE("GPL"); |