Re: [PATCH v3] drm/vkms: guarantee vblank when capturing crc

2020-08-10 Thread Daniel Vetter
On Sat, Aug 08, 2020 at 09:09:00AM -0300, Melissa Wen wrote: > VKMS needs vblank interrupts enabled to capture CRC. When vblank is > disabled, tests like kms_cursor_crc and kms_pipe_crc_basic getting stuck > waiting for a capture that will not occur until vkms wakes up. This patch > adds a helper

[PATCH v3] drm/vkms: guarantee vblank when capturing crc

2020-08-08 Thread Melissa Wen
VKMS needs vblank interrupts enabled to capture CRC. When vblank is disabled, tests like kms_cursor_crc and kms_pipe_crc_basic getting stuck waiting for a capture that will not occur until vkms wakes up. This patch adds a helper to set composer and ensure that vblank remains enabled as long as the