Skip to content

Merge VRAM MM and GEM VRAM source files

Thomas Zimmermann dri-devel linux-doc virtualization 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 0 repliesNew
  2. v14 patches 1 replySuperseded

Changes in v2 from the cover letter

* updated for debugfs support
* fixed typos in comments

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4drm/vram: Move VRAM memory manager to GEM VRAM implementationDocumentation/gpu/drm-mm.rst drivers/gpu/drm/Makefile drivers/gpu/drm/ast/ast_drv.c +11 more+434 -4540 replies
1/4drm/vram: Move VRAM memory manager to GEM VRAM implementationDocumentation/gpu/drm-mm.rst drivers/gpu/drm/Makefile drivers/gpu/drm/ast/ast_drv.c +11 more+434 -4540 replies
2/4drm/vram: Have VRAM MM call GEM VRAM functions directlydrivers/gpu/drm/ast/ast_ttm.c drivers/gpu/drm/bochs/bochs_mm.c drivers/gpu/drm/drm_gem_vram_helper.c +6 more+44 -1520 replies
2/4drm/vram: Have VRAM MM call GEM VRAM functions directlydrivers/gpu/drm/ast/ast_ttm.c drivers/gpu/drm/bochs/bochs_mm.c drivers/gpu/drm/drm_gem_vram_helper.c +6 more+44 -1520 replies
3/4drm/vram: Unexport internal functions of VRAM MMdrivers/gpu/drm/drm_gem_vram_helper.c include/drm/drm_gem_vram_helper.h+5 -390 replies
3/4drm/vram: Unexport internal functions of VRAM MMdrivers/gpu/drm/drm_gem_vram_helper.c include/drm/drm_gem_vram_helper.h+5 -390 replies
4/4drm/vram: Unconditonally set BO call-back functionsdrivers/gpu/drm/drm_gem_vram_helper.c+1 -20 replies

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by.

PatchGerd Hoffmann
1/4A-b A-b
1/4A-b A-b
2/4A-b A-b
2/4A-b A-b
3/4A-b A-b
3/4A-b A-b
4/4A-b

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

Read the v2 thread

Cover letter [PATCH v2 0/4] Merge VRAM MM and GEM VRAM source files

VRAM MM and GEM VRAM are only used with each other. This patch set moves VRAM MM into GEM VRAM source files and cleans up the helper's public interface.

Version 2 of the patch set doesn't contain functional changes. I'm reposting due to the rebasing onto the debugfs patches.

v2:
* updated for debugfs support
* fixed typos in comments

Thomas Zimmermann (4):
drm/vram: Move VRAM memory manager to GEM VRAM implementation drm/vram: Have VRAM MM call GEM VRAM functions directly drm/vram: Unexport internal functions of VRAM MM drm/vram: Unconditonally set BO call-back functions

 Documentation/gpu/drm-mm.rst                  |  12 -
 drivers/gpu/drm/Makefile                      |   3 +-
 drivers/gpu/drm/ast/ast_drv.c                 |   1 -
 drivers/gpu/drm/ast/ast_main.c                |   1 -
 drivers/gpu/drm/ast/ast_ttm.c                 |   3 +-
 drivers/gpu/drm/bochs/bochs.h                 |   1 -
 drivers/gpu/drm/bochs/bochs_mm.c              |   3 +-
 drivers/gpu/drm/drm_gem_vram_helper.c         | 406 +++++++++++++++---
 drivers/gpu/drm/drm_vram_helper_common.c      |   8 +-
 drivers/gpu/drm/drm_vram_mm_helper.c          | 353 ---------------
 .../gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c   |   1 -
 drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c   |   3 +-
 drivers/gpu/drm/mgag200/mgag200_drv.h         |   1 -
 drivers/gpu/drm/mgag200/mgag200_ttm.c         |   3 +-
 drivers/gpu/drm/vboxvideo/vbox_drv.h          |   2 -
 drivers/gpu/drm/vboxvideo/vbox_ttm.c          |   3 +-
 include/drm/drm_gem_vram_helper.h             |  92 +++-
 include/drm/drm_vram_mm_helper.h              | 109 -----
 18 files changed, 421 insertions(+), 584 deletions(-)
 delete mode 100644 drivers/gpu/drm/drm_vram_mm_helper.c
 delete mode 100644 include/drm/drm_vram_mm_helper.h

--
2.23.0