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
This commit is contained in:

committed by
Daniel Vetter

orang tua
c27d931d40
melakukan
db7f419c06
@@ -25,8 +25,11 @@ static const u32 vkms_cursor_formats[] = {
|
||||
};
|
||||
|
||||
struct vkms_crc_data {
|
||||
struct drm_rect src;
|
||||
struct drm_framebuffer fb;
|
||||
struct drm_rect src, dst;
|
||||
unsigned int offset;
|
||||
unsigned int pitch;
|
||||
unsigned int cpp;
|
||||
};
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user