]> git.baikalelectronics.ru Git - kernel.git/commit
drm/stm: ltdc: add support for CRC hashing feature
authorRaphael Gallais-Pou <raphael.gallais-pou@foss.st.com>
Fri, 11 Feb 2022 10:46:20 +0000 (11:46 +0100)
committerPhilippe Cornu <philippe.cornu@foss.st.com>
Fri, 25 Feb 2022 13:14:28 +0000 (14:14 +0100)
commitc4d0d5607c954bd1572663ee2f59e5b61654d18f
tree3946fb525376fe8ff5c54eea726192f5dc40a296
parentf6d5a5fe61514ac3525db9fd1bf7c97ab26372ba
drm/stm: ltdc: add support for CRC hashing feature

This patch adds the CRC hashing feature supported by some recent hardware
versions of the LTDC. This is useful for test suite such as IGT-GPU-tools
[1] where a CRTC output frame can be compared to a test reference frame
thanks to their respective CRC hash.

[1] https://cgit.freedesktop.org/drm/igt-gpu-tools

Signed-off-by: Raphael Gallais-Pou <raphael.gallais-pou@foss.st.com>
Acked-by: Yannick Fertre <yannick.fertre@foss.st.com>
Signed-off-by: Philippe Cornu <philippe.cornu@foss.st.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220211104620.421177-1-raphael.gallais-pou@foss.st.com
drivers/gpu/drm/stm/ltdc.c
drivers/gpu/drm/stm/ltdc.h