diff options
author | Zack Rusin <[email protected]> | 2021-01-14 18:38:16 -0500 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2021-04-14 16:41:02 -0400 |
commit | ab4d9913632b1e5ffcf3365783e98718b3c83c7f (patch) | |
tree | 8cceefe98f43f4ba5cd1f9de06ef9cc3495c84ec /scripts/gdb/linux/dmesg.py | |
parent | d434405aaab7d0ebc516b68a8fc4100922d7f5ef (diff) |
drm/vmwgfx: Make sure we unpin no longer needed buffers
We were not correctly unpinning no longer needed buffers. In particular
vmw_buffer_object, which is internally often pinned on creation wasn't
unpinned on destruction and none of the internal MOB buffers were
unpinned before being put back. Technically this existed for a
long time but commit 57fcd550eb15 ("drm/ttm: Warn on pinning without
holding a reference") introduced a WARN_ON which was filling up the
kernel logs rather quickly.
Quite frankly internal usage of vmw_buffer_object and in general
pinning needs to be refactored in vmwgfx but for now this makes
it work.
Signed-off-by: Zack Rusin <[email protected]>
Reviewed-by: Martin Krastev <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
Fixes: 57fcd550eb15 ("drm/ttm: Warn on pinning without holding a reference")
Link: https://patchwork.freedesktop.org/patch/414984/?series=86052&rev=1
Cc: Huang Rui <[email protected]>
Cc: Christian König <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: Christian Koenig <[email protected]>
Cc: [email protected]
Diffstat (limited to 'scripts/gdb/linux/dmesg.py')
0 files changed, 0 insertions, 0 deletions