]> git.baikalelectronics.ru Git - kernel.git/commit
drm/qxl: add delayed fb operations
authorDave Airlie <airlied@redhat.com>
Mon, 22 Jul 2013 04:37:39 +0000 (14:37 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 24 Jul 2013 01:58:09 +0000 (11:58 +1000)
commitb6125ed4255f8917d93a3ba36a000f12cf5fb1b0
treee9af889fd0b9c493318da865f6276ebb3df01ec7
parent617537d2ebf9f8060e43c17ed9a7bf6d98b03f36
drm/qxl: add delayed fb operations

Due to the nature of qxl hw we cannot queue operations while in an irq
context, so we queue these operations as best we can until atomic allocations
fail, and dequeue them later in a work queue.

Daniel looked over the locking on the list and agrees it should be sufficent.

The atomic allocs use no warn, as the last thing we want if we haven't memory
to allocate space for a printk in an irq context is more printks.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/qxl/qxl_drv.h
drivers/gpu/drm/qxl/qxl_fb.c