OSDN Git Service

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)
commit4b2b5e142ff499a2bef2b8db0272bbda1088a3fe
tree27d74b1ab8193dbac5be55001ede4d2299c9d026
parent72071beec8fbf760945c6f155fd4db394dd2fdda
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