Maxime Ripard e10cde4ad0
drm/vc4: plane: Move planes creation to its own function
The planes so far were created as part of the CRTC binding code with
each planes created associated only to one CRTC. However, the hardware
in the vc4 doesn't really have such constraint and can be used with any
CRTC.

In order to rework this, let's first move the overlay and cursor planes
creation to a function of its own.

Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/a378ea56214179f1f25fcd36ecc69511edd1e790.1590594512.git-series.maxime@cerno.tech
2020-06-10 11:09:37 +02:00
..
2020-05-27 14:31:42 +03:00
2020-05-27 14:31:42 +03:00
2020-05-27 14:31:42 +03:00
2020-05-27 14:31:42 +03:00
2020-05-27 14:31:42 +03:00
2020-05-27 14:31:42 +03:00
2020-04-03 17:11:41 +02:00
2020-06-08 15:14:16 +02:00
2020-04-17 08:12:22 +02:00
2020-05-27 14:31:42 +03:00
2020-04-03 17:11:41 +02:00
2020-05-27 14:31:42 +03:00
2020-04-03 17:11:41 +02:00
2020-04-28 15:05:19 +02:00
2020-05-27 14:31:42 +03:00
2020-05-29 12:58:11 +02:00
2020-03-16 09:27:09 +01:00
2020-06-04 09:57:22 +02:00
2020-05-27 14:31:42 +03:00
2020-04-03 17:11:41 +02:00
2020-05-27 14:31:42 +03:00
2020-05-19 21:52:16 +01:00
2020-04-28 16:05:15 +02:00
2020-04-28 16:05:15 +02:00