]> git.baikalelectronics.ru Git - kernel.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)
commit4fb5c9f67f540f0b34c15c03994b5a347178e2c8
treee41e980dc788a75488e1fbfdadef47e250b0d902
parentb9f04412d9904a3a8e12366c04d3a02d07633080
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