All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/05] video: deferred io sys helpers
@ 2008-12-22  5:52 ` Magnus Damm
  0 siblings, 0 replies; 36+ messages in thread
From: Magnus Damm @ 2008-12-22  5:52 UTC (permalink / raw)
  To: linux-fbdev-devel
  Cc: aliguori, adaplas, linux-sh, armbru, lethal, Magnus Damm,
	jayakumar.lkml

video: deferred io sys helpers

[PATCH 01/05] video: deferred io sys helpers - core
[PATCH 02/05] video: deferred io sys helpers - sh_mobile_lcdcfb
[PATCH 03/05] video: deferred io sys helpers - hecuba / n411
[PATCH 04/05] video: deferred io sys helpers - metronome
[PATCH 05/05] video: deferred io sys helpers - xen

This patchset extends the deferred io core code with commonly used functions.

The following functions are added to and exported from fb_defio.c:
 - fb_deferred_io_read()
 - fb_deferred_io_write()
 - fb_deferred_io_fillrect()
 - fb_deferred_io_copyarea()
 - fb_deferred_io_imageblit()

To be backwards compatible with the existing behavior the delay variable
"sysdelay" is introduced. It is a separate timeout value for the functions
above. In the sh_mobile_lcdcfb driver we set it to the same as "delay",
but the other drivers keep it as zero which means flush directly.

The deferred io core code now keeps track of a dirty area between the
calls to the functions above. Only xen is currently making use of this.

In the future we may want to extend the dirty area tracking code to
instead modify the dirty bits for the pages backing the frame buffer.

Status:
- sh_mobile_lcdcfb: compiles and works well
- hecuba / n411: compiles on superh, but untested
- metronome: compiles on superh, but untested
- xen: unknown

Signed-off-by: Magnus Damm <damm@igel.co.jp>
---

 drivers/video/Kconfig            |   33 +++---------
 drivers/video/fb_defio.c         |   71 ++++++++++++++++++++++++++
 drivers/video/hecubafb.c         |   86 +-------------------------------
 drivers/video/metronomefb.c      |  102 ++++++--------------------------------
 drivers/video/sh_mobile_lcdcfb.c |   40 ++------------
 drivers/video/xen-fbfront.c      |   52 ++++---------------
 include/linux/fb.h               |   14 +++++
 7 files changed, 135 insertions(+), 263 deletions(-)

^ permalink raw reply	[flat|nested] 36+ messages in thread
* [PATCH 00/05] video: deferred io sys helpers V2
  2008-12-22  5:52 ` Magnus Damm
@ 2008-12-24  8:29 ` Magnus Damm
  -1 siblings, 0 replies; 36+ messages in thread
From: Magnus Damm @ 2008-12-24  8:29 UTC (permalink / raw)
  To: linux-fbdev-devel
  Cc: aliguori, adaplas, linux-sh, armbru, lethal, Magnus Damm,
	jayakumar.lkml

video: deferred io sys helpers V2

[PATCH 01/05] video: deferred io sys helpers - core V2
[PATCH 02/05] video: deferred io sys helpers - sh_mobile_lcdcfb V2
[PATCH 03/05] video: deferred io sys helpers - hecuba / n411 V2
[PATCH 04/05] video: deferred io sys helpers - metronome V2
[PATCH 05/05] video: deferred io sys helpers - xen V2

This patchset extends the deferred io core code with commonly used functions.

The following functions are added to and exported from fb_defio.c:
 - fb_deferred_io_read()
 - fb_deferred_io_write()
 - fb_deferred_io_fillrect()
 - fb_deferred_io_copyarea()
 - fb_deferred_io_imageblit()

The functions above makes use the deferred io delay which so far only
has been used for mmap. This means for instance that the drivers using
these functions no longer will refresh the screen according to the soft
cursor refresh rate, instead the screen refresh rate derived from the
deferred io delay value will be used.

The deferred io core code now keeps track of a dirty area between the
calls to the functions above. Only xen is currently making use of this.

In the future we may want to extend the dirty area tracking code to
instead modify the dirty bits for the pages backing the frame buffer.

Status:
- sh_mobile_lcdcfb: compiles and works well
- hecuba / n411: compiles on superh, but untested
- metronome: compiles on superh, but untested
- xen: unknown

Signed-off-by: Magnus Damm <damm@igel.co.jp>
---

 drivers/video/Kconfig            |   35 +++---------
 drivers/video/fb_defio.c         |   77 ++++++++++++++++++++++++++
 drivers/video/hecubafb.c         |   86 +----------------------------
 drivers/video/metronomefb.c      |  109 ++++++++------------------------------
 drivers/video/sh_mobile_lcdcfb.c |   39 +------------
 drivers/video/xen-fbfront.c      |   51 +++--------------
 include/linux/fb.h               |   12 ++++
 7 files changed, 145 insertions(+), 264 deletions(-)

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

end of thread, other threads:[~2008-12-25 19:03 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-22  5:52 [PATCH 00/05] video: deferred io sys helpers Magnus Damm
2008-12-22  5:52 ` Magnus Damm
2008-12-22  5:52 ` [PATCH 01/05] video: deferred io sys helpers - core Magnus Damm
2008-12-22  5:52   ` Magnus Damm
2008-12-22  5:52 ` [PATCH 02/05] video: deferred io sys helpers - sh_mobile_lcdcfb Magnus Damm
2008-12-22  5:52   ` Magnus Damm
2008-12-22  5:53 ` [PATCH 03/05] video: deferred io sys helpers - hecuba / n411 Magnus Damm
2008-12-22  5:53   ` Magnus Damm
2008-12-22  5:58   ` Paul Mundt
2008-12-22  5:58     ` Paul Mundt
2008-12-22  6:12     ` Magnus Damm
2008-12-22  6:12       ` Magnus Damm
2008-12-22  5:53 ` [PATCH 04/05] video: deferred io sys helpers - metronome Magnus Damm
2008-12-22  5:53   ` Magnus Damm
2008-12-24  4:58   ` Jaya Kumar
2008-12-24  4:58     ` Jaya Kumar
2008-12-24  5:46     ` Magnus Damm
2008-12-24  5:46       ` Magnus Damm
2008-12-24  6:44       ` Jaya Kumar
2008-12-24  6:44         ` Jaya Kumar
2008-12-22  5:53 ` [PATCH 05/05] video: deferred io sys helpers - xen Magnus Damm
2008-12-22  5:53   ` Magnus Damm
  -- strict thread matches above, loose matches on Subject: below --
2008-12-24  8:29 [PATCH 00/05] video: deferred io sys helpers V2 Magnus Damm
2008-12-24  8:29 ` Magnus Damm
2008-12-24  8:29 ` [PATCH 01/05] video: deferred io sys helpers - core V2 Magnus Damm
2008-12-24  8:29   ` Magnus Damm
2008-12-25 19:03   ` Jaya Kumar
2008-12-25 19:03     ` Jaya Kumar
2008-12-24  8:30 ` [PATCH 02/05] video: deferred io sys helpers - sh_mobile_lcdcfb V2 Magnus Damm
2008-12-24  8:30   ` Magnus Damm
2008-12-24  8:30 ` [PATCH 03/05] video: deferred io sys helpers - hecuba / n411 V2 Magnus Damm
2008-12-24  8:30   ` Magnus Damm
2008-12-24  8:30 ` [PATCH 04/05] video: deferred io sys helpers - metronome V2 Magnus Damm
2008-12-24  8:30   ` Magnus Damm
2008-12-24  8:30 ` [PATCH 05/05] video: deferred io sys helpers - xen V2 Magnus Damm
2008-12-24  8:30   ` Magnus Damm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.