]> git.baikalelectronics.ru Git - kernel.git/commit
drm/sun4i: virtual CMA addresses are not needed
authorJernej Skrabec <jernej.skrabec@gmail.com>
Tue, 19 Oct 2021 18:10:28 +0000 (20:10 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Thu, 21 Oct 2021 07:52:21 +0000 (09:52 +0200)
commit7367d788043014c1e31a45995c634cd239af9e71
tree55a40930a7d50de2afed0f425ea192a4383771d2
parent14872358c472f9d0f17cf54097af57c68a18c1d0
drm/sun4i: virtual CMA addresses are not needed

Driver never uses virtual address of DRM CMA buffers. Switch to CMA
helpers which don't deal with virtual mapping.

This was actually already the case before commit 66679fb122db
("drm/sun4i: Use DRM_GEM_CMA_VMAP_DRIVER_OPS for GEM operations"),
but only convenient macro at the time used helpers with virtual
mapping.

Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20211019181028.4190737-1-jernej.skrabec@gmail.com
drivers/gpu/drm/sun4i/sun4i_drv.c