[PATCH v2 00/12] remove_conflicting_framebuffers() cleanup

Daniel Vetter
2018-08-31T09:04:39Z

On Thu, Aug 30, 2018 at 11:00:01PM +0200, Micha? Miros?aw wrote:
> This series cleans up duplicated code for replacing firmware FB
> driver with proper DRI driver and adds handover support to
> Tegra driver.
>
> This is a sligtly updated version of a series sent on 24 Nov 2017.
>
> v2:
> - rebased on current drm-next
> - dropped staging/sm750fb changes
> - added kernel docs for DRM helpers
>
> Micha? Miros?aw (12):
> fbdev: show fbdev number for debugging
> fbdev: allow apertures == NULL in remove_conflicting_framebuffers()
> fbdev: add remove_conflicting_pci_framebuffers()
> drm/amdgpu: use simpler remove_conflicting_pci_framebuffers()
> drm/bochs: use simpler remove_conflicting_pci_framebuffers()
> drm/cirrus: use simpler remove_conflicting_pci_framebuffers()
> drm/mgag200: use simpler remove_conflicting_pci_framebuffers()
> drm/radeon: use simpler remove_conflicting_pci_framebuffers()
> drm/virtio: use simpler remove_conflicting_pci_framebuffers()
> drm/vc4: use simpler remove_conflicting_framebuffers(NULL)
> drm/sun4i: use simpler remove_conflicting_framebuffers(NULL)
> drm/tegra: kick out simplefb

Looks very neat. A bit confused about the drm changes in the fbdev-titled
patches 1&3, but I guess we can merge as-is. Up to you whether you want to
split or not I'd say.

Bartlomiej, ack for pullin in this entire pile through drm-misc?

Thanks, Daniel

>
> drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 24 +-------------
> drivers/gpu/drm/bochs/bochs_drv.c | 18 +----------
> drivers/gpu/drm/cirrus/cirrus_drv.c | 23 +-------------
> drivers/gpu/drm/mgag200/mgag200_drv.c | 21 +------------
> drivers/gpu/drm/mgag200/mgag200_main.c | 9 ------
> drivers/gpu/drm/radeon/radeon_drv.c | 23 +-------------
> drivers/gpu/drm/sun4i/sun4i_drv.c | 18 +----------
> drivers/gpu/drm/tegra/drm.c | 4 +++
> drivers/gpu/drm/vc4/vc4_drv.c | 20 +-----------
> drivers/gpu/drm/virtio/virtgpu_drm_bus.c | 24 ++------------
> drivers/video/fbdev/core/fbmem.c | 40 ++++++++++++++++++++++--
> include/drm/drm_fb_helper.h | 34 ++++++++++++++++++++
> include/linux/fb.h | 2 ++
> 13 files changed, 88 insertions(+), 172 deletions(-)
>
> --
> 2.18.0
>
> _______________________________________________
> dri-devel mailing list
> dri-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/dri-devel

--
Daniel Vetter
Software Engineer, Intel Corporation