[PATCH 0/5] drm/udl: Convert to GEM framebuffer helpers

Thomas Zimmermann tzimmermann at suse.de
Thu Nov 14 14:10:20 UTC 2019


Udl uses struct udl_framebuffer for representing its framebuffer. The
type can be replaced by the standard DRM framebuffer structure.

Patches 1 to 4 prepare the driver for the conversion. Patch 5 replaces
the structure.

The patchset has been tested by running the fb console, X11 and Weston
on a DisplayLink adapter.

Thomas Zimmermann (5):
  drm/udl: Unmap buffer object after damage update
  drm/udl: Remove udl implementation of GEM's free_object()
  drm/udl: Store active framebuffer in device structure
  drm/udl: Call udl_handle_damage() with DRM framebuffer
  drm/udl: Replace struct udl_framebuffer with generic implementation

 drivers/gpu/drm/udl/udl_drv.h     |  14 ++--
 drivers/gpu/drm/udl/udl_fb.c      | 131 +++++++++++-------------------
 drivers/gpu/drm/udl/udl_gem.c     |  18 +---
 drivers/gpu/drm/udl/udl_main.c    |   3 +
 drivers/gpu/drm/udl/udl_modeset.c |  31 +++----
 5 files changed, 70 insertions(+), 127 deletions(-)

--
2.23.0



More information about the dri-devel mailing list