linux_dsm_epyc7002/drivers/gpu/drm/vkms
Daniel Vetter e5ff5344f4 drm/vkms: No need for ->pages_lock in crc work anymore
We're now guaranteed to no longer race against prepare_fb/cleanup_fb,
which means we can access ->vaddr without having to hold a lock.

Before the previous patches it was fairly easy to observe the cursor
->vaddr being invalid, but that's now gone, so we can upgrade to a
full WARN_ON.

Cc: Rodrigo Siqueira <rodrigosiqueiramelo@gmail.com>
Cc: Haneen Mohammed <hamohammed.sa@gmail.com>
Cc: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Reviewed-by: Rodrigo Siqueira <rodrigosiqueiramelo@gmail.com>
Tested-by: Rodrigo Siqueira <rodrigosiqueiramelo@gmail.com>
Signed-off-by: Rodrigo Siqueira <rodrigosiqueiramelo@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190606222751.32567-11-daniel.vetter@ffwll.ch
2019-06-26 23:19:22 -03:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
vkms_crc.c drm/vkms: No need for ->pages_lock in crc work anymore 2019-06-26 23:19:22 -03:00
vkms_crtc.c drm/vkms: totally reworked crc data tracking 2019-06-26 23:15:35 -03:00
vkms_drv.c drm/vkms: flush crc workers earlier in commit flow 2019-06-26 23:10:35 -03:00
vkms_drv.h drm/vkms: totally reworked crc data tracking 2019-06-26 23:15:35 -03:00
vkms_gem.c drm/vkms: fix use-after-free when drm_gem_handle_create() fails 2019-03-18 08:45:57 +01:00
vkms_output.c drm/vkms: Remove useless call to drm_connector_register/unregister() 2019-06-06 20:33:28 -03:00
vkms_plane.c drm/vkms: Move format arrays to vkms_plane.c 2019-06-18 22:49:17 -03:00