drm/vkms: Decouple crc operations from composer
authorRodrigo Siqueira <rodrigosiqueiramelo@gmail.com>
Sun, 30 Aug 2020 14:19:58 +0000 (10:19 -0400)
committerRodrigo Siqueira <rodrigosiqueiramelo@gmail.com>
Mon, 7 Sep 2020 21:01:27 +0000 (17:01 -0400)
commit953025763d1421605939479b2e9c070f03e428c1
treef58bcd890b22967497da3e81c6e660b84a01b901
parent0a667b500703db80eb30759bb67df671641dbc5b
drm/vkms: Decouple crc operations from composer

In the vkms_composer.c, some of the functions related to CRC and compose
have interdependence between each other. This patch reworks some
functions inside vkms_composer to make crc and composer computation
decoupled.

This patch is preparation work for making vkms able to support new
features.

Tested-by: Melissa Wen <melissa.srw@gmail.com>
Signed-off-by: Rodrigo Siqueira <rodrigosiqueiramelo@gmail.com>
Reviewed-by: Melissa Wen <melissa.srw@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200830142000.146706-2-rodrigosiqueiramelo@gmail.com
drivers/gpu/drm/vkms/vkms_composer.c