drm/vc4: SCALER_DISPBKGND_AUTOHS is only valid on HVS4
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Thu, 11 Aug 2022 14:49:16 +0000 (15:49 +0100)
committerPhil Elwell <8911409+pelwell@users.noreply.github.com>
Thu, 1 Sep 2022 16:58:41 +0000 (17:58 +0100)
commitb10ef0fdec9c082cc1ba9512e2846a3d936f96e6
treed06b3d4856d28d33015d3d2f3254a9bf382de180
parentf38271509f56feb6f3b7b4fb0bde450f85fa6d76
drm/vc4: SCALER_DISPBKGND_AUTOHS is only valid on HVS4

The bit used for SCALER_DISPBKGND_AUTOHS in SCALER_DISPBKGNDX
has been repurposed on HVS5 to configure whether a display can
win back-to-back arbitration wins for the COB.

This is not desirable, therefore only select this bit on HVS4,
and explicitly clear it on HVS5.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
drivers/gpu/drm/vc4/vc4_hvs.c
drivers/gpu/drm/vc4/vc4_regs.h