]> git.baikalelectronics.ru Git - kernel.git/commit
drm/vc4: crtc: Reduce PV fifo threshold on hvs4
authorDom Cobley <popcornmix@gmail.com>
Thu, 18 Mar 2021 16:13:28 +0000 (17:13 +0100)
committerMaxime Ripard <maxime@cerno.tech>
Thu, 8 Apr 2021 12:55:02 +0000 (14:55 +0200)
commitb46da592f2209789e70bdfa3486969c584503fab
treec11703da04a123e5780ee43f42111d84cc26c540
parentf7039510ad0fa2ea0cebdcf9b1f2272bca7033ec
drm/vc4: crtc: Reduce PV fifo threshold on hvs4

Experimentally have found PV on hvs4 reports fifo full
error with expected settings and does not with one less

This appears as:
[drm:drm_atomic_helper_wait_for_flip_done] *ERROR* [CRTC:82:crtc-3] flip_done timed out

with bit 10 of PV_STAT set "HVS driving pixels when the PV FIFO is full"

Fixes: b5ab5d6e3cb4 ("drm/vc4: Add KMS support for Raspberry Pi.")
Signed-off-by: Dom Cobley <popcornmix@gmail.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20210318161328.1471556-3-maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_crtc.c