aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorMikulas Patocka <[email protected]>2019-04-01 17:46:56 +0200
committerBartlomiej Zolnierkiewicz <[email protected]>2019-04-01 17:46:56 +0200
commit6b11f9d8433b471fdd3ebed232b43a4b723be6ff (patch)
tree0ea2723e1a6b691cba78eda2ebe365305c11b59b /tools/perf/scripts/python/exported-sql-viewer.py
parentbd86b6c5c60711dbd4fa21bdb497a188ecb6cf63 (diff)
udlfb: fix sleeping inside spinlock
If a framebuffer device is used as a console, the rendering calls (copyarea, fillrect, imageblit) may be done with the console spinlock held. On udlfb, these function call dlfb_handle_damage that takes a blocking semaphore before acquiring an URB. In order to fix the bug, this patch changes the calls copyarea, fillrect and imageblit to offload USB work to a workqueue. A side effect of this patch is 3x improvement in console scrolling speed because the device doesn't have to be updated after each copyarea call. Signed-off-by: Mikulas Patocka <[email protected]> Cc: Bernie Thompson <[email protected]> Cc: Ladislav Michl <[email protected]> Cc: <[email protected]> Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions