linux-stable/drivers/gpu/drm/mgag200
Thomas Zimmermann 4862ffaec5 drm/mgag200: Move vmap out of commit tail
Vmap operations may acquire the dmabuf reservation lock, which is not
allowed within atomic commit-tail functions. Therefore move vmap and
vunmap from the damage handler into prepare_fb and cleanup_fb callbacks.

The mapping is provided as GEM shadow-buffered plane. The functions in
the commit tail use the pre-established mapping for damage handling.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Tested-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210208115538.6430-5-tzimmermann@suse.de
2021-02-08 13:00:26 +01:00
..
Kconfig drm/mgag200: Add support for G200 desktop cards 2020-08-03 09:43:00 +02:00
Makefile drm/mgag200: Move device init and cleanup to mgag200_drv.c 2020-06-11 10:06:00 +02:00
mgag200_drv.c drm/mgag200: Remove references to struct drm_device.pdev 2021-01-06 15:43:13 +01:00
mgag200_drv.h drm/mgag200: Add support for G200 desktop cards 2020-08-03 09:43:00 +02:00
mgag200_i2c.c drm/mgag200: Remove references to struct drm_device.pdev 2021-01-06 15:43:13 +01:00
mgag200_mm.c drm/mgag200: Remove references to struct drm_device.pdev 2021-01-06 15:43:13 +01:00
mgag200_mode.c drm/mgag200: Move vmap out of commit tail 2021-02-08 13:00:26 +01:00
mgag200_reg.h drm/mgag200: Enable MGA mode during device register initialization 2020-08-03 09:42:27 +02:00