]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vkms: fix xrgb on compute crc
authorMelissa Wen <melissa.srw@gmail.com>
Thu, 30 Jul 2020 20:25:24 +0000 (17:25 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 2 Aug 2020 13:22:31 +0000 (15:22 +0200)
commita3ba47433205c4ad878a12258095edcc9575ee18
treeb67d9143d66f21e42a9ca9cb6f7dfa87a601e6e5
parentf9c19cc5e9e1f94d3de8d48e66fbf2f4c0894e1d
drm/vkms: fix xrgb on compute crc

The previous memset operation was not correctly zeroing the alpha
channel to compute the crc, and as a result, the IGT subtest
kms_cursor_crc/pipe-A-cursor-alpha-transparent fails.

Fixes: fb16034a66ec7 ("drm/vkms: Compute CRC with Cursor Plane")
Signed-off-by: Melissa Wen <melissa.srw@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20200730202524.5upzuh4irboru7my@smtp.gmail.com
drivers/gpu/drm/vkms/vkms_composer.c