drm/vkms: Compute CRC with Cursor Plane
authorHaneen Mohammed <hamohammed.sa@gmail.com>
Thu, 6 Sep 2018 05:18:26 +0000 (08:18 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 11 Sep 2018 17:56:19 +0000 (19:56 +0200)
commitdb7f419c06d7cce892384df464d4b609a3ea70af
treeceec4f89367331cefae32c77017ea496b1b446b1
parentc27d931d402b517336fea2b25ae951bee0249f65
drm/vkms: Compute CRC with Cursor Plane

This patch compute CRC for output frame with cursor and primary plane.
Blend cursor with primary plane and compute CRC on the resulted frame.

This currently passes cursor-size-change, and cursor-64x64-[onscreen,
offscreen, sliding, random, dpms, rapid-movement] from igt
kms_cursor_crc tests.

Signed-off-by: Haneen Mohammed <hamohammed.sa@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/b1749f5c90da5721a481f12740e2e370edb4a752.1536210181.git.hamohammed.sa@gmail.com
drivers/gpu/drm/vkms/vkms_crc.c
drivers/gpu/drm/vkms/vkms_drv.h
drivers/gpu/drm/vkms/vkms_plane.c