Skip to content

drm/udl: Prepare damage handler for simple-pipe KMS

Thomas Zimmermann dri-devel 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 0 repliesNew
  2. v17 patches 5 repliesSuperseded

Changes in v2 from the cover letter

* only return an error code from dma_buf_end_cpu_access() if no other error code has been set before

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7drm/udl: Remove unused statistics countersdrivers/gpu/drm/udl/udl_drv.h drivers/gpu/drm/udl/udl_fb.c+1 -170 replies
2/7drm/udl: Don't track number of identical and sent pixels per linedrivers/gpu/drm/udl/udl_drv.h drivers/gpu/drm/udl/udl_fb.c drivers/gpu/drm/udl/udl_transfer.c+3 -100 replies
3/7drm/udl: Vmap framebuffer after all tests succeeded in damage handlingdrivers/gpu/drm/udl/udl_fb.c drivers/gpu/drm/udl/udl_transfer.c+7 -130 replies
4/7drm/udl: Move clip-rectangle code out of udl_handle_damage()drivers/gpu/drm/udl/udl_fb.c+32 -160 replies
5/7drm/udl: Move log-cpp code out of udl_damage_handler()drivers/gpu/drm/udl/udl_fb.c+12 -50 replies
6/7drm/udl: Begin/end access to imported buffers in damage-handlerdrivers/gpu/drm/udl/udl_fb.c+23 -200 replies
7/7drm/udl: Remove field lost_pixels from struct udl_devicedrivers/gpu/drm/udl/udl_drv.h drivers/gpu/drm/udl/udl_fb.c drivers/gpu/drm/udl/udl_main.c +1 more+8 -100 replies

Reviews trailers per patch

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

PatchEmil VelikovGerd Hoffmann
1/7R-b A-b
2/7R-b A-b
3/7R-b A-b
4/7R-b A-b
5/7R-b A-b
6/7R-b A-b
7/7R-b A-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/7] drm/udl: Prepare damage handler for simple-pipe KMS

Udl's damage-handling code requires clean up before switching the driver to simple-pipe helpers. Patches 1, 2 and 7 remove unused state variables and statistics. Patches 3 to 5 reorganize the damage handler to be more readable. Patch 6 moves dma-buf begin/end calls into the damage handler, so they will run during page-flip and modeset operations.

The patchset has been tested by running fbdev console emulation, X11, and Weston with a DisplayLink adapter.

v2:
* only return an error code from dma_buf_end_cpu_access() if no other error code has been set before

Thomas Zimmermann (7):
drm/udl: Remove unused statistics counters
drm/udl: Don't track number of identical and sent pixels per line drm/udl: Vmap framebuffer after all tests succeeded in damage handling drm/udl: Move clip-rectangle code out of udl_handle_damage() drm/udl: Move log-cpp code out of udl_damage_handler() drm/udl: Begin/end access to imported buffers in damage-handler drm/udl: Remove field lost_pixels from struct udl_device

 drivers/gpu/drm/udl/udl_drv.h      |   8 +-
 drivers/gpu/drm/udl/udl_fb.c       | 134 +++++++++++++++--------------
 drivers/gpu/drm/udl/udl_main.c     |   3 -
 drivers/gpu/drm/udl/udl_transfer.c |  12 ++-
 4 files changed, 76 insertions(+), 81 deletions(-)

--
2.23.0

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