diff options
author | Thomas Hellstrom <thellstrom@vmware.com> | 2018-09-26 16:27:54 +0200 |
---|---|---|
committer | Thomas Hellstrom <thellstrom@vmware.com> | 2018-09-28 08:57:08 +0200 |
commit | b139d43dacef688a4f46f29eef34409e950f7cef (patch) | |
tree | 0dfbe5af323d2b3c7a769c0120d21d1aef23a8d6 /drivers/lightnvm | |
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>
Diffstat (limited to 'drivers/lightnvm')
0 files changed, 0 insertions, 0 deletions