mirror of https://github.com/torvalds/linux.git
Move the calls to drm_fb_helper_alloc_info() from drivers into a single place in fbdev helpers. Allocates struct fb_info for a new framebuffer device. Then call drm_fb_helper_single_fb_probe() to create an fbdev screen buffer. Also release the instance on errors by calling drm_fb_helper_release_info(). Simplifies the code and fixes the error cleanup for some of the drivers. Regular release of the struct fb_info instance still happens in drm_fb_helper_fini() as before. v2: - remove error rollback in driver implementations (kernel test robot) - initialize info in TTM implementation (kernel test robot) Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Acked-by: Christian König <christian.koenig@amd.com> # radeon Acked-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> # msm Acked-by: Javier Martinez Canillas <javierm@redhat.com> Link: https://patch.msgid.link/20251027081245.80262-1-tzimmermann@suse.de |
||
|---|---|---|
| .. | ||
| dss | ||
| Kconfig | ||
| Makefile | ||
| TODO | ||
| omap_crtc.c | ||
| omap_crtc.h | ||
| omap_debugfs.c | ||
| omap_dmm_priv.h | ||
| omap_dmm_tiler.c | ||
| omap_dmm_tiler.h | ||
| omap_drv.c | ||
| omap_drv.h | ||
| omap_encoder.c | ||
| omap_encoder.h | ||
| omap_fb.c | ||
| omap_fb.h | ||
| omap_fbdev.c | ||
| omap_fbdev.h | ||
| omap_gem.c | ||
| omap_gem.h | ||
| omap_gem_dmabuf.c | ||
| omap_irq.c | ||
| omap_irq.h | ||
| omap_overlay.c | ||
| omap_overlay.h | ||
| omap_plane.c | ||
| omap_plane.h | ||
| tcm-sita.c | ||
| tcm.h | ||