Skip to content

drm/udl: Convert to generic fbdev emulation

Thomas Zimmermann dri-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 17 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5drm/udl: Clear BO vmapping pointer after unmapping BO memorydrivers/gpu/drm/udl/udl_gem.c+1 -01 reply
2/5drm/udl: Set drm_driver.gem_prime_mmapdrivers/gpu/drm/udl/udl_drv.c+1 -00 replies
3/5drm/udl: Add GEM object functions for free(), vmap(), and vunmap()drivers/gpu/drm/udl/udl_gem.c+34 -010 replies
4/5drm/udl: Map BO memory pages in unencrypted modedrivers/gpu/drm/udl/udl_gem.c+4 -10 replies
5/5drm/udl: Replace fbdev code with generic emulationdrivers/gpu/drm/udl/udl_drv.c drivers/gpu/drm/udl/udl_drv.h drivers/gpu/drm/udl/udl_fb.c +2 more+8 -2676 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] drm/udl: Convert to generic fbdev emulation

This patchset replaces udl's fbdev code with the generic implementation.

The first patch fixes a bug that didn't trigger yet because the current fbdev never unmaps the BO. Patches 2 to 3 add missing interfaces to the udl driver. Patch 4 sets mapping flags. In the final patch, we remove a lot of code and set a few helpers instead.

The patchset was tested by running the fbdev console, X11, and Weston on a DisplayLink adapter.

Thomas Zimmermann (5):
drm/udl: Clear BO vmapping pointer after unmapping BO memory drm/udl: Set drm_driver.gem_prime_mmap
drm/udl: Add GEM object functions for free(), vmap(), and vunmap() drm/udl: Map BO memory pages in unencrypted mode drm/udl: Replace fbdev code with generic emulation

 drivers/gpu/drm/udl/udl_drv.c     |   4 +
 drivers/gpu/drm/udl/udl_drv.h     |   4 -
 drivers/gpu/drm/udl/udl_fb.c      | 263 +-----------------------------
 drivers/gpu/drm/udl/udl_gem.c     |  40 ++++-
 drivers/gpu/drm/udl/udl_main.c    |   2 -
 drivers/gpu/drm/udl/udl_modeset.c |   3 +-
 6 files changed, 48 insertions(+), 268 deletions(-)

--
2.23.0

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