[PATCH] drm/tegra: Assign plane type before registration
Dmitry Baryshkov
dmitry.baryshkov at oss.qualcomm.com
Mon Apr 21 08:21:49 UTC 2025
On Sat, Apr 19, 2025 at 07:30:02PM -0500, Aaron Kling via B4 Relay wrote:
> From: Thierry Reding <treding at nvidia.com>
>
> 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 at gmail.com>
> Signed-off-by: Thierry Reding <treding at nvidia.com>
> Cc: stable at vger.kernel.org
> ---
> Signed-off-by: Aaron Kling <webgeek1234 at gmail.com>
Your tag should come after other tags, without any separation between
those. Also, if you consider this to be a bug, please add the Fixes tag
as described in Documentation/process/submitting-patches.rst .
> ---
> drivers/gpu/drm/tegra/dc.c | 12 ++++++++----
> drivers/gpu/drm/tegra/hub.c | 4 ++--
> drivers/gpu/drm/tegra/hub.h | 3 ++-
> 3 files changed, 12 insertions(+), 7 deletions(-)
>
--
With best wishes
Dmitry
More information about the dri-devel
mailing list