Skip to content

drm/vram: Provide GEM VRAM vmap()/vunmap/()

Thomas Zimmermann dri-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/vram: Provide vmap and vunmap operations for GEM VRAM objectsdrivers/gpu/drm/drm_gem_vram_helper.c include/drm/drm_gem_vram_helper.h+79 -320 replies
2/3drm/ast: Use drm_gem_vram_{vmap, vunmap}() to map cursor source BOdrivers/gpu/drm/ast/ast_mode.c+7 -140 replies
3/3drm/mgag200: Use drm_gem_vram_{vmap, vunmap}() to map cursor source BOdrivers/gpu/drm/mgag200/mgag200_cursor.c+7 -150 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchGerd Hoffmann
SeriesA-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] drm/vram: Provide GEM VRAM vmap()/vunmap/()

The ast and mgag200 drivers pin() and kmap() cursor buffers; essentially reimplementing vmap(). We can share some code by using the respective functionality from GEM VRAM buffer objects.

Thomas Zimmermann (3):
drm/vram: Provide vmap and vunmap operations for GEM VRAM objects drm/ast: Use drm_gem_vram_{vmap,vunmap}() to map cursor source BO drm/mgag200: Use drm_gem_vram_{vmap,vunmap}() to map cursor source BO

 drivers/gpu/drm/ast/ast_mode.c           |  21 ++---
 drivers/gpu/drm/drm_gem_vram_helper.c    | 106 ++++++++++++++++-------
 drivers/gpu/drm/mgag200/mgag200_cursor.c |  22 ++---
 include/drm/drm_gem_vram_helper.h        |   5 +-
 4 files changed, 93 insertions(+), 61 deletions(-)

--
2.23.0

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel