diff options
author | Zack Rusin <[email protected]> | 2021-03-22 13:04:11 -0400 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2021-04-14 16:41:31 -0400 |
commit | 2ef4fb92363c44e8a6f93fd0877b6a7dee6f874d (patch) | |
tree | c0b3475babab37484f784507a2d5fb163b53e169 /scripts/gdb/linux/genpd.py | |
parent | 68ce556bd1643498080af310d4544f46f3c4f3df (diff) |
drm/vmwgfx: Make sure bo's are unpinned before putting them back
During cotable resize we pin the backup buffer to make sure the
trylock doesn't fail. We were never unpinning the backup buffer
resulting in every subsequent cotable resize trying to release a
pinned bo. After we copy the old backup to the new we can release
the pin.
Mob's are always pinned so we just have to make sure we unpin
them before releasing them.
Reviewed-by: Thomas Hellström (Intel) <[email protected]>
Fixes: d1a73c641afd ("drm/vmwgfx: Make sure we unpin no longer needed buffers")
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Zack Rusin <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/genpd.py')
0 files changed, 0 insertions, 0 deletions