Commit 047a7545 authored by Asahi Lina's avatar Asahi Lina Committed by Thomas Zimmermann

drm/shmem-helper: Revert accidental non-GPL export

The referenced commit added a wrapper for drm_gem_shmem_get_pages_sgt(),
but in the process it accidentally changed the export type from GPL to
non-GPL. Switch it back to GPL.
Reported-by: default avatarDmitry Osipenko <dmitry.osipenko@collabora.com>
Fixes: ddddedaa ("drm/shmem-helper: Fix locking for drm_gem_shmem_get_pages_sgt()")
Signed-off-by: default avatarAsahi Lina <lina@asahilina.net>
Signed-off-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20230227-shmem-export-fix-v1-1-8880b2c25e81@asahilina.net
parent c176060a
...@@ -744,7 +744,7 @@ struct sg_table *drm_gem_shmem_get_pages_sgt(struct drm_gem_shmem_object *shmem) ...@@ -744,7 +744,7 @@ struct sg_table *drm_gem_shmem_get_pages_sgt(struct drm_gem_shmem_object *shmem)
return sgt; return sgt;
} }
EXPORT_SYMBOL(drm_gem_shmem_get_pages_sgt); EXPORT_SYMBOL_GPL(drm_gem_shmem_get_pages_sgt);
/** /**
* drm_gem_shmem_prime_import_sg_table - Produce a shmem GEM object from * drm_gem_shmem_prime_import_sg_table - Produce a shmem GEM object from
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment