diff options
author | Daniel Mack <daniel@caiaq.de> | 2009-09-10 15:26:30 +0200 |
---|---|---|
committer | Eric Miao <eric.y.miao@gmail.com> | 2009-09-11 18:16:27 +0200 |
commit | 52a7a1cec88acdaf3f8b36a6b1fe904f6eca7ee5 (patch) | |
tree | 3807063cbd83b28345b44d4f94ff02f0f1b65262 /drivers/video/pxafb.c | |
parent | USB: ohci-pxa27x: Reconfigure power settings on resume (diff) | |
download | linux-52a7a1cec88acdaf3f8b36a6b1fe904f6eca7ee5.tar.xz linux-52a7a1cec88acdaf3f8b36a6b1fe904f6eca7ee5.zip |
[ARM] pxafb: add accelerator ID for PXA3xx GCU
Add ID 99 for PXA3xx frame buffers and report it in the pxa frame buffer
conditionally, depending on a new flag in struct pxafb_mach_info.
Signed-off-by: Daniel Mack <daniel@caiaq.de>
Cc: linux-fbdev-devel@lists.sourceforge.net
Cc: Dennis Oliver Kropp <dok@directfb.org>
Cc: Sven Neumann <s.neumann@raumfeld.com>
Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
Diffstat (limited to 'drivers/video/pxafb.c')
-rw-r--r-- | drivers/video/pxafb.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/pxafb.c b/drivers/video/pxafb.c index 3a002a634ecf..1820c4a24434 100644 --- a/drivers/video/pxafb.c +++ b/drivers/video/pxafb.c @@ -2083,6 +2083,9 @@ static int __devinit pxafb_probe(struct platform_device *dev) goto failed; } + if (cpu_is_pxa3xx() && inf->acceleration_enabled) + fbi->fb.fix.accel = FB_ACCEL_PXA3XX; + fbi->backlight_power = inf->pxafb_backlight_power; fbi->lcd_power = inf->pxafb_lcd_power; |