]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Move GEM memory managers into modules
authorThomas Zimmermann <tzimmermann@suse.de>
Wed, 20 Oct 2021 13:19:41 +0000 (15:19 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Fri, 22 Oct 2021 14:20:23 +0000 (16:20 +0200)
commit50bd13261f1fef8a0487a1271c6e3e2030a1c35f
tree27d74b1ab8193dbac5be55001ede4d2299c9d026
parent1db0353e5ca49f6fa3840f23ea2b9d4b18b42cbf
drm: Move GEM memory managers into modules

DRM core uses the GEM base object to access GEM functionality. It does
not depend on individual implementations. Move the code into modules.

Also move the CMA framebuffer helpers into the CMA's module, as they're
not usable without CMA.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20211020131941.15367-4-tzimmermann@suse.de
drivers/gpu/drm/Kconfig
drivers/gpu/drm/Makefile
drivers/gpu/drm/drm_gem_cma_helper.c
drivers/gpu/drm/drm_gem_shmem_helper.c