diff options
author | 2018-03-22 10:35:18 +0100 | |
---|---|---|
committer | 2018-03-22 12:08:24 +0100 | |
commit | 20fb5a635a0c8478ac98f15cfafc2ea83df29565 (patch) | |
tree | 21801e5254a8e7ee292d8e25e541415fadb0b134 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | drm/vmwgfx: Stricter count of legacy surface device resources (diff) | |
download | linux-dev-20fb5a635a0c8478ac98f15cfafc2ea83df29565.tar.xz linux-dev-20fb5a635a0c8478ac98f15cfafc2ea83df29565.zip |
drm/vmwgfx: Unpin the screen object backup buffer when not used
We were relying on the pinned screen object backup buffer to be destroyed
when not used. But if we hold a copy of the atomic state, like when
hibernating, the backup buffer might not be destroyed since it's
refcounted by the atomic state. This causes us to hibernate with a
buffer pinned in VRAM.
Fix this by only having the buffer pinned when it is actually used by a
screen object.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Sinclair Yeh <syeh@vmware.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions