drm/vc4: Workaround for crtc scanout device problem 89/288189/1 accepted/tizen/unified/20230214.171553
authorHoegeun Kwon <hoegeun.kwon@samsung.com>
Thu, 7 Sep 2017 07:24:56 +0000 (16:24 +0900)
committerHoegeun Kwon <hoegeun.kwon@samsung.com>
Mon, 13 Feb 2023 07:56:43 +0000 (16:56 +0900)
commitcdc2258d0c9bac151ac99928e129f852d5768d6a
tree84398b6992c9cfd8434f9d72c4f0cc838fd3ef1c
parenta0b838088234b8965fe11efdc8609837b5d2e3e3
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