drm/vc4: fkms to query the VPU for HDMI clock limits
authorDave Stevenson <dave.stevenson@raspberrypi.org>
Thu, 30 May 2019 12:56:15 +0000 (13:56 +0100)
committerpopcornmix <popcornmix@gmail.com>
Wed, 1 Jul 2020 15:33:00 +0000 (16:33 +0100)
commit452c64483618a34d8c64515013137f0c75f24038
tree9bd5cccc23b8b5394f783b546e1dae7c968df62d
parentbe9288d5b74509478f4a559027341ee8bbda30c7
drm/vc4: fkms to query the VPU for HDMI clock limits

The VPU has configured clocks for 4k (or not) via config.txt,
and will limit the choice of video modes based on that.
Make fkms query it for these limits too to avoid selecting modes
that can not be handled by the current clock setup.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
drivers/gpu/drm/vc4/vc4_drv.h
drivers/gpu/drm/vc4/vc4_firmware_kms.c
include/soc/bcm2835/raspberrypi-firmware.h