diff options
author | Thomas Hellstrom <thellstrom@vmware.com> | 2011-08-31 07:42:54 +0000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-09-01 09:37:55 +0100 |
commit | be38ab6ea7b0de0542a0ff78690d63bb22f66a4d (patch) | |
tree | 10fa0d9106caca66d67229e47e0037d453274461 /drivers/pnp | |
parent | 0bef23f9180b43e805ce4dabb90b24a0b558721c (diff) |
vmwgfx: Fix potential execbuf deadlocks
Perform all command stream validation in a bounce buffer separate from the
fifo. This makes the fifo available to all validation-generated commands,
which would otherwise attempt to grab the fifo recursively, causing a
deadlock. This is in preparation for GMR2 and swappable surfaces.
Also maintain references to all surfaces in the command stream until the
command stream has been fired in order to avoid racing with surface
destruction taking place after validation but before submission.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Jakob Bornecrantz <jakob@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/pnp')
0 files changed, 0 insertions, 0 deletions