android_kernel_xiaomi_sm8350/include/video
Magnus Damm 8564557a03 video: sh_mobile_lcdcfb deferred io support
This patch adds sh_mobile_lcdcfb deferred io support for SYS panels.

The LCDC hardware block managed by the sh_mobile_lcdcfb driver supports
RGB or SYS panel configurations. SYS panels come with an external display
controller that is resposible for refreshing the actual LCD panel. RGB
panels are controlled directly by the LCDC and they need to be refreshed
by the LCDC hardware.

In the case of SYS panels we can save some power by configuring the LCDC
hardware block in one-shot mode. In this one-shot mode panel refresh is
managed by software. This works well together with deferred io since it
allows us to stop clocks for most of the time and only enable clocks when
we actually want to trigger an update. When there is no fbdev activity
the clocks are kept stopped which allows us to deep sleep.

The refresh rate in deferred io mode is set using platform data. The same
platform data can also be used to disable deferred io mode.

As with other deferred io frame buffers user space code should use fsync()
on the frame buffer device to trigger an update.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
2008-12-22 18:44:48 +09:00
..
atmel_lcdc.h atmel_lcdfb: change irq_base definition to allow error reporting 2008-11-12 17:17:16 -08:00
aty128.h
cirrus.h
cvisionppc.h
cyblafb.h
edid.h
epson1355.h
gbe.h
hecubafb.h
iga.h
ili9320.h
Kbuild
kyro.h
mach64.h
maxinefb.h
mbxfb.h
metronomefb.h
neomagic.h
newport.h
permedia2.h
platform_lcd.h
pm3fb.h
pmag-ba-fb.h
pmagb-b-fb.h
radeon.h Revert "radeonfb: accelerate imageblit and other improvements" 2008-12-10 16:53:32 -08:00
s1d13xxxfb.h fbdev: allow more chip revisions in Epson s1d13... video driver 2008-10-16 11:21:45 -07:00
sgivw.h
sh_mobile_lcdc.h video: sh_mobile_lcdcfb deferred io support 2008-12-22 18:44:48 +09:00
sisfb.h
sstfb.h
tdfx.h
tgafb.h
trident.h
uvesafb.h
vga.h
w100fb.h