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>
Mon, 6 Jul 2020 09:06:06 +0000 (18:06 +0900)
commit0910c239c7c47b5deb4a6d776ef68186d61b924e
tree543e277aad1ee0f81ab9fb58a429261b2acbbb4a
parent7d013ba4c104b16bde3bdde5910eab2ce144d319
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: I02527a0cfbd03d7713fa992d8ee039ffc8e0c5de
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
drivers/gpu/drm/vc4/vc4_crtc.c