Skip to content

drm/vram-helper: Various cleanups

Thomas Zimmermann dri-devel 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest8 patches 4 repliesIn review
  2. v33 patches 0 repliesSuperseded
  3. v23 patches 4 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches5 repliesSuperseded

Changes in v4 from the cover letter

* rebased onto recent drm-tip

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8drm/hisilicon/hibmc: Switch to generic fbdev emulationdrivers/gpu/drm/hisilicon/hibmc/Makefile drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h +1 more+3 -2550 replies
2/8drm/hisilicon/hibmc: Replace struct hibmc_framebuffer with generic codedrivers/gpu/drm/hisilicon/hibmc/hibmc_drm_de.c drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c+3 -810 replies
3/8drm/vram: Support scanline alignment for dumb buffersdrivers/gpu/drm/drm_gem_vram_helper.c drivers/gpu/drm/mgag200/mgag200_drv.c include/drm/drm_gem_vram_helper.h+12 -40 replies
4/8drm/hisilicon/hibmc: Implement hibmc_dumb_create() with generic helpersdrivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c+2 -500 replies
5/8drm/hisilicon/hibmc: Export VRAM MM information to debugfsdrivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c+1 -01 reply
6/8drm/vram-helper: Remove interruptible flag from public interfacedrivers/gpu/drm/ast/ast_mode.c drivers/gpu/drm/drm_gem_vram_helper.c drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c +3 more+11 -181 reply
7/8drm/vram-helper: Remove BO device from public interfacedrivers/gpu/drm/ast/ast_mode.c drivers/gpu/drm/drm_gem_vram_helper.c drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c +3 more+13 -191 reply
8/8drm/vram-helper: Support struct drm_driver.gem_create_objectdrivers/gpu/drm/drm_gem_vram_helper.c+12 -31 reply

Reviews trailers per patch

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

PatchDaniel VetterSam RavnborgGerd Hoffmann
1/8R-b A-b
2/8R-b A-b
3/8R-b A-b
4/8R-b A-b
5/8R-b A-b A-b
6/8R-b A-b A-b
7/8R-b A-b A-b
8/8R-b A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v4 thread

Cover letter [PATCH v4 0/8] drm/vram-helper: Various cleanups

A number of cleanups that I wanted to apply for some time. The first two patches simplify the public interface. The third patch adds support for struct drm_driver.gem_create_object. All tested by running fbdev, X11 and Weston on ast HW.

v4:
* rebased onto recent drm-tip
v3:
* drm_gem_vram_create(): test for allocation failure before update
v2:
* make drm_gem_vram_create() still work if GEM object is not first in struct

Thomas Zimmermann (8):
drm/hisilicon/hibmc: Switch to generic fbdev emulation drm/hisilicon/hibmc: Replace struct hibmc_framebuffer with generic
code
drm/vram: Support scanline alignment for dumb buffers drm/hisilicon/hibmc: Implement hibmc_dumb_create() with generic
helpers
drm/hisilicon/hibmc: Export VRAM MM information to debugfs drm/vram-helper: Remove interruptible flag from public interface drm/vram-helper: Remove BO device from public interface drm/vram-helper: Support struct drm_driver.gem_create_object

 drivers/gpu/drm/ast/ast_mode.c                |   3 +-
 drivers/gpu/drm/drm_gem_vram_helper.c         |  53 ++--
 drivers/gpu/drm/hisilicon/hibmc/Makefile      |   2 +-
 .../gpu/drm/hisilicon/hibmc/hibmc_drm_de.c    |   4 +-
 .../gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c   |   6 +-
 .../gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h   |  26 --
 .../gpu/drm/hisilicon/hibmc/hibmc_drm_fbdev.c | 240 ------------------
 drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c   | 116 +--------
 drivers/gpu/drm/mgag200/mgag200_cursor.c      |   3 +-
 drivers/gpu/drm/mgag200/mgag200_drv.c         |   3 +-
 include/drm/drm_gem_vram_helper.h             |   7 +-
 11 files changed, 45 insertions(+), 418 deletions(-)
 delete mode 100644 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_fbdev.c

--
2.24.1

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