drm/vc4: Workaround for crtc scanout device problem 52/310252/1 accepted/tizen/unified/20240425.114231 accepted/tizen/unified/20240426.035517 accepted/tizen/unified/toolchain/20240427.045702 accepted/tizen/unified/x/20240426.050316
authorHoegeun Kwon <hoegeun.kwon@samsung.com>
Wed, 24 Apr 2024 11:38:09 +0000 (20:38 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 24 Apr 2024 11:39:28 +0000 (20:39 +0900)
commitacf61c68765f0a8ab694ad312597d11f620ef856
tree4266465bd2b24f0c84b48604ed90ff0a1e7d1bec
parent9e3f2426b4a5d1c9c74235621b2378a33ea019f2
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: I4d8bfa245e257dbdbc6d9d3809d55225091b77cd
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
drivers/gpu/drm/vc4/vc4_crtc.c