drm/vc4: Workaround for crtc scanout device problem
authorHoegeun Kwon <hoegeun.kwon@samsung.com>
Thu, 7 Sep 2017 07:24:56 +0000 (16:24 +0900)
committerHoegeun Kwon <hoegeun.kwon@samsung.com>
Thu, 3 Aug 2023 09:35:27 +0000 (18:35 +0900)
commit92eb3ea6ab347395ad03ed73da3d75503c3cb966
treea126d87645745582fcd6e5b000e352b79f740a51
parent7c7e777b823546faa0ee035960aabff1912736d4
drm/vc4: Workaround for crtc scanout device problem

Currently, the crtc device does not start a scanout, the time of
vblank is always calculated as future value. As a workaround, always
change vpos to a positive number.

Change-Id: I9d9efa473f530b519637a7497c6a41f5e3c9b541
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
drivers/gpu/drm/vc4/vc4_crtc.c