diff options
author | Thomas Hellstrom <[email protected]> | 2016-10-10 11:06:45 -0700 |
---|---|---|
committer | Sinclair Yeh <[email protected]> | 2016-10-10 11:15:05 -0700 |
commit | a19440304db2d97aed5cee9bfa5017c98d2348bf (patch) | |
tree | cf6c0727b420debe8be56edc17d50e6a8487e471 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 51ab70bed997f64f091a639dbe22b629725a7faf (diff) |
drm/vmwgfx: Avoid validating views on view destruction
When a view destruction command was present in the command stream, the
view was validated to avoid a device error. That caused excessive and
unnecessary validations of views, surfaces and mobs on view destruction.
Replace this with a new relocation type that patches the view
destruction command to a NOP if the view is not present in the device
after the execbuf validation sequence.
Also add checks for the member size of the vmw_res_relocation struct.
Fixes sporadic command submission errors on google-earth exit.
Reported-by: Brian Paul <[email protected]>
Signed-off-by: Thomas Hellstrom <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Sinclair Yeh <[email protected]>
Signed-off-by: Sinclair Yeh <[email protected]>
Cc: [email protected]
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions