[PATCH v2] drm/tegra: Assign plane type before registration
Thierry Reding
thierry.reding at gmail.com
Wed May 7 15:16:24 UTC 2025
On Mon, Apr 21, 2025 at 11:13:05AM -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
> Fixes: 473079549f27 ("drm/tegra: dc: Add Tegra186 support")
> Signed-off-by: Aaron Kling <webgeek1234 at gmail.com>
> ---
> Changes in v2:
> - Fixed signoff in commit message
> - Added fixes to commit message
> - Link to v1: https://lore.kernel.org/r/20250419-tegra-drm-primary-v1-1-b91054fb413f@gmail.com
> ---
> 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(-)
Applied to drm-misc-next, thanks.
Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20250507/ed94118c/attachment.sig>
More information about the dri-devel
mailing list