]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit0665f9f852b4ac05f2f62046a169f0f5b9212317
treee9af889fd0b9c493318da865f6276ebb3df01ec7
parent3b2f64d00c46e1e4e9bd0bb9bb12619adac27a4b
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