Skip to content

of: Register platform device for each framebuffer

Thomas Zimmermann dri-devel linux-devicetree linux-fbdev linuxppc-dev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 3 repliesIn review
  2. v12 patches 12 repliesSuperseded

Changes in v2 from the cover letter

* integrate PPC code into generic platform setup (Rob)
* keep !device workaround with a warning (Javier, Daniel)

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2of: Create platform devices for OF framebuffersdrivers/of/platform.c drivers/video/fbdev/offb.c+132 -542 replies
2/2fbdev: Warn in hot-unplug workaround for framebuffers without devicedrivers/video/fbdev/core/fbmem.c+4 -61 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchJavier Martinez CanillasRob Herring
1/2R-b R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] of: Register platform device for each framebuffer

Move the detection of OF framebuffers from fbdev into of platform code and register a Linux platform device for each framebuffer. Allows for DRM-based OF drivers and real hot-unplugging of the framebuffer.

This patchset has been tested with qemu's ppc64le emulation, which provides a framebuffer via OF display node. If someone has an older 32-bit system with BootX available, please test.

v2:
* integrate PPC code into generic platform setup (Rob)
* keep !device workaround with a warning (Javier, Daniel)

Thomas Zimmermann (2):
of: Create platform devices for OF framebuffers
fbdev: Warn in hot-unplug workaround for framebuffers without device

 drivers/of/platform.c            | 88 +++++++++++++++++++++-------
 drivers/video/fbdev/core/fbmem.c | 10 ++--
 drivers/video/fbdev/offb.c       | 98 +++++++++++++++++++++-----------
 3 files changed, 136 insertions(+), 60 deletions(-)

base-commit: d97978df553d768e457cb68c637b2b0a6188b87c
prerequisite-patch-id: c2b2f08f0eccc9f5df0c0da49fa1d36267deb11d
prerequisite-patch-id: c67e5d886a47b7d0266d81100837557fda34cb24
prerequisite-patch-id: 6e1032c6302461624f33194c8b8f37103a3fa6ef
prerequisite-patch-id: 3f204510fcbf9530d6540bd8e6128cce598988b6
prerequisite-patch-id: ab7611d28d07723ab1dd392dcf9a6345de3b1040

Signature · 1 line
2.35.1