OSDN Git Service

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)
commiteb9dfdd1ed40357b99a4201c8534c58c562e48c9
treec11703da04a123e5780ee43f42111d84cc26c540
parent35d65ab3fdba1bdecde9ac3424d6d634ea038729
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: c8b75bca92cb ("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