linux_dsm_epyc7002/drivers/gpu/drm/stm
Benjamin Gaignard 53273b5222 drm: stm: implement get_scanout_position function
Hardware allow to read the position in scanout buffer so
we can use this information to make wait of vblank more accurate.

Active area bounds (start, end, total height) have already been
computed and written in ltdc registers, read them and get the
current line position to compute vpos value.

Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com>
Reviewed-by: Yannick Fertré <yannick.fertre@st.com>
Tested-by: Yannick Fertré <yannick.fertre@st.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180629130140.16004-1-benjamin.gaignard@linaro.org
2018-09-27 15:04:26 +02:00
..
drv.c drm: stm: implement get_scanout_position function 2018-09-27 15:04:26 +02:00
dw_mipi_dsi-stm.c drm/stm: dsi: Add 1.31 version support 2018-01-30 11:45:01 +01:00
Kconfig drm: stm: remove "default y" in Kconfig 2017-07-26 14:43:23 +02:00
ltdc.c drm: stm: implement get_scanout_position function 2018-09-27 15:04:26 +02:00
ltdc.h drm: stm: implement get_scanout_position function 2018-09-27 15:04:26 +02:00
Makefile drm/stm: Add STM32 DSI controller driver 2017-07-26 14:42:52 +02:00