Thierry Reding fce3a51d9b drm/tegra: Add zpos property for cursor planes
As of commit 4dc55525b095 ("drm: plane: Verify that no or all planes
have a zpos property") a warning is emitted if there's a mix of planes
with and without a zpos property.

On Tegra, cursor planes are always composited on top of all other
planes, which is why they never had a zpos property attached to them.
However, since the composition order is fixed, this is trivial to
remedy by simply attaching an immutable zpos property to them.

v3: do not hardcode zpos for overlay planes used as cursor (Dmitry)
v2: hardcode cursor plane zpos to 255 instead of 0 (Ville)

Reported-by: Jonathan Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2020-06-16 19:03:25 +02:00
..
2019-10-28 11:18:54 +01:00
2020-04-17 17:16:22 +02:00
2020-06-02 15:04:15 -07:00
2020-04-17 17:16:22 +02:00
2020-04-02 14:16:45 +02:00
2020-04-21 08:15:03 +02:00
2020-02-07 12:22:30 +10:00
2019-10-28 11:18:38 +01:00
2020-01-10 16:37:38 +01:00
2020-01-10 16:37:38 +01:00
2020-04-17 17:16:22 +02:00
2020-06-16 13:46:19 +02:00
2020-01-10 16:37:43 +01:00
2020-04-02 14:16:45 +02:00
2020-04-02 14:16:45 +02:00
2020-04-17 17:16:22 +02:00
2019-10-28 11:18:54 +01:00
2020-01-10 16:37:38 +01:00