]> 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)
commitfa63d63bd0ea9664d90f77c15beb7d1daed9f276
tree27d74b1ab8193dbac5be55001ede4d2299c9d026
parenta454203c635da56f681b0033dfc33284367473fc
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