Skip to content

Commit

Permalink
drm/shmem-helper: Revert accidental non-GPL export
Browse files Browse the repository at this point in the history
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: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Fixes: ddddeda ("drm/shmem-helper: Fix locking for drm_gem_shmem_get_pages_sgt()")
Signed-off-by: Asahi Lina <lina@asahilina.net>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20230227-shmem-export-fix-v1-1-8880b2c25e81@asahilina.net
  • Loading branch information
Asahi Lina authored and Thomas Zimmermann committed Feb 28, 2023
1 parent c176060 commit 047a754
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/drm_gem_shmem_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,7 @@ struct sg_table *drm_gem_shmem_get_pages_sgt(struct drm_gem_shmem_object *shmem)

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
Expand Down

0 comments on commit 047a754

Please sign in to comment.