linux/drivers/gpu/drm/ast
Thomas Zimmermann 5b24f71504 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 <tzimmermann@suse.de>
Reported-by: kernel test robot <lkp@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20190516162746.11636-3-tzimmermann@suse.de
Fixes: a3232987fd ("drm/bochs: Convert bochs driver to |struct drm_gem_vram_object|")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2019-05-17 13:14:11 +02:00
..
ast_dp501.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ast_dram_tables.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ast_drv.c drm/ast: Convert AST driver to VRAM MM 2019-05-15 16:17:07 +02:00
ast_drv.h drm/ast: Replace mapping code with drm_gem_vram_{kmap/kunmap}() 2019-05-15 16:17:07 +02:00
ast_fb.c drm/ast: Replace mapping code with drm_gem_vram_{kmap/kunmap}() 2019-05-15 16:17:07 +02:00
ast_main.c drm/ast: Convert AST driver to VRAM MM 2019-05-15 16:17:07 +02:00
ast_mode.c drm: Reserve/unreserve GEM VRAM BOs from within pin/unpin functions 2019-05-17 13:14:11 +02:00
ast_post.c drm/ast: Call open_key before enable_mmio in POST code 2017-02-28 13:25:32 +10:00
ast_tables.h drm/ast: Fixed 1280x800 Display Issue 2018-03-23 09:50:54 +10:00
ast_ttm.c drm/ast: Convert AST driver to VRAM MM 2019-05-15 16:17:07 +02:00
Kconfig drm/ast: Convert AST driver to VRAM MM 2019-05-15 16:17:07 +02:00
Makefile drm/ast: fix include notation and remove -Iinclude/drm flag 2017-05-16 17:17:51 +02:00