commit | 64ad2abfe9a628ce79859d072704bd1ef7682044 | [log] [tgz] |
---|---|---|
author | Thomas Hellstrom <thellstrom@vmware.com> | Wed Sep 26 15:59:20 2018 +0200 |
committer | Thomas Hellstrom <thellstrom@vmware.com> | Fri Sep 28 08:57:07 2018 +0200 |
tree | 6d7df075d3d405e394fbebd4878373a15e57c430 | |
parent | 24dc64c1ba5c3ef0463d59fef6df09336754188d [diff] |
drm/vmwgfx: Adapt validation code for reference-free lookups Adapt the validation code so that vmw_validation_add[res|bo] can be called under an rcu read lock (non-sleeping) and with rcu-only protected resource- or buffer object pointers. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Reviewed-by: Sinclair Yeh <syeh@vmware.com>