Commit 23134a52 authored by Thierry Reding's avatar Thierry Reding Committed by Greg Kroah-Hartman
Browse files

drm/tegra: Assign plane type before registration



commit 9ff4fdf4 upstream.

Changes to a plane's type after it has been registered aren't propagated
to userspace automatically. This could possibly be achieved by updating
the property, but since we can already determine which type this should
be before the registration, passing in the right type from the start is
a much better solution.

Suggested-by: default avatarAaron Kling <webgeek1234@gmail.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
Cc: stable@vger.kernel.org
Fixes: 47307954 ("drm/tegra: dc: Add Tegra186 support")
Signed-off-by: default avatarAaron Kling <webgeek1234@gmail.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20250421-tegra-drm-primary-v2-1-7f740c4c2121@gmail.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9ec447c2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment