drm/tegra: Assign plane type before registration
commit 9ff4fdf4f44b69237c0afc1d3a8dac916ce66f3e 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:Aaron Kling <webgeek1234@gmail.com> Signed-off-by:
Thierry Reding <treding@nvidia.com> Cc: stable@vger.kernel.org Fixes: 47307954 ("drm/tegra: dc: Add Tegra186 support") Signed-off-by:
Aaron Kling <webgeek1234@gmail.com> Signed-off-by:
Thierry Reding <treding@nvidia.com> Link: https://lore.kernel.org/r/20250421-tegra-drm-primary-v2-1-7f740c4c2121@gmail.com Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Loading
Please register or sign in to comment