]> git.karo-electronics.de Git - mv-sheeva.git/commit
gma500: frame buffer locking
authorAlan Cox <alan@linux.intel.com>
Tue, 29 Nov 2011 22:27:10 +0000 (22:27 +0000)
committerDave Airlie <airlied@redhat.com>
Tue, 6 Dec 2011 09:55:38 +0000 (09:55 +0000)
commit9242fe23d2ebab9c61dbc50d65f30cfa20a856ae
treee41e980dc788a75488e1fbfdadef47e250b0d902
parent1f0d0b5183c8dd4d58678e8ba35553cabaf87390
gma500: frame buffer locking

If we are the console then a printk can hit us with a spin lock held (and
in fact the kernel will do its best to take the console printing lock).

In that case we cannot politely sleep when synching after an accelerated op
but must behave obnoxiously to be sure of getting the bits out.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/gma500/accel_2d.c
drivers/gpu/drm/gma500/psb_drv.c
drivers/gpu/drm/gma500/psb_drv.h