diff options
| author | Daniel Vetter <[email protected]> | 2019-11-04 18:38:00 +0100 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2019-11-06 11:23:27 +0100 |
| commit | 03e0d26fcf791e48164ff7c280c71225c361a89e (patch) | |
| tree | 48830c229cb2901bbdbcf3ad8bd44db0a777b478 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | b2a8116e25923643e9613ac5b65dd6e78dc5ee77 (diff) | |
drm/nouveau: slowpath for pushbuf ioctl
We can't copy_*_user while holding reservations, that will (soon even
for nouveau) lead to deadlocks. And it breaks the cross-driver
contract around dma_resv.
Fix this by adding a slowpath for when we need relocations, and by
pushing the writeback of the new presumed offsets to the very end.
Aside from "it compiles" entirely untested unfortunately.
Cc: Ilia Mirkin <[email protected]>
Cc: Maarten Lankhorst <[email protected]>
Cc: Ben Skeggs <[email protected]>
Cc: [email protected]
Reviewed-by: Maarten Lankhorst <[email protected]>
Acked-by: Dave Airlie <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions