[PATCH] intelfb: fix accel detection when changing video modes
authorSylvain Meyer <sylvain.meyer@worldonline.fr>
Wed, 22 Jun 2005 00:17:02 +0000 (17:17 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 22 Jun 2005 02:07:40 +0000 (19:07 -0700)
commitdf529338d9c5d9329e503955795c89472e1ba6e6
treea8da12e91ae71df78c354b81597783ee85212b32
parent27aef2d49f9d82c58e65d72abcd636168ec19ac9
[PATCH] intelfb: fix accel detection when changing video modes

Changed the tests in intelfb_set_par to check also the parameter
var.accel_flags.  If null, do nothing about ring buffers.

Now, the DirectFB i830 driver could nicely work even if intelfb is hw
accelerated.  Just change the /etc/fb.modes file to disable console hw
acceleration when starting a DirectFB app.

Signed-off-by: Sylvain Meyer <sylvain.meyer@worldonline.fr>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/intelfb/intelfbdrv.c