linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] fbdev: Significantly improve performance of fbdefio mmap
@ 2022-02-11  9:46 Thomas Zimmermann
  2022-02-11  9:46 ` [PATCH v2 1/2] fbdev/defio: Early-out if page is already enlisted Thomas Zimmermann
  2022-02-11  9:46 ` [PATCH v2 2/2] fbdev: Don't sorting deferred-I/O pages by default Thomas Zimmermann
  0 siblings, 2 replies; 3+ messages in thread
From: Thomas Zimmermann @ 2022-02-11  9:46 UTC (permalink / raw)
  To: daniel, javierm, noralf, andriy.shevchenko, deller, bernie,
	jayalk
  Cc: dri-devel, linux-fbdev, linux-staging, Thomas Zimmermann

Remove the bubble sort from fbdev defered-I/O page tracking. Most
drivers only want to know which pages have been written to. The exact
order is not important.

Tested on simpledrm.

v2:
	* make sorted page lists the special case (Sam)
	* improve several comments (Sam)

Thomas Zimmermann (2):
  fbdev/defio: Early-out if page is already enlisted
  fbdev: Don't sorting deferred-I/O pages by default

 drivers/staging/fbtft/fbtft-core.c  |  1 +
 drivers/video/fbdev/broadsheetfb.c  |  1 +
 drivers/video/fbdev/core/fb_defio.c | 48 ++++++++++++++++++++---------
 drivers/video/fbdev/metronomefb.c   |  1 +
 drivers/video/fbdev/udlfb.c         |  1 +
 include/linux/fb.h                  |  1 +
 6 files changed, 38 insertions(+), 15 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2022-02-11  9:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-11  9:46 [PATCH v2 0/2] fbdev: Significantly improve performance of fbdefio mmap Thomas Zimmermann
2022-02-11  9:46 ` [PATCH v2 1/2] fbdev/defio: Early-out if page is already enlisted Thomas Zimmermann
2022-02-11  9:46 ` [PATCH v2 2/2] fbdev: Don't sorting deferred-I/O pages by default 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).