diff options
author | Thomas Hellstrom <thellstrom@vmware.com> | 2015-10-21 21:31:49 +0200 |
---|---|---|
committer | Thomas Hellstrom <thellstrom@vmware.com> | 2015-10-21 21:31:49 +0200 |
commit | 09dc1387c9c06cdaf55bc99b35238bd2ec0aed4b (patch) | |
tree | 58442a83eb12933095397bc3c9905866abb3a31a /drivers/gpu/drm/drm_ioctl.c | |
parent | ed7d78b2da32198ca4c70172e3b63c6b3e2c570b (diff) |
drm/vmwgfx: Stabilize the command buffer submission code
This commit addresses some stability problems with the command buffer
submission code recently introduced:
1) Make the vmw_cmdbuf_man_process() function handle reruns internally to
avoid losing interrupts if the caller forgets to rerun on -EAGAIN.
2) Handle default command buffer allocations using inline command buffers.
This avoids rare allocation deadlocks.
3) In case of command buffer errors we might lose fence submissions.
Therefore send a new fence after each command buffer error. This will help
avoid lengthy fence waits.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Diffstat (limited to 'drivers/gpu/drm/drm_ioctl.c')
0 files changed, 0 insertions, 0 deletions