dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] drm/fbdev-generic: Mandatory shadow buffering
@ 2023-03-15 16:14 Thomas Zimmermann
  2023-03-15 16:14 ` [PATCH 1/6] drm/fbdev-generic: Always use " Thomas Zimmermann
                   ` (5 more replies)
  0 siblings, 6 replies; 21+ messages in thread
From: Thomas Zimmermann @ 2023-03-15 16:14 UTC (permalink / raw)
  To: javierm, daniel, airlied, mripard, maarten.lankhorst, zackr,
	kraxel, dri-devel, virtualization, linux-graphics-maintainer
  Cc: Thomas Zimmermann

After adding fbdev-dma and converting drivers, all users of
fbdev-generic require shadow buffering. Make it mandatory and
remove all other codepaths. This change greatly simplifies the
code for generic fbdev emulation. It will work with any driver
that supports GEM's vmap and vunmap.

The change further allows for a number of cleanups and fixes. The
flag prefer_shadow_fbdev is unused and to be removed. Probing in
fbdev-generic is now simple enough to roll back if it fails. Further
simplify the code for exporting the framebuffer's physical address.
Finally rename the symbols to follow other fbdev emulation.

Thomas Zimmermann (6):
  drm/fbdev-generic: Always use shadow buffering
  drm/fbdev-generic: Remove unused prefer_shadow_fbdev flag
  drm/fb-helper: Export drm_fb_helper_release_info()
  drm/fbdev-generic: Clean up after failed probing
  drm/fb-helper: Consolidate CONFIG_DRM_FBDEV_LEAK_PHYS_SMEM
  drm/fbdev-generic: Rename symbols

 drivers/gpu/drm/drm_fb_helper.c     |  55 +++---
 drivers/gpu/drm/drm_fbdev_dma.c     |   9 +-
 drivers/gpu/drm/drm_fbdev_generic.c | 280 +++++++++-------------------
 drivers/gpu/drm/tiny/bochs.c        |   1 -
 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c |   1 -
 include/drm/drm_fb_helper.h         |  14 +-
 include/drm/drm_mode_config.h       |   7 -
 7 files changed, 125 insertions(+), 242 deletions(-)


base-commit: ec0708e846b819c8d5b642de42448a87d7526564
-- 
2.39.2


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

end of thread, other threads:[~2023-03-20 12:44 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-15 16:14 [PATCH 0/6] drm/fbdev-generic: Mandatory shadow buffering Thomas Zimmermann
2023-03-15 16:14 ` [PATCH 1/6] drm/fbdev-generic: Always use " Thomas Zimmermann
2023-03-17 11:47   ` Javier Martinez Canillas
2023-03-17 12:19     ` Thomas Zimmermann
2023-03-15 16:14 ` [PATCH 2/6] drm/fbdev-generic: Remove unused prefer_shadow_fbdev flag Thomas Zimmermann
2023-03-16  2:16   ` Zack Rusin
2023-03-16  9:38     ` Thomas Zimmermann
2023-03-17 12:04   ` Javier Martinez Canillas
2023-03-15 16:14 ` [PATCH 3/6] drm/fb-helper: Export drm_fb_helper_release_info() Thomas Zimmermann
2023-03-17 12:07   ` Javier Martinez Canillas
2023-03-15 16:14 ` [PATCH 4/6] drm/fbdev-generic: Clean up after failed probing Thomas Zimmermann
2023-03-17 12:24   ` Javier Martinez Canillas
2023-03-20 12:44     ` Thomas Zimmermann
2023-03-15 16:14 ` [PATCH 5/6] drm/fb-helper: Consolidate CONFIG_DRM_FBDEV_LEAK_PHYS_SMEM Thomas Zimmermann
2023-03-17 12:39   ` Javier Martinez Canillas
2023-03-17 12:51     ` Thomas Zimmermann
2023-03-17 15:11       ` Maxime Ripard
2023-03-17 16:08         ` Thomas Zimmermann
2023-03-17 16:27           ` Maxime Ripard
2023-03-15 16:14 ` [PATCH 6/6] drm/fbdev-generic: Rename symbols Thomas Zimmermann
2023-03-17 12:40   ` Javier Martinez Canillas

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).