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>
Tue, 30 Mar 2021 01:38:56 +0000 (10:38 +0900)
commitf4f1b6392d92b3ac822790e4b5fe14590775e414
tree04fc317a3046f2a8021b7f29226c02c92348d3d8
parent3fff7c9ad59da0df1a186b4fd5fe66f1a885907a
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