Maxime Ripard
277b51a1d7
drm/vc4: crtc: Assign output to channel automatically
...
The HVS found in the BCM2711 has 6 outputs and 3 FIFOs, with each output
being connected to a pixelvalve, and some muxing between the FIFOs and
outputs.
Any output cannot feed from any FIFO though, and they all have a bunch of
constraints.
In order to support this, let's store the possible FIFOs each output can be
assigned to in the vc4_crtc_data, and use that information at atomic_check
time to iterate over all the CRTCs enabled and assign them FIFOs.
The channel assigned is then set in the vc4_crtc_state so that the rest of
the driver can use it.
Signed-off-by: Maxime Ripard <maxime@cerno.tech >
2020-05-20 13:49:49 +01:00
..
2020-04-21 09:06:33 +02:00
2020-03-25 08:26:59 +01:00
2020-04-17 16:12:17 +02:00
2020-02-24 08:38:15 +01:00
2019-12-04 19:44:12 -08:00
2020-04-17 16:12:04 +02:00
2020-04-17 16:12:17 +02:00
2020-05-20 13:48:54 +01:00
2020-04-17 16:11:47 +02:00
2020-05-20 13:49:33 +01:00
2020-05-20 13:49:46 +01:00
2020-04-01 11:00:21 +02:00
2020-05-20 13:49:26 +01:00
2020-01-13 11:14:58 +01:00
2020-04-17 16:12:12 +02:00
2019-12-01 18:43:25 -08:00
2020-03-05 16:45:16 +01:00
2020-05-20 13:49:38 +01:00
2020-03-12 07:18:46 +01:00
2020-04-17 16:11:51 +02:00
2020-04-08 09:10:01 +02:00
2019-12-02 14:13:00 -08:00
2020-05-20 13:49:30 +01:00
2020-02-28 17:23:36 +01:00
2020-05-20 13:48:59 +01:00
2020-05-20 13:49:49 +01:00
2020-05-20 13:49:18 +01:00
2020-02-11 04:36:52 -08:00
2020-05-20 13:48:58 +01:00
2020-03-25 08:27:06 +01:00
2020-05-20 13:49:44 +01:00
2020-02-24 08:38:37 +01:00
2019-11-29 11:48:39 +01:00
2020-03-25 08:27:03 +01:00
2020-04-13 13:16:41 +02:00
2020-05-20 13:48:50 +01:00
2019-12-12 10:28:54 +01:00
2020-04-13 13:16:38 +02:00
2020-05-20 13:48:57 +01:00
2019-12-01 13:46:15 -08:00
2020-05-20 13:48:49 +01:00
2020-03-18 07:19:12 +01:00
2020-05-20 13:48:47 +01:00
2020-04-17 16:12:11 +02:00
2020-05-20 13:49:42 +01:00
2019-12-06 08:28:51 -08:00
2019-12-03 13:58:22 -08:00
2020-01-15 23:05:52 -05:00
2020-05-20 13:49:18 +01:00
2020-05-20 13:48:49 +01:00
2020-05-20 13:49:43 +01:00
2020-04-17 16:12:07 +02:00
2020-05-20 13:49:41 +01:00
2020-04-01 10:59:43 +02:00
2019-12-07 18:38:17 -08:00
2019-12-01 18:43:25 -08:00
2020-04-17 16:12:02 +02:00
2020-04-08 09:10:01 +02:00
2020-05-20 13:49:37 +01:00
2020-02-24 08:38:12 +01:00
2020-05-20 13:49:39 +01:00
2020-05-20 13:48:54 +01:00
2020-03-25 08:26:54 +01:00
2020-05-20 13:49:33 +01:00
2020-04-21 09:06:32 +02:00
2020-05-20 13:48:57 +01:00
2020-01-07 12:24:34 +01:00
2020-05-20 13:48:56 +01:00
2020-01-14 10:58:57 -08:00
2020-04-21 09:06:33 +02:00
2019-12-04 19:44:13 -08:00
2020-03-12 07:18:44 +01:00
2020-04-17 16:12:09 +02:00
2020-05-20 13:49:46 +01:00
2019-12-01 18:39:24 -08:00
2020-05-20 13:49:00 +01:00
2020-04-17 16:12:12 +02:00
2020-04-21 09:06:31 +02:00
2020-05-20 13:49:38 +01:00
2020-05-20 13:49:35 +01:00
2020-02-19 19:54:10 +01:00
2020-05-20 13:49:42 +01:00
2020-04-21 09:06:45 +02:00
2020-01-24 12:05:08 -08:00
2020-05-20 13:49:33 +01:00
2020-03-25 08:27:09 +01:00
2020-05-20 13:49:32 +01:00
2020-02-24 08:38:05 +01:00
2020-05-20 13:49:32 +01:00
2020-04-17 16:12:13 +02:00
2020-03-05 16:45:17 +01:00
2020-05-20 13:48:53 +01:00
2019-12-01 13:46:15 -08:00
2020-03-18 07:19:15 +01:00
2020-02-24 08:38:28 +01:00
2020-02-24 08:38:29 +01:00
2020-05-20 13:49:06 +01:00
2020-05-20 13:48:45 +01:00
2020-03-25 08:26:58 +01:00