diff options
author | Thomas Hellstrom <thellstrom@vmware.com> | 2018-09-26 16:28:45 +0200 |
---|---|---|
committer | Thomas Hellstrom <thellstrom@vmware.com> | 2018-09-28 08:57:08 +0200 |
commit | 508108ea274788888408f4245438e40c90d821da (patch) | |
tree | 81842fd772b00841c88b7c997bee702b5343ed51 /drivers/gpu/drm/drm_dma.c | |
parent | drm/vmwgfx: Make buffer object lookups reference-free during validation (diff) | |
download | linux-508108ea274788888408f4245438e40c90d821da.tar.xz linux-508108ea274788888408f4245438e40c90d821da.zip |
drm/vmwgfx: Don't refcount command-buffer managed resource lookups during command buffer validation
The typical pattern of these lookups are
-Lookup
-Put on validate list if not already there.
-Unreference
And since we are the exclusive user of the context during lookup time,
we can be sure that the resource will stay alive during the sequence.
So avoid taking a reference during lookup, and also avoid unreferencing
when done.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Diffstat (limited to 'drivers/gpu/drm/drm_dma.c')
0 files changed, 0 insertions, 0 deletions