Skip to content

fbdev: Use helpers for deferred I/O

Thomas Zimmermann dri-devel linux-fbdev linux-hyperv linux-input linux-staging 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8fbdev/smscufx: Use fb_ops helpers for deferred I/Odrivers/video/fbdev/smscufx.c+22 -634 replies
2/8fbdev/udlfb: Use fb_ops helpers for deferred I/Odrivers/video/fbdev/udlfb.c+22 -673 replies
3/8fbdev: Add Kconfig macro FB_IOMEM_HELPERS_DEFERREDdrivers/video/fbdev/core/Kconfig+6 -01 reply
4/8fbdev/hyperv_fb: Use fb_ops helpers for deferred I/Odrivers/video/fbdev/Kconfig drivers/video/fbdev/hyperv_fb.c+15 -381 reply
5/8hid: Remove trailing whitespacedrivers/hid/Kconfig+1 -11 reply
6/8hid/picolcd: Use fb_ops helpers for deferred I/Odrivers/hid/Kconfig drivers/hid/hid-picolcd_fb.c+20 -591 reply
7/8staging/fbtft: Initialize fb_op struct as static constdrivers/staging/fbtft/fbtft-core.c+13 -172 replies
8/8staging/fbtft: Use fb_ops helpers for deferred I/Odrivers/staging/fbtft/Kconfig drivers/staging/fbtft/fbtft-core.c+24 -692 replies

Reviews trailers per patch

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

PatchGreg Kroah-HartmanJavier Martinez Canillas
1/8A-b
2/8A-b
3/8A-b
4/8A-b
5/8A-b
6/8A-b
7/8A-b A-b
8/8A-b A-b

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

Read the v1 thread

Cover letter [PATCH 0/8] fbdev: Use helpers for deferred I/O

Here's another patchset for deferred-I/O helpers. Update a number of fbdev drivers with deferred I/O to use fbdev's helper macros and Kconfig tokens.

Generating and initializing via helpers macros will later allow for a fine-grained setup, depending on Kconfig options. For example, it will be possible to leave out file I/O if FB_DEVICE has not been set.

Each driver in special in its own way. The smscufx and udlfb drivers support file I/O without damage updates. (That probably doesn't work correctly.) So they provide their own mmap code. The hyperv_fb driver sometimes operates on memory in I/O address spaces and fails to do damage handling correctly for write operations. The picolcd and fbtft drivers are outside of fbdev.

Thomas Zimmermann (8):
fbdev/smscufx: Use fb_ops helpers for deferred I/O fbdev/udlfb: Use fb_ops helpers for deferred I/O
fbdev: Add Kconfig macro FB_IOMEM_HELPERS_DEFERRED fbdev/hyperv_fb: Use fb_ops helpers for deferred I/O
hid: Remove trailing whitespace
hid/picolcd: Use fb_ops helpers for deferred I/O staging/fbtft: Initialize fb_op struct as static const staging/fbtft: Use fb_ops helpers for deferred I/O

 drivers/hid/Kconfig                |  8 +--
 drivers/hid/hid-picolcd_fb.c       | 73 ++++++----------------
 drivers/staging/fbtft/Kconfig      |  6 +-
 drivers/staging/fbtft/fbtft-core.c | 99 ++++++++----------------------
 drivers/video/fbdev/Kconfig        |  5 +-
 drivers/video/fbdev/core/Kconfig   |  6 ++
 drivers/video/fbdev/hyperv_fb.c    | 48 +++++----------
 drivers/video/fbdev/smscufx.c      | 85 +++++++------------------
 drivers/video/fbdev/udlfb.c        | 89 +++++++--------------------
 9 files changed, 114 insertions(+), 305 deletions(-)
Signature · 1 line
2.41.0