linux/drivers/gpu/drm/mgag200
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
..
Kconfig drm/mgag200: Convert mgag200 driver to VRAM MM 2019-05-15 16:17:08 +02:00
Makefile drm/mgag200: fix include notation and remove -Iinclude/drm flag 2017-05-17 14:35:31 +02:00
mgag200_cursor.c drm: Add drm_gem_vram_{pin/unpin}_reserved() and convert mgag200 2019-05-17 13:12:19 +02:00
mgag200_drv.c drm/mgag200: Convert mgag200 driver to VRAM MM 2019-05-15 16:17:08 +02:00
mgag200_drv.h drm/mgag200: Replace mapping code with drm_gem_vram_{kmap/kunmap}() 2019-05-15 16:17:08 +02:00
mgag200_fb.c drm/mgag200: Replace mapping code with drm_gem_vram_{kmap/kunmap}() 2019-05-15 16:17:08 +02:00
mgag200_i2c.c drm/mgag200: Added support for the new device G200eH3 2017-01-23 11:57:08 +10:00
mgag200_main.c drm/mgag200: Convert mgag200 driver to VRAM MM 2019-05-15 16:17:08 +02:00
mgag200_mode.c drm: Reserve/unreserve GEM VRAM BOs from within pin/unpin functions 2019-05-17 13:14:11 +02:00
mgag200_reg.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mgag200_ttm.c drm/mgag200: Convert mgag200 driver to VRAM MM 2019-05-15 16:17:08 +02:00