[PATCH v2 0/7] drm/udl: Prepare damage handler for simple-pipe KMS

Thomas Zimmermann tzimmermann at suse.de
Fri Dec 6 08:59:47 UTC 2019


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



More information about the dri-devel mailing list