commit | b139d43dacef688a4f46f29eef34409e950f7cef | [log] [tgz] |
---|---|---|
author | Thomas Hellstrom <thellstrom@vmware.com> | Wed Sep 26 16:27:54 2018 +0200 |
committer | Thomas Hellstrom <thellstrom@vmware.com> | Fri Sep 28 08:57:08 2018 +0200 |
tree | 0dfbe5af323d2b3c7a769c0120d21d1aef23a8d6 | |
parent | b733bc2e0accd60af23719fd1fc77941c11059f4 [diff] |
drm/vmwgfx: Make buffer object lookups reference-free during validation Make the process of looking up a buffer object and adding it to the validation list reference-free unless when it's actually added to the validation list where a single reference is taken. This saves two locked atomic operations per command stream buffer object handle lookup. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Sinclair Yeh <syeh@vmware.com>