[Intel-gfx] [PATCH v2 00/10] drm/fb-helper: Various cleanups
Thomas Zimmermann
tzimmermann at suse.de
Tue Jan 24 13:40:00 UTC 2023
Add various cleanups and changes to DRM's fbdev helpers and the
generic fbdev emulation. There's no clear theme here, just lots
of small things that need to be updated.
In the end, the code will better reflect which parts are in the
DRM client, which is fbdev emulation, and which are shared fbdev
helpers.
v2:
* cleanups in drm_fbdev_fb_destroy() (Sam)
* fix declaration of drm_fb_helper_unprepare()
Thomas Zimmermann (10):
drm/client: Test for connectors before sending hotplug event
drm/client: Add hotplug_failed flag
drm/fb-helper: Introduce drm_fb_helper_unprepare()
drm/fbdev-generic: Initialize fb-helper structure in generic setup
drm/fb-helper: Remove preferred_bpp parameter from fbdev internals
drm/fb-helper: Initialize fb-helper's preferred BPP in prepare
function
drm/fbdev-generic: Minimize hotplug error handling
drm/fbdev-generic: Minimize client unregistering
drm/fbdev-generic: Inline clean-up helpers into drm_fbdev_fb_destroy()
drm/fbdev-generic: Rename struct fb_info 'fbi' to 'info'
drivers/gpu/drm/armada/armada_fbdev.c | 4 +-
drivers/gpu/drm/drm_client.c | 10 ++
drivers/gpu/drm/drm_fb_helper.c | 58 ++++++---
drivers/gpu/drm/drm_fbdev_generic.c | 131 ++++++++-------------
drivers/gpu/drm/exynos/exynos_drm_fbdev.c | 4 +-
drivers/gpu/drm/gma500/framebuffer.c | 4 +-
drivers/gpu/drm/i915/display/intel_fbdev.c | 11 +-
drivers/gpu/drm/msm/msm_fbdev.c | 4 +-
drivers/gpu/drm/omapdrm/omap_fbdev.c | 4 +-
drivers/gpu/drm/radeon/radeon_fb.c | 4 +-
drivers/gpu/drm/tegra/fb.c | 7 +-
include/drm/drm_client.h | 8 ++
include/drm/drm_fb_helper.h | 8 +-
13 files changed, 134 insertions(+), 123 deletions(-)
base-commit: 7d3e7f64a42d66ba8da6e7b66a8d85457ef84570
--
2.39.0
More information about the Intel-gfx
mailing list