vc4/drm: Remove the clear of SCALER_DISPBKGND_FILL
authorDom Cobley <popcornmix@gmail.com>
Wed, 4 Oct 2023 15:02:39 +0000 (16:02 +0100)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:35:04 +0000 (11:35 +0000)
commit5a56f496bf0a206bd97bb7ab0f6d6ae5021c336f
tree67599136e9de6baf0b7ac06614f75d5ba14ef20c
parent9435500d09d5685e35c1d17cb02ece5fa27e2cd4
vc4/drm: Remove the clear of SCALER_DISPBKGND_FILL

Since "drm/vc4: hvs: Support BCM2712 HVS" booting Pi4
with dual 4kp30 displays connected fails with:
vc4-drm gpu: [drm] *ERROR* [CRTC:107:pixelvalve-4] flip_done timed out

It has been tracked down to the referenced commit adding a
path to clear the SCALER_DISPBKGND_FILL when not required.

Dual 4kp30 works with a core clock of 297MHz when background fill
is enabled, but requires a higher value with it disabled.
320MHz still fails, while 330MHz seems okay.

Lets always enable background fill for Pi0-4.

Fixes: e84da235223d ("drm/vc4: hvs: Support BCM2712 HVS")

Signed-off-by: Dom Cobley <popcornmix@gmail.com>
drivers/gpu/drm/vc4/vc4_hvs.c