linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 00/47] fbdev: Use I/O helpers
@ 2023-08-01 10:13 Thomas Zimmermann
  2023-08-01 10:13 ` [PATCH v2 01/47] media/vivid: Use fbdev " Thomas Zimmermann
                   ` (46 more replies)
  0 siblings, 47 replies; 51+ messages in thread
From: Thomas Zimmermann @ 2023-08-01 10:13 UTC (permalink / raw)
  To: deller, javierm, sam
  Cc: linux-media, linux-fbdev, dri-devel, linux-arm-kernel,
	linux-geode, linux-omap, kvm, Thomas Zimmermann

Most fbdev drivers operate on I/O memory. And most of those use the
default implementations for file I/O and console drawing. Convert all
these low-hanging fruits to the fb_ops initializer macro and Kconfig
token for fbdev I/O helpers.

The fbdev I/O helpers are easily grep-able. In a later patch, they can
be left to empty values if the rsp. functionality, such as file I/O or
console, has been disabled.

There are no functional changes. The helpers set the defaults that
the drivers already use.

v2:
	* updated to use _IOMEM_ tokens

Thomas Zimmermann (47):
  media/vivid: Use fbdev I/O helpers
  fbdev/acornfb: Use fbdev I/O helpers
  fbdev/asiliantfb: Use fbdev I/O helpers
  fbdev/atmel_lcdfb: Use fbdev I/O helpers
  fbdev/aty128fb: Use fbdev I/O helpers
  fbdev/carminefb: Use fbdev I/O helpers
  fbdev/chipsfb: Use fbdev I/O helpers
  fbdev/da8xx-fb: Use fbdev I/O helpers
  fbdev/efifb: Use fbdev I/O helpers
  fbdev/fm2fb: Use fbdev I/O helpers
  fbdev/fsl-diu-fb: Use fbdev I/O helpers
  fbdev/g364fb: Use fbdev I/O helpers
  fbdev/geode/gx1fb: Use fbdev I/O helpers
  fbdev/geode/gxfb: Use fbdev I/O helpers
  fbdev/geode/lxfb: Use fbdev I/O helpers
  fbdev/goldfishfb: Use fbdev I/O helpers
  fbdev/grvga: Use fbdev I/O helpers
  fbdev/gxt4500: Use fbdev I/O helpers
  fbdev/i740fb: Use fbdev I/O helpers
  fbdev/imxfb: Use fbdev I/O helpers
  fbdev/kyro: Use fbdev I/O helpers
  fbdev/macfb: Use fbdev I/O helpers
  fbdev/maxinefb: Use fbdev I/O helpers
  fbdev/mb862xxfb: Use fbdev I/O helpers
  fbdev/mmpfb: Use fbdev I/O helpers
  fbdev/mx3fb: Use fbdev I/O helpers
  fbdev/ocfb: Use fbdev I/O helpers
  fbdev/offb: Use fbdev I/O helpers
  fbdev/omapfb: Use fbdev I/O helpers
  fbdev/platinumfb: Use fbdev I/O helpers
  fbdev/pmag-aa-fb: Use fbdev I/O helpers
  fbdev/pmag-ba-fb: Use fbdev I/O helpers
  fbdev/pmagb-b-fb: Use fbdev I/O helpers
  fbdev/pxa168fb: Use fbdev I/O helpers
  fbdev/pxafb: Use fbdev I/O helpers
  fbdev/q40fb: Use fbdev I/O helpers
  fbdev/s3cfb: Use fbdev I/O helpers
  fbdev/sh7760fb: Use fbdev I/O helpers
  fbdev/simplefb: Use fbdev I/O helpers
  fbdev/sstfb: Use fbdev I/O helpers
  fbdev/sunxvr1000: Use fbdev I/O helpers
  fbdev/sunxvr2500: Use fbdev I/O helpers
  fbdev/uvesafb: Use fbdev I/O helpers
  fbdev/valkyriefb: Use fbdev I/O helpers
  fbdev/vesafb: Use fbdev I/O helpers
  fbdev/xilinxfb: Use fbdev I/O helpers
  vfio-dev/mdpy-fb: Use fbdev I/O helpers

 drivers/media/test-drivers/vivid/Kconfig     |   4 +-
 drivers/media/test-drivers/vivid/vivid-osd.c |   4 +-
 drivers/video/fbdev/Kconfig                  | 160 +++++--------------
 drivers/video/fbdev/acornfb.c                |   4 +-
 drivers/video/fbdev/asiliantfb.c             |   4 +-
 drivers/video/fbdev/atmel_lcdfb.c            |   4 +-
 drivers/video/fbdev/aty/aty128fb.c           |   4 +-
 drivers/video/fbdev/carminefb.c              |   5 +-
 drivers/video/fbdev/chipsfb.c                |   4 +-
 drivers/video/fbdev/da8xx-fb.c               |   4 +-
 drivers/video/fbdev/efifb.c                  |   4 +-
 drivers/video/fbdev/fm2fb.c                  |   4 +-
 drivers/video/fbdev/fsl-diu-fb.c             |   4 +-
 drivers/video/fbdev/g364fb.c                 |   4 +-
 drivers/video/fbdev/geode/Kconfig            |  12 +-
 drivers/video/fbdev/geode/gx1fb_core.c       |   5 +-
 drivers/video/fbdev/geode/gxfb_core.c        |   5 +-
 drivers/video/fbdev/geode/lxfb_core.c        |   5 +-
 drivers/video/fbdev/goldfishfb.c             |   4 +-
 drivers/video/fbdev/grvga.c                  |   4 +-
 drivers/video/fbdev/gxt4500.c                |   4 +-
 drivers/video/fbdev/i740fb.c                 |   4 +-
 drivers/video/fbdev/imxfb.c                  |   4 +-
 drivers/video/fbdev/kyro/fbdev.c             |   4 +-
 drivers/video/fbdev/macfb.c                  |   4 +-
 drivers/video/fbdev/maxinefb.c               |   4 +-
 drivers/video/fbdev/mb862xx/mb862xxfbdrv.c   |   4 +-
 drivers/video/fbdev/mmp/fb/Kconfig           |   4 +-
 drivers/video/fbdev/mmp/fb/mmpfb.c           |   4 +-
 drivers/video/fbdev/mx3fb.c                  |   4 +-
 drivers/video/fbdev/ocfb.c                   |   4 +-
 drivers/video/fbdev/offb.c                   |   4 +-
 drivers/video/fbdev/omap/Kconfig             |   4 +-
 drivers/video/fbdev/omap/omapfb_main.c       |   4 +-
 drivers/video/fbdev/platinumfb.c             |   4 +-
 drivers/video/fbdev/pmag-aa-fb.c             |   4 +-
 drivers/video/fbdev/pmag-ba-fb.c             |   4 +-
 drivers/video/fbdev/pmagb-b-fb.c             |   4 +-
 drivers/video/fbdev/pxa168fb.c               |   4 +-
 drivers/video/fbdev/pxafb.c                  |   4 +-
 drivers/video/fbdev/q40fb.c                  |   4 +-
 drivers/video/fbdev/s3c-fb.c                 |   4 +-
 drivers/video/fbdev/sh7760fb.c               |   4 +-
 drivers/video/fbdev/simplefb.c               |   4 +-
 drivers/video/fbdev/sstfb.c                  |   4 +-
 drivers/video/fbdev/sunxvr1000.c             |   4 +-
 drivers/video/fbdev/sunxvr2500.c             |   4 +-
 drivers/video/fbdev/uvesafb.c                |   4 +-
 drivers/video/fbdev/valkyriefb.c             |   4 +-
 drivers/video/fbdev/vesafb.c                 |   4 +-
 drivers/video/fbdev/xilinxfb.c               |   4 +-
 samples/Kconfig                              |   4 +-
 samples/vfio-mdev/mdpy-fb.c                  |   4 +-
 53 files changed, 94 insertions(+), 286 deletions(-)


base-commit: 194cd63362db9ed2cbdd3deaa7a8752b86d95f3b
prerequisite-patch-id: 0aa359f6144c4015c140c8a6750be19099c676fb
prerequisite-patch-id: c67e5d886a47b7d0266d81100837557fda34cb24
prerequisite-patch-id: cbc453ee02fae02af22fbfdce56ab732c7a88c36
prerequisite-patch-id: 9e45f32f01ebd4d3a927038e52b91a389673b9bb
prerequisite-patch-id: b0b735b6e10a12816cea5ea15e3292c6342ed2f2
prerequisite-patch-id: 3997b2a71240d34ccf6990cf133cad39d4efc8f4
prerequisite-patch-id: d64b3896ffd91137df0c4311a8b7aa0d5fa40a11
-- 
2.41.0


^ permalink raw reply	[flat|nested] 51+ messages in thread

end of thread, other threads:[~2023-08-02  7:35 UTC | newest]

Thread overview: 51+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-01 10:13 [PATCH v2 00/47] fbdev: Use I/O helpers Thomas Zimmermann
2023-08-01 10:13 ` [PATCH v2 01/47] media/vivid: Use fbdev " Thomas Zimmermann
2023-08-01 11:22   ` Hans Verkuil
2023-08-01 16:54     ` Thomas Zimmermann
2023-08-02  7:34       ` Hans Verkuil
2023-08-01 10:13 ` [PATCH v2 02/47] fbdev/acornfb: " Thomas Zimmermann
2023-08-01 10:13 ` [PATCH v2 03/47] fbdev/asiliantfb: " Thomas Zimmermann
2023-08-01 10:13 ` [PATCH v2 04/47] fbdev/atmel_lcdfb: " Thomas Zimmermann
2023-08-01 10:13 ` [PATCH v2 05/47] fbdev/aty128fb: " Thomas Zimmermann
2023-08-01 10:13 ` [PATCH v2 06/47] fbdev/carminefb: " Thomas Zimmermann
2023-08-01 10:13 ` [PATCH v2 07/47] fbdev/chipsfb: " Thomas Zimmermann
2023-08-01 10:13 ` [PATCH v2 08/47] fbdev/da8xx-fb: " Thomas Zimmermann
2023-08-01 10:13 ` [PATCH v2 09/47] fbdev/efifb: " Thomas Zimmermann
2023-08-01 10:13 ` [PATCH v2 10/47] fbdev/fm2fb: " Thomas Zimmermann
2023-08-01 10:13 ` [PATCH v2 11/47] fbdev/fsl-diu-fb: " Thomas Zimmermann
2023-08-01 10:13 ` [PATCH v2 12/47] fbdev/g364fb: " Thomas Zimmermann
2023-08-01 10:13 ` [PATCH v2 13/47] fbdev/geode/gx1fb: " Thomas Zimmermann
2023-08-01 10:13 ` [PATCH v2 14/47] fbdev/geode/gxfb: " Thomas Zimmermann
2023-08-01 10:13 ` [PATCH v2 15/47] fbdev/geode/lxfb: " Thomas Zimmermann
2023-08-01 10:13 ` [PATCH v2 16/47] fbdev/goldfishfb: " Thomas Zimmermann
2023-08-01 10:13 ` [PATCH v2 17/47] fbdev/grvga: " Thomas Zimmermann
2023-08-01 10:13 ` [PATCH v2 18/47] fbdev/gxt4500: " Thomas Zimmermann
2023-08-01 10:13 ` [PATCH v2 19/47] fbdev/i740fb: " Thomas Zimmermann
2023-08-01 10:13 ` [PATCH v2 20/47] fbdev/imxfb: " Thomas Zimmermann
2023-08-01 10:13 ` [PATCH v2 21/47] fbdev/kyro: " Thomas Zimmermann
2023-08-01 10:13 ` [PATCH v2 22/47] fbdev/macfb: " Thomas Zimmermann
2023-08-01 10:13 ` [PATCH v2 23/47] fbdev/maxinefb: " Thomas Zimmermann
2023-08-01 10:13 ` [PATCH v2 24/47] fbdev/mb862xxfb: " Thomas Zimmermann
2023-08-01 10:13 ` [PATCH v2 25/47] fbdev/mmpfb: " Thomas Zimmermann
2023-08-01 10:13 ` [PATCH v2 26/47] fbdev/mx3fb: " Thomas Zimmermann
2023-08-01 10:13 ` [PATCH v2 27/47] fbdev/ocfb: " Thomas Zimmermann
2023-08-01 10:13 ` [PATCH v2 28/47] fbdev/offb: " Thomas Zimmermann
2023-08-01 10:13 ` [PATCH v2 29/47] fbdev/omapfb: " Thomas Zimmermann
2023-08-01 10:13 ` [PATCH v2 30/47] fbdev/platinumfb: " Thomas Zimmermann
2023-08-01 10:13 ` [PATCH v2 31/47] fbdev/pmag-aa-fb: " Thomas Zimmermann
2023-08-01 10:13 ` [PATCH v2 32/47] fbdev/pmag-ba-fb: " Thomas Zimmermann
2023-08-01 10:13 ` [PATCH v2 33/47] fbdev/pmagb-b-fb: " Thomas Zimmermann
2023-08-01 10:13 ` [PATCH v2 34/47] fbdev/pxa168fb: " Thomas Zimmermann
2023-08-01 10:13 ` [PATCH v2 35/47] fbdev/pxafb: " Thomas Zimmermann
2023-08-01 10:13 ` [PATCH v2 36/47] fbdev/q40fb: " Thomas Zimmermann
2023-08-01 10:13 ` [PATCH v2 37/47] fbdev/s3cfb: " Thomas Zimmermann
2023-08-01 10:13 ` [PATCH v2 38/47] fbdev/sh7760fb: " Thomas Zimmermann
2023-08-01 10:13 ` [PATCH v2 39/47] fbdev/simplefb: " Thomas Zimmermann
2023-08-01 10:13 ` [PATCH v2 40/47] fbdev/sstfb: " Thomas Zimmermann
2023-08-01 10:13 ` [PATCH v2 41/47] fbdev/sunxvr1000: " Thomas Zimmermann
2023-08-01 10:13 ` [PATCH v2 42/47] fbdev/sunxvr2500: " Thomas Zimmermann
2023-08-01 10:13 ` [PATCH v2 43/47] fbdev/uvesafb: " Thomas Zimmermann
2023-08-01 10:13 ` [PATCH v2 44/47] fbdev/valkyriefb: " Thomas Zimmermann
2023-08-01 10:13 ` [PATCH v2 45/47] fbdev/vesafb: " Thomas Zimmermann
2023-08-01 10:13 ` [PATCH v2 46/47] fbdev/xilinxfb: " Thomas Zimmermann
2023-08-01 10:13 ` [PATCH v2 47/47] vfio-dev/mdpy-fb: " Thomas Zimmermann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).