]> git.baikalelectronics.ru Git - kernel.git/commit
drm/stm: ltdc: update hardware error management
authorYannick Fertre <yannick.fertre@foss.st.com>
Fri, 3 Jun 2022 13:46:54 +0000 (15:46 +0200)
committerPhilippe Cornu <philippe.cornu@foss.st.com>
Mon, 27 Jun 2022 14:01:50 +0000 (16:01 +0200)
commit9ab088939ddcef9e951a2f864f11040a5fe2530f
tree5161577c7a10d6c0efd373339f167464a544aa65
parent981b19d7f6c4a2437ad4d5e4f6fdbc9593be29df
drm/stm: ltdc: update hardware error management

The latest hardware version (0x40100) supports a hardware threshold
register (aka FUTR) to trigger a fifo underrun interrupt.
A software threshold has been implemented for other hardware versions.
The threshold is set to 128 by default.

Signed-off-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/20220603134654.594373-1-yannick.fertre@foss.st.com
drivers/gpu/drm/stm/ltdc.c
drivers/gpu/drm/stm/ltdc.h