[PATCH 0/5] drm/udl: Convert to generic fbdev emulation
Thomas Zimmermann
tzimmermann at suse.de
Thu Oct 24 14:42:32 UTC 2019
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
More information about the dri-devel
mailing list