mbox series

[v2,0/3] fbdev: Decouple deferred I/O from struct page

Message ID 20220425112751.25985-1-tzimmermann@suse.de (mailing list archive)
Headers show
Series fbdev: Decouple deferred I/O from struct page | expand

Message

Thomas Zimmermann April 25, 2022, 11:27 a.m. UTC
Rework the fbdev deferred-I/O to not interfere with fields of struct
page. All references from deferred-I/O code to fields in struct page
are gone. The rsp state is help in a separate pageref structure.

Version 1 of this patchset was part of a larger attempt to improve
GEM SHMEM support. [1] The patches can already be merged to resolve
a long-standing issue in the fbdev code.

[1] https://lore.kernel.org/dri-devel/20220303205839.28484-1-tzimmermann@suse.de/

Thomas Zimmermann (3):
  fbdev: Put mmap for deferred I/O into drivers
  fbdev: Track deferred-I/O pages in pageref struct
  fbdev: Refactor implementation of page_mkwrite

 drivers/gpu/drm/drm_fb_helper.c        |  10 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c     |   6 +-
 drivers/hid/hid-picolcd_fb.c           |   1 +
 drivers/staging/fbtft/fbtft-core.c     |   6 +-
 drivers/video/fbdev/broadsheetfb.c     |   6 +-
 drivers/video/fbdev/core/fb_defio.c    | 213 +++++++++++++++++--------
 drivers/video/fbdev/core/fbmem.c       |  19 ++-
 drivers/video/fbdev/hecubafb.c         |   1 +
 drivers/video/fbdev/hyperv_fb.c        |   6 +-
 drivers/video/fbdev/metronomefb.c      |   6 +-
 drivers/video/fbdev/sh_mobile_lcdcfb.c |  12 +-
 drivers/video/fbdev/smscufx.c          |   8 +-
 drivers/video/fbdev/ssd1307fb.c        |   1 +
 drivers/video/fbdev/udlfb.c            |   8 +-
 drivers/video/fbdev/xen-fbfront.c      |   6 +-
 include/linux/fb.h                     |  11 +-
 16 files changed, 221 insertions(+), 99 deletions(-)


base-commit: 0e7deff6446a4ba2c75f499a0bfa80cd6a15c129