OpenCloudOS-Kernel/drivers/gpu/drm/vkms
Rodrigo Siqueira dbd9d80c1b drm/vkms: Add support for writeback
This patch implements the necessary functions to add writeback support
for vkms. This feature is useful for testing compositors if you don't
have hardware with writeback support.

Change in V4 (Emil and Melissa):
- Move signal completion above drm_crtc_add_crc_entry()
- Make writeback always available
- Use appropriate namespace
- Drop fb check in vkms_wb_atomic_commit
- Make vkms_set_composer visible for writeback code
- Enable composer operation on prepare_job and disable it on cleanup_job
- Drop extra space at the end of the file
- Rebase

Change in V3 (Daniel):
- If writeback is enabled, compose everything into the writeback buffer
instead of CRC private buffer
- Guarantees that the CRC will match exactly what we have in the
writeback buffer.

Change in V2:
- Rework signal completion (Brian)
- Integrates writeback with active_planes (Daniel)
- Compose cursor (Daniel)

Signed-off-by: Rodrigo Siqueira <rodrigosiqueiramelo@gmail.com>
Reviewed-by: Liviu Dudau <liviu.dudau@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200830142000.146706-4-rodrigosiqueiramelo@gmail.com
2020-09-07 17:03:48 -04:00
..
Makefile drm/vkms: Add support for writeback 2020-09-07 17:03:48 -04:00
vkms_composer.c drm/vkms: Add support for writeback 2020-09-07 17:03:48 -04:00
vkms_crtc.c drm/vkms: avoid warning in vkms_get_vblank_timestamp 2020-08-30 09:27:06 -04:00
vkms_drv.c drm/vkms: add missing platform_device_unregister() in vkms_init() 2020-08-10 15:31:19 +02:00
vkms_drv.h drm/vkms: Add support for writeback 2020-09-07 17:03:48 -04:00
vkms_gem.c drm/vkms: remove _unlocked suffix in drm_gem_object_put_unlocked 2020-05-19 22:31:36 +01:00
vkms_output.c drm/vkms: Add support for writeback 2020-09-07 17:03:48 -04:00
vkms_plane.c drm/vkms: plane_state->fb iff plane_state->crtc 2020-01-28 15:43:32 +01:00
vkms_writeback.c drm/vkms: Add support for writeback 2020-09-07 17:03:48 -04:00