drm/shmem-helper: Revert accidental non-GPL export
authorAsahi Lina <lina@asahilina.net>
Mon, 27 Feb 2023 09:04:21 +0000 (18:04 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Mar 2023 08:34:01 +0000 (09:34 +0100)
commit29bc917b68a695c1c71ccf2f7e7c1ed11322f2c7
tree62d4be51e7e050ec39e91c714a4e6b0de975f83c
parentcb26818c8b0d9dca9df3f164714b0e59d1aa542c
drm/shmem-helper: Revert accidental non-GPL export

[ Upstream commit 047a754558d640eaa080fce3b22ca9f3d4e04626 ]

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: ddddedaa0db9 ("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
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/drm_gem_shmem_helper.c