linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/3] drm/udl: Replace fbdev by generic emulation
@ 2019-11-14 12:51 Thomas Zimmermann
  2019-11-14 12:51 ` [PATCH v5 1/3] drm/udl: Replace fbdev code with " Thomas Zimmermann
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Thomas Zimmermann @ 2019-11-14 12:51 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. As udl was the only remaining
external user of unlink_framebuffer(), that function now becomes an
internal interface of the fbdev code (Patches 2 + 3).

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

v5:
	* initialize console after registering device
v4:
	* go back to 24 bpp by default, 16 bpp for console
	* keep udl_gem_object_free_object(); required by damage handler
v3:
	* use 32 bpp by default
	* use defaults for several callback functions
	* remove all fb module parameters
	* remove udl_fbdev_init()
v2:
	* converted udl to SHMEM and recreated fbdev patchset on top

Thomas Zimmermann (3):
  drm/udl: Replace fbdev code with generic emulation
  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     |   8 +-
 drivers/gpu/drm/udl/udl_drv.h     |   6 -
 drivers/gpu/drm/udl/udl_fb.c      | 282 ------------------------------
 drivers/gpu/drm/udl/udl_main.c    |   6 -
 drivers/gpu/drm/udl/udl_modeset.c |   1 -
 drivers/video/fbdev/core/fbmem.c  |   3 +-
 include/drm/drm_fb_helper.h       |   6 -
 include/linux/fb.h                |   1 -
 9 files changed, 9 insertions(+), 320 deletions(-)

--
2.23.0

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

end of thread, other threads:[~2019-11-14 12:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-14 12:51 [PATCH v5 0/3] drm/udl: Replace fbdev by generic emulation Thomas Zimmermann
2019-11-14 12:51 ` [PATCH v5 1/3] drm/udl: Replace fbdev code with " Thomas Zimmermann
2019-11-14 12:51 ` [PATCH v5 2/3] drm/fb-helper: Remove drm_fb_helper_unlink_fbi() Thomas Zimmermann
2019-11-14 12:51 ` [PATCH v5 3/3] 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).