summaryrefslogtreecommitdiff
path: root/include/drm/bridge
diff options
context:
space:
mode:
authorBenjamin Gaignard <benjamin.gaignard@linaro.org>2018-06-29 16:01:40 +0300
committerBenjamin Gaignard <benjamin.gaignard@linaro.org>2018-09-27 16:04:26 +0300
commit53273b5222082c021ac8889387ffe4cc89206f14 (patch)
tree9e08fe302ac557e92d02bcc64aa20884f38d2cac /include/drm/bridge
parent17fd7a9d324fd3af613ddd76f0439481acaad23d (diff)
downloadlinux-53273b5222082c021ac8889387ffe4cc89206f14.tar.xz
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
Diffstat (limited to 'include/drm/bridge')
0 files changed, 0 insertions, 0 deletions