drm/vc4: Set AXI panic modes for the HVS
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Thu, 11 Aug 2022 12:59:34 +0000 (13:59 +0100)
committerPhil Elwell <8911409+pelwell@users.noreply.github.com>
Thu, 1 Sep 2022 16:58:41 +0000 (17:58 +0100)
commitf38271509f56feb6f3b7b4fb0bde450f85fa6d76
tree26c1c9f72c6fe89c85b195634c303b4880c48092
parentcf9faae8120fb366bc71af191814d3afb5216478
drm/vc4: Set AXI panic modes for the HVS

The HVS can change AXI request mode based on how full the COB
FIFOs are.
Until now the vc4 driver has been relying on the firmware to
have set these to sensible values.

With HVS channel 2 now being used for live video, change the
panic mode for all channels to be explicitly set by the driver,
and the same for all channels.

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