diff options
author | Thomas Zimmermann <[email protected]> | 2019-05-16 18:27:46 +0200 |
---|---|---|
committer | Gerd Hoffmann <[email protected]> | 2019-05-17 13:14:11 +0200 |
commit | 5b24f715042da2a7f3fd059f15cc5a6fbd4f4ec6 (patch) | |
tree | 10786a77f38388273e4a631717232ba30cd3557c /scripts/bpf_helpers_doc.py | |
parent | 82ff2fb5d184e95c7877c58359cef4f5d43df9c1 (diff) |
drm: Reserve/unreserve GEM VRAM BOs from within pin/unpin functions
The original bochs and vbox implementations of pin and unpin functions
automatically reserved BOs during validation. This functionality got lost
while converting the code to a generic implementation. This may result
in validating unlocked TTM BOs.
Adding the reserve and unreserve operations to GEM VRAM's pin and unpin
functions fixes the bochs and vbox drivers. Additionally the patch changes
the mgag200, ast and hibmc drivers to not reserve BOs by themselves.
Signed-off-by: Thomas Zimmermann <[email protected]>
Reported-by: kernel test robot <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Fixes: a3232987fdbf ("drm/bochs: Convert bochs driver to |struct drm_gem_vram_object|")
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Gerd Hoffmann <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions