linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] drm/udl: Replace fbdev by generic emulation
@ 2019-11-08 12:33 Thomas Zimmermann
  2019-11-08 12:33 ` [PATCH 1/4] drm/udl: Replace fbdev code with " Thomas Zimmermann
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: Thomas Zimmermann @ 2019-11-08 12:33 UTC (permalink / raw)
  To: airlied, sean, daniel, b.zolnierkie, noralf, kraxel, sam,
	emil.velikov
  Cc: linux-fbdev, Thomas Zimmermann, dri-devel

The udl driver can use the generic fbdev emulation. After conversion,
a number of cleanups can be applied.

The fbdev conversion is in patch 1. The original fbdev code in udl
mapped the framebuffer's GEM object memory unconditionally, and
unmapped the memory in the object's free() function. The respective
code in free() can now be removed (Patch 2). And as udl was the
only remaining external user of unlink_framebuffer(), that function
now becomes an internal interface of the fbdev code.

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

Thomas Zimmermann (4):
  drm/udl: Replace fbdev code with generic emulation
  drm/udl: Remove udl implementation of GEM's free_object()
  drm/fb-helper: Remove drm_fb_helper_unlink_fbi()
  fbdev: Unexport unlink_framebuffer()

 drivers/gpu/drm/drm_fb_helper.c   |  16 +-
 drivers/gpu/drm/udl/udl_drv.c     |   4 +-
 drivers/gpu/drm/udl/udl_drv.h     |   5 -
 drivers/gpu/drm/udl/udl_fb.c      | 270 +-----------------------------
 drivers/gpu/drm/udl/udl_gem.c     |  18 +-
 drivers/gpu/drm/udl/udl_main.c    |   2 -
 drivers/gpu/drm/udl/udl_modeset.c |   3 +-
 drivers/video/fbdev/core/fbmem.c  |   3 +-
 include/drm/drm_fb_helper.h       |   6 -
 include/linux/fb.h                |   1 -
 10 files changed, 10 insertions(+), 318 deletions(-)

--
2.23.0

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2019-11-13 11:41 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-08 12:33 [PATCH 0/4] drm/udl: Replace fbdev by generic emulation Thomas Zimmermann
2019-11-08 12:33 ` [PATCH 1/4] drm/udl: Replace fbdev code with " Thomas Zimmermann
2019-11-08 15:37   ` Noralf Trønnes
2019-11-12 11:55     ` Thomas Zimmermann
2019-11-12 13:40       ` Daniel Vetter
2019-11-12 14:03         ` Thomas Zimmermann
2019-11-12 14:31           ` Daniel Vetter
2019-11-12 14:51             ` Thomas Zimmermann
2019-11-12 15:13               ` Daniel Vetter
2019-11-13  9:51                 ` Thomas Zimmermann
2019-11-13 11:41                   ` Daniel Vetter
2019-11-08 12:33 ` [PATCH 2/4] drm/udl: Remove udl implementation of GEM's free_object() Thomas Zimmermann
2019-11-08 12:33 ` [PATCH 3/4] drm/fb-helper: Remove drm_fb_helper_unlink_fbi() Thomas Zimmermann
2019-11-08 12:33 ` [PATCH 4/4] fbdev: Unexport unlink_framebuffer() Thomas Zimmermann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).