diff options
author | Anusha Srivatsa <asrivats@redhat.com> | 2025-03-31 11:15:27 -0400 |
---|---|---|
committer | Maxime Ripard <mripard@kernel.org> | 2025-04-01 16:58:05 +0200 |
commit | c5a635f58e4b9cc5d471c67955d02de306b6b27d (patch) | |
tree | 976f0d6f9e334fe91de8b7ea982c6649621f7784 | |
parent | dcba396f69073d4ea8c04374fdd207e67e5b5a94 (diff) |
drm/panel: deprecate old-style panel allocation
Start moving to the new refcounted allocations using
the new API devm_drm_panel_alloc(). Deprecate any other
allocation.
Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Reviewed-by: Maxime Ripard <mripard@kernel.org>
Signed-off-by: Anusha Srivatsa <asrivats@redhat.com>
Link: https://lore.kernel.org/r/20250331-b4-panel-refcounting-v4-3-dad50c60c6c9@redhat.com
Signed-off-by: Maxime Ripard <mripard@kernel.org>
-rw-r--r-- | drivers/gpu/drm/drm_panel.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/drm/drm_panel.c b/drivers/gpu/drm/drm_panel.c index 7b17531d85a4..870bf8d471ee 100644 --- a/drivers/gpu/drm/drm_panel.c +++ b/drivers/gpu/drm/drm_panel.c @@ -74,8 +74,9 @@ EXPORT_SYMBOL(drm_panel_init); * drm_panel_add - add a panel to the global registry * @panel: panel to add * - * Add a panel to the global registry so that it can be looked up by display - * drivers. + * Add a panel to the global registry so that it can be looked + * up by display drivers. The panel to be added must have been + * allocated by devm_drm_panel_alloc(). */ void drm_panel_add(struct drm_panel *panel) { |