Re: [PATCH 00/14] drm/panel: Use refcounted allocation in place of devm_kzalloc() - Part5

2025-07-16 Thread Anusha Srivatsa
On Wed, Jul 16, 2025 at 11:37 AM Maxime Ripard wrote: > On Thu, 10 Jul 2025 23:31:11 -0500, Anusha Srivatsa wrote: > > Use the new API devm_drm_panel_alloc() for panel allocations. > > A major chunk of driver conversion was sent in a 3 part series > > which is already m

[PATCH 13/14] drm/panel/boe-tv101wum-nl6: Use refcounted allocation in place of devm_kzalloc()

2025-07-10 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. In the call to the new API, avoid using explicit type and use __typeof() for more type safety. Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c | 10 +- 1 file changed, 5 insertions

[PATCH 14/14] drm/panel/boe-himax8279d: Use refcounted allocation in place of devm_kzalloc()

2025-07-10 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. In the call to the new API, avoid using explicit type and use __typeof() for more type safety. Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/panel/panel-boe-himax8279d.c | 11 +-- 1 file changed, 5 insertions

[PATCH 12/14] drm/panel/himax-hx83102: Use refcounted allocation in place of devm_kzalloc()

2025-07-10 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. In the call to the new API, avoid using explicit type and use __typeof() for more type safety. Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/panel/panel-himax-hx83102.c | 10 +- 1 file changed, 5 insertions

[PATCH 11/14] drm/panel/ilitek-ili9882t: Use refcounted allocation in place of devm_kzalloc()

2025-07-10 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. In the call to the new API, avoid using explicit type and use __typeof() for more type safety. Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/panel/panel-ilitek-ili9882t.c | 10 +- 1 file changed, 5 insertions

[PATCH 10/14] drm/panel/lpm102a188a: Use refcounted allocation in place of devm_kzalloc()

2025-07-10 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. In the call to the new API, avoid using explicit type and use __typeof() for more type safety. Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/panel/panel-jdi-lpm102a188a.c | 12 ++-- 1 file changed, 6 insertions

[PATCH 09/14] drm/panel/jdi-lt070me05000: Use refcounted allocation in place of devm_kzalloc()

2025-07-10 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. In the call to the new API, avoid using explicit type and use __typeof() for more type safety. Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/panel/panel-jdi-lt070me05000.c | 11 +-- 1 file changed, 5 insertions

[PATCH 07/14] drm/panel/kd097d04: Use refcounted allocation in place of devm_kzalloc()

2025-07-10 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. In the call to the new API, avoid using explicit type and use __typeof() for more type safety. Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c | 12 ++-- 1 file changed, 6

[PATCH 08/14] drm/panel/khadas-ts050: Use refcounted allocation in place of devm_kzalloc()

2025-07-10 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. In the call to the new API, avoid using explicit type and use __typeof() for more type safety. Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/panel/panel-khadas-ts050.c | 13 ++--- 1 file changed, 6 insertions

[PATCH 06/14] drm/panel/lg-sw43408: Use refcounted allocation in place of devm_kzalloc()

2025-07-10 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. In the call to the new API, avoid using explicit type and use __typeof() for more type safety. Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/panel/panel-lg-sw43408.c | 10 +- 1 file changed, 5 insertions(+), 5

[PATCH 05/14] drm/panel/novatek-nt36672a: Use refcounted allocation in place of devm_kzalloc()

2025-07-10 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. In the call to the new API, avoid using explicit type and use __typeof() for more type safety. Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/panel/panel-novatek-nt36672a.c | 10 +- 1 file changed, 5 insertions

[PATCH 04/14] drm/panel/osd101t2587-53ts: Use refcounted allocation in place of devm_kzalloc()

2025-07-10 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. In the call to the new API, avoid using explicit type and use __typeof() for more type safety. Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/panel/panel-osd-osd101t2587-53ts.c | 12 ++-- 1 file changed, 6

[PATCH 03/14] drm/panel/vvx10f034n00: Use refcounted allocation in place of devm_kzalloc()

2025-07-10 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. In the call to the new API, avoid using explicit type and use __typeof() for more type safety. Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c | 12 ++-- 1 file changed, 6

[PATCH 02/14] drm/panel/raspberrypi: Use refcounted allocation in place of devm_kzalloc()

2025-07-10 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. In the call to the new API, avoid using explicit type and use __typeof() for more type safety. Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c | 12 ++-- 1 file changed, 6

[PATCH 01/14] drm/panel/lq101r1sx01: Use refcounted allocation in place of devm_kzalloc()

2025-07-10 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. In the call to the new API, avoid using explicit type and use __typeof() for more type safety. Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c | 11 +-- 1 file changed, 5

[PATCH 00/14] drm/panel: Use refcounted allocation in place of devm_kzalloc() - Part5

2025-07-10 Thread Anusha Srivatsa
of 86 drivers covered in part 1, 2 and 3 are converted by passing explicit type and is not type safe. Changes to those will be addressed in the upcoming series. Signed-off-by: Anusha Srivatsa --- Anusha Srivatsa (14): drm/panel/lq101r1sx01: Use refcounted allocation in place of devm_kz

[PATCH 4/6] drm/panel/kd070fhfid015: Use refcounted allocation in place of devm_kzalloc()

2025-07-08 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. In the call to the new API, avoid using explicit type and use __typeof() for more type safety. Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/panel/panel-startek-kd070fhfid015.c | 12 ++-- 1 file changed, 6

[PATCH 5/6] drm/panel/ls043t1le01: Use refcounted allocation in place of devm_kzalloc()

2025-07-08 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. In the call to the new API, avoid using explicit type and use __typeof() for more type safety. Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c | 12 ++-- 1 file changed, 6

[PATCH 1/6] drm/panel/visionox-g2647fb105: Use refcounted allocation in place of devm_kzalloc()

2025-07-08 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. In the call to the new API, avoid using explicit type and use __typeof() for more type safety. Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/panel/panel-visionox-g2647fb105.c | 10 +- 1 file changed, 5

[PATCH 6/6] drm/panel/samsung-s6e63m0: Use refcounted allocation in place of devm_kzalloc()

2025-07-08 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. In the call to the new API, avoid using explicit type and use __typeof() for more type safety. Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/panel/panel-samsung-s6e63m0.c | 14 +++--- 1 file changed, 7

[PATCH 3/6] drm/panel/tdo-tl070wsh30: Use refcounted allocation in place of devm_kzalloc()

2025-07-08 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. In the call to the new API, avoid using explicit type and use __typeof() for more type safety. Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/panel/panel-tdo-tl070wsh30.c | 13 ++--- 1 file changed, 6 insertions

[PATCH 2/6] drm/panel/truly-nt35597: Use refcounted allocation in place of devm_kzalloc()

2025-07-08 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. In the call to the new API, avoid using explicit type and use __typeof() for more type safety. Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/panel/panel-truly-nt35597.c | 10 +- 1 file changed, 5 insertions

[PATCH 0/6] drm/panel: Use refcounted allocation in place of devm_kzalloc() - Part4

2025-07-08 Thread Anusha Srivatsa
://patchwork.freedesktop.org/series/147157/ https://patchwork.freedesktop.org/series/147246/ Geert's suggestion https://lore.kernel.org/dri-devel/CAN9Xe3TXZa1nrCLkHadiBkOO=q1ue8jwc3v13pxcbac9afs...@mail.gmail.com/ 14 more to go which will be sent once this series gets feedback. Signed-off-by: Anusha Sri

[PATCH v2] panel/simple-simple: Identify simple DPI panels using .compatible field

2025-06-25 Thread Anusha Srivatsa
a Ceresoli Cc: Maxime Ripard Reported-by: Francesco Dolcini Closes: https://lore.kernel.org/all/20250612081834.GA248237@francesco-nb/ Signed-off-by: Anusha Srivatsa --- Seeing the below trace due to the changes introduced by: Commit de04bb0089a9 ("drm/panel/panel-simple: Use the new allo

[PATCH] panel/simple-simple: Identify simple DPI panels using .compatible field

2025-06-24 Thread Anusha Srivatsa
imple_parse_panel_timing_node(dev, panel, &dt); - } if (desc->connector_type == DRM_MODE_CONNECTOR_LVDS) { /* Optional data-mapping property for overriding bus format */ --- base-commit: 10357824151262636fda879845f8b64553541106 change-id: 20250624-b4-simple-panel-regression-8ae3ba282fe2 Best regards, -- Anusha Srivatsa

Re: drm/panel/panel-simple v6.16-rc1 WARNING regression

2025-06-23 Thread Anusha Srivatsa
On Thu, Jun 19, 2025 at 7:08 AM Maxime Ripard wrote: > On Wed, Jun 18, 2025 at 04:45:31PM -0400, Anusha Srivatsa wrote: > > On Wed, Jun 18, 2025 at 11:48 AM Anusha Srivatsa > > wrote: > > > On Wed, Jun 18, 2025 at 4:23 AM Maxime Ripard > wrote: > > > >

Re: [PATCH v2 04/16] drm/panel/sun4i: Keep up with refcounting

2025-06-20 Thread Anusha Srivatsa
On Fri, Jun 20, 2025 at 8:27 AM Maxime Ripard wrote: > Hi, > > On Thu, Jun 19, 2025 at 02:15:56PM -0500, Anusha Srivatsa wrote: > > Put the panel reference back when driver is no > > longer using it. > > > > Signed-off-by: Anusha Srivatsa > > When I asked

Re: [PATCH v2 01/16] drm/panel: get/put panel reference in drm_panel_add/remove()

2025-06-20 Thread Anusha Srivatsa
On Fri, Jun 20, 2025 at 4:11 AM Maxime Ripard wrote: > On Fri, Jun 20, 2025 at 10:33:53AM +0200, Luca Ceresoli wrote: > > Hello Anusha, > > > > On Thu, 19 Jun 2025 14:15:53 -0500 > > Anusha Srivatsa wrote: > > > > > Take the panel reference and put it b

[PATCH v2 16/16] drm/tegra: Keep up with refcounting

2025-06-19 Thread Anusha Srivatsa
Put the panel reference back when driver is no longer using it. Patch added in v2. Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/tegra/dsi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/tegra/dsi.c b/drivers/gpu/drm/tegra/dsi.c index

[PATCH v2 15/16] drm/bridge/analogix: Keep up with refcounting

2025-06-19 Thread Anusha Srivatsa
The panel is looked for in exynos_dp_probe() which calls analogix_dp_probe() after which the prepare(), enable(), disable() and unprepare() helpers are called. Put the reference after unprepare() Patch added in v2. Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/bridge/analogix

[PATCH v2 14/16] drm/mcde: Keep up with refcounting

2025-06-19 Thread Anusha Srivatsa
Put the panel reference returned by of_drm_find_panel() back when driver is no longer using it. Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/mcde/mcde_dsi.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/mcde/mcde_dsi.c b/drivers/gpu/drm/mcde

[PATCH v2 13/16] drm/fsl-dcu: Keep up with refcounting

2025-06-19 Thread Anusha Srivatsa
Put the panel reference back when driver is no longer using it. Patch added in v2 Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_rgb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_rgb.c b/drivers/gpu/drm/fsl-dcu

[PATCH v2 12/16] drm/drm_of: Keep up with refcounting

2025-06-19 Thread Anusha Srivatsa
Put the panel reference back to keep up with refcounting. Patch added in v2. Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/drm_of.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/drm_of.c b/drivers/gpu/drm/drm_of.c index d0183dea770308e77f05da364ffe087d53f3be36

[PATCH v2 10/16] drm/panel/omapdrm: Keep up with refcounting

2025-06-19 Thread Anusha Srivatsa
Put the reference of the panel returned by of_drm_find_panel(). Patch added in v2. Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/omapdrm/dss/output.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/omapdrm/dss/output.c b/drivers/gpu/drm/omapdrm

[PATCH v2 11/16] drm/panel/sti: Keep up with refcounting

2025-06-19 Thread Anusha Srivatsa
Put the reference of the panel returned by of_drm_find_panel() in the disable() function after which panel won't be used. Patch added in v2. Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/sti/sti_dvo.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/sti/sti_dv

[PATCH v2 09/16] drm/bridge/fsl-ldb: Keep up with refcounting.

2025-06-19 Thread Anusha Srivatsa
The panel returned by of_drm_find_panel() is for calling devm_drm_panel_bridge_add and not anywhere after that. Put the panel reference accordingly. Patch added in v2. Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/bridge/fsl-ldb.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a

[PATCH v2 08/16] drm/bridge/lvds-codec: Keep up with refcounting

2025-06-19 Thread Anusha Srivatsa
The panel returned by of_drm_find_panel() is for calling devm_drm_panel_bridge_add_typed and not anywhere after that. Put the panel reference accordingly. Patch added in v2. Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/bridge/lvds-codec.c | 1 + 1 file changed, 1 insertion(+) diff

[PATCH v2 07/16] drm/panel/rz-du: Keep up with refcounting

2025-06-19 Thread Anusha Srivatsa
The panel returned by of_drm_find_panel() is mainly for the purpose of devm_drm_panel_bridge_add_typed(). Put the panel back accordingly. This patch added in v2. Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/renesas/rz-du/rzg2l_du_encoder.c | 1 + 1 file changed, 1 insertion(+) diff

[PATCH v2 06/16] drm/panel/rcar_du_encoder: Keep up with refcounting

2025-06-19 Thread Anusha Srivatsa
The panel returned by of_drm_find_panel() is used to be passed to devm_drm_panel_bridge_add_typed(). Put the reference back accordingly. This patch added in v2. Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/renesas/rcar-du/rcar_du_encoder.c | 2 ++ 1 file changed, 2 insertions(+) diff

[PATCH v2 05/16] drm/panel/exynos: Keep up with refcounting

2025-06-19 Thread Anusha Srivatsa
Put the panel reference back when driver is no longer using it. Signed-off-by: Anusha Srivatsa --- v2: move drm_panel_put() inside the if() --- drivers/gpu/drm/exynos/exynos_drm_dpi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/exynos/exynos_drm_dpi.c b/drivers/gpu/drm

[PATCH v2 04/16] drm/panel/sun4i: Keep up with refcounting

2025-06-19 Thread Anusha Srivatsa
Put the panel reference back when driver is no longer using it. Signed-off-by: Anusha Srivatsa --- v2: none. --- drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c b/drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c index

[PATCH v2 03/16] drm/panel/samsung-dsicm: Keep up with refcounting

2025-06-19 Thread Anusha Srivatsa
Put the panel reference back when driver is no longer using it. The panel that of_drm_find_panel() returns is or the purpose of finding a out->bridge. After which it is no longer used. Drop the refcount accordingly. Signed-off-by: Anusha Srivatsa --- v2: Explain in commit message why

[PATCH v2 02/16] drm/panel: get the panel returned by of_drm_find_panel()

2025-06-19 Thread Anusha Srivatsa
of_drm_find_panel() returns a panel pointer that the caller holds. With refcounting in place, increment the refcount of the panel that is returned. This reference has to be put() by the caller. Document the behaviour expected from all callers of this API. Signed-off-by: Anusha Srivatsa

[PATCH v2 01/16] drm/panel: get/put panel reference in drm_panel_add/remove()

2025-06-19 Thread Anusha Srivatsa
Take the panel reference and put it back as required. drm_panel_add() and drm_panel_remove() add a panel to the global registry and removes a panel respectively. Use get() and put() helpers to keep up with refcounting. Reviewed-by: Luca Ceresoli Signed-off-by: Anusha Srivatsa --- drivers/gpu

[PATCH v2 00/16] Use drm_panel_get/put() in of_drm_find_panel() and its callers

2025-06-19 Thread Anusha Srivatsa
panel, put it down with a drm_panel_put() Signed-off-by: Anusha Srivatsa --- Changes in v2: - Get the missing reference in of_drm_find_panel() - Add changes to all drivers that call of_drm_find_panel() - Link to v1: https://lore.kernel.org/r/20250604-of_drm_find_panel_part1-v1-0-c632e12e1

Re: drm/panel/panel-simple v6.16-rc1 WARNING regression

2025-06-18 Thread Anusha Srivatsa
On Wed, Jun 18, 2025 at 11:48 AM Anusha Srivatsa wrote: > > > On Wed, Jun 18, 2025 at 4:23 AM Maxime Ripard wrote: > >> On Wed, Jun 18, 2025 at 10:51:58AM +0200, Luca Ceresoli wrote: >> > Hello Anusha, Francesco, >> > >> > On Tue, 17 Jun 20

Re: drm/panel/panel-simple v6.16-rc1 WARNING regression

2025-06-18 Thread Anusha Srivatsa
On Wed, Jun 18, 2025 at 4:23 AM Maxime Ripard wrote: > On Wed, Jun 18, 2025 at 10:51:58AM +0200, Luca Ceresoli wrote: > > Hello Anusha, Francesco, > > > > On Tue, 17 Jun 2025 11:17:20 -0500 > > Anusha Srivatsa wrote: > > > > > On Thu, Jun 12, 20

Re: drm/panel/panel-simple v6.16-rc1 WARNING regression

2025-06-17 Thread Anusha Srivatsa
On Thu, Jun 12, 2025 at 3:24 AM Francesco Dolcini wrote: > Hello all, > > Commit de04bb0089a9 ("drm/panel/panel-simple: Use the new allocation in > place of devm_kzalloc()") > from 6.16-rc1 introduced a regression with this warning during probe > with panel dpi described in the DT. > > A revert s

bridge/microchip_lvds panel usage

2025-06-17 Thread Anusha Srivatsa
Hey folks, Can someone please explain why the driver looks for a panel here: https://elixir.bootlin.com/linux/v6.14.11/source/drivers/gpu/drm/bridge/microchip-lvds.c#L182 and doesnt use it or set it up anywhere? I bumped into this while working on converting of_drm_find_panel() callers and the lv

Re: [PATCH 2/4] drm/panel/samsung-dsicm: Keep up with refcounting

2025-06-09 Thread Anusha Srivatsa
On Fri, Jun 6, 2025 at 7:03 AM Maxime Ripard wrote: > On Wed, Jun 04, 2025 at 10:45:11PM -0500, Anusha Srivatsa wrote: > > Put the panel reference back when driver is no > > longer using it. > > > > Signed-off-by: Anusha Srivatsa > > --- > > drivers/gpu

[PATCH 0/4] Integrate refcounting across of_drm_find_panel() callers

2025-06-04 Thread Anusha Srivatsa
series/147082/ [3] -> https://patchwork.freedesktop.org/series/147157/ [4] -> https://patchwork.freedesktop.org/series/147246/ Signed-off-by: Anusha Srivatsa --- Anusha Srivatsa (4): drm/panel: get/put panel reference in drm_panel_add/remove() drm/panel/samsung-dsicm: Keep up with

[PATCH 2/4] drm/panel/samsung-dsicm: Keep up with refcounting

2025-06-04 Thread Anusha Srivatsa
Put the panel reference back when driver is no longer using it. Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/bridge/samsung-dsim.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/bridge/samsung-dsim.c b/drivers/gpu/drm/bridge/samsung-dsim.c index

[PATCH 4/4] drm/panel/exynos: Keep up with refcounting

2025-06-04 Thread Anusha Srivatsa
Put the panel reference back when driver is no longer using it. Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/exynos/exynos_drm_dpi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/exynos/exynos_drm_dpi.c b/drivers/gpu/drm/exynos/exynos_drm_dpi.c index

[PATCH 3/4] drm/panel/sun4i: Keep up with refcounting

2025-06-04 Thread Anusha Srivatsa
Put the panel reference back when driver is no longer using it. Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c b/drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c index

[PATCH 1/4] drm/panel: get/put panel reference in drm_panel_add/remove()

2025-06-04 Thread Anusha Srivatsa
Take the panel reference and put it back as required. drm_panel_add() and drm_panel_remove() add a panel to the global registry and removes a panel respectively. Use get() and put() helpers to keep up with refcounting. Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/drm_panel.c | 2 ++ 1

Re: [PATCH v2 01/46] panel/orisetech-otm8009a: Use refcounted allocation in place of devm_kzalloc()

2025-06-03 Thread Anusha Srivatsa
On Tue, Jun 3, 2025 at 2:11 AM Geert Uytterhoeven wrote: > Hi Anusha, > > On Fri, 30 May 2025 at 20:28, Anusha Srivatsa wrote: > > Move to using the new API devm_drm_panel_alloc() to allocate the > > panel. > > > > Reviewed-by: Neil Armstrong > > Signed-

[PATCH v2 23/46] panel/seiko-43wvf1g: Use refcounted allocation in place of devm_kzalloc()

2025-05-29 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Reviewed-by: Neil Armstrong Signed-off-by: Anusha Srivatsa --- v2: Use the correct connector. --- drivers/gpu/drm/panel/panel-seiko-43wvf1g.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a

[PATCH v2 33/46] panel/synaptics-r63353: allocation in place of devm_kzalloc()

2025-05-29 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Reviewed-by: Neil Armstrong Signed-off-by: Anusha Srivatsa --- v2: none. --- drivers/gpu/drm/panel/panel-synaptics-r63353.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm

[PATCH v2 15/46] panel/samsung-s6d7aa0: Use refcounted allocation in place of devm_kzalloc()

2025-05-29 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Reviewed-by: Neil Armstrong Signed-off-by: Anusha Srivatsa --- v2: none. --- drivers/gpu/drm/panel/panel-samsung-s6d7aa0.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm

[PATCH v2 16/46] panel/samsung-s6e3fa7: Use refcounted allocation in place of devm_kzalloc()

2025-05-29 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Reviewed-by: Neil Armstrong Signed-off-by: Anusha Srivatsa --- v2: none. --- drivers/gpu/drm/panel/panel-samsung-s6e3fa7.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm

[PATCH v2 00/46] drm/panel: Use refcounted allocation in place of devm_kzalloc() - Part3

2025-05-29 Thread Anusha Srivatsa
onverted, next chunk of work is to add get() and put() to drm_panel_add() and drm_panel_remove(). First 2 parts already merged. Part 1 of the conversion : https://patchwork.freedesktop.org/series/147082/ Part 2 of the conversion : https://patchwork.freedesktop.org/series/147157/ Signed-off-by: Anusha S

[PATCH v2 46/46] panel/lg-lb035q02: Use refcounted allocation in place of devm_kzalloc()

2025-05-29 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Reviewed-by: Neil Armstrong Signed-off-by: Anusha Srivatsa --- v2: none. --- drivers/gpu/drm/panel/panel-lg-lb035q02.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/panel

[PATCH v2 45/46] panel/panel-lvds: Use refcounted allocation in place of devm_kzalloc()

2025-05-29 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Reviewed-by: Neil Armstrong Signed-off-by: Anusha Srivatsa --- v2: none. --- drivers/gpu/drm/panel/panel-lvds.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/panel/panel

[PATCH v2 40/46] panel/visionox-vtdr6130: Use refcounted allocation in place of devm_kzalloc()

2025-05-29 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Reviewed-by: Neil Armstrong Signed-off-by: Anusha Srivatsa --- v2: fix alignment. --- drivers/gpu/drm/panel/panel-visionox-vtdr6130.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers

[PATCH v2 44/46] panel/nec-nl8048hl11: Use refcounted allocation in place of devm_kzalloc()

2025-05-29 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Reviewed-by: Neil Armstrong Signed-off-by: Anusha Srivatsa --- v2: none. --- drivers/gpu/drm/panel/panel-nec-nl8048hl11.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/panel

[PATCH v2 43/46] panel/s6e88a0-ams452ef01: Use refcounted allocation in place of devm_kzalloc()

2025-05-29 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Reviewed-by: Neil Armstrong Signed-off-by: Anusha Srivatsa --- v2: none. --- drivers/gpu/drm/panel/panel-samsung-s6e88a0-ams452ef01.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers

[PATCH v2 42/46] panel/xinpeng-xpp055c272: Use refcounted allocation in place of devm_kzalloc()

2025-05-29 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Reviewed-by: Neil Armstrong Signed-off-by: Anusha Srivatsa --- v2: none. --- drivers/gpu/drm/panel/panel-xinpeng-xpp055c272.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm

[PATCH v2 38/46] panel/visionox-rm69299: Use refcounted allocation in place of devm_kzalloc()

2025-05-29 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Reviewed-by: Neil Armstrong Signed-off-by: Anusha Srivatsa --- v2: none. --- drivers/gpu/drm/panel/panel-visionox-rm69299.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm

[PATCH v2 41/46] panel/widechips-ws2401: Use refcounted allocation in place of devm_kzalloc()

2025-05-29 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Reviewed-by: Neil Armstrong Signed-off-by: Anusha Srivatsa --- v2: fix alignment. --- drivers/gpu/drm/panel/panel-widechips-ws2401.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers

[PATCH v2 39/46] panel/visionox-rm692e5.c: Use refcounted allocation in place of devm_kzalloc()

2025-05-29 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Reviewed-by: Neil Armstrong Signed-off-by: Anusha Srivatsa --- v2: none --- drivers/gpu/drm/panel/panel-visionox-rm692e5.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm

[PATCH v2 36/46] panel/tpo-tpg110: Use refcounted allocation in place of devm_kzalloc()

2025-05-29 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Reviewed-by: Neil Armstrong Signed-off-by: Anusha Srivatsa --- v2: none. --- drivers/gpu/drm/panel/panel-tpo-tpg110.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/panel

[PATCH v2 37/46] panel/visionox-r66451: Use refcounted allocation in place of devm_kzalloc()

2025-05-29 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Reviewed-by: Neil Armstrong Signed-off-by: Anusha Srivatsa --- v2: none. --- drivers/gpu/drm/panel/panel-visionox-r66451.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/panel

[PATCH v2 35/46] panel/tpo-td043mtea1: Use refcounted allocation in place of devm_kzalloc()

2025-05-29 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Reviewed-by: Neil Armstrong Signed-off-by: Anusha Srivatsa --- v2: none. --- drivers/gpu/drm/panel/panel-tpo-td043mtea1.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/panel

[PATCH v2 34/46] panel/tpo-td028ttec1: Use refcounted allocation in place of devm_kzalloc()

2025-05-29 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Reviewed-by: Neil Armstrong Signed-off-by: Anusha Srivatsa --- v2: none. --- drivers/gpu/drm/panel/panel-tpo-td028ttec1.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm

[PATCH v2 32/46] panel/panel-summit: Use refcounted allocation in place of devm_kzalloc()

2025-05-29 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Reviewed-by: Neil Armstrong Signed-off-by: Anusha Srivatsa --- v2: refactor.Use already dereferenced dev instead of &dsi->dev. --- drivers/gpu/drm/panel/panel-summit.c | 10 +- 1 file changed, 5 insertion

[PATCH v2 31/46] panel/truly-nt35521: Use refcounted allocation in place of devm_kzalloc()

2025-05-29 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Reviewed-by: Neil Armstrong Signed-off-by: Anusha Srivatsa --- v2: none. --- drivers/gpu/drm/panel/panel-sony-tulip-truly-nt35521.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers

[PATCH v2 28/46] panel/sitronix-st7789v: Use refcounted allocation in place of devm_kzalloc()

2025-05-29 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Reviewed-by: Neil Armstrong Signed-off-by: Anusha Srivatsa --- v2: none. --- drivers/gpu/drm/panel/panel-sitronix-st7789v.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm

[PATCH v2 30/46] panel/sony-td4353-jdi: Use refcounted allocation in place of devm_kzalloc()

2025-05-29 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Reviewed-by: Neil Armstrong Signed-off-by: Anusha Srivatsa --- v2: none. --- drivers/gpu/drm/panel/panel-sony-td4353-jdi.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm

[PATCH v2 29/46] panel/sony-acx565akm: Use refcounted allocation in place of devm_kzalloc()

2025-05-29 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Reviewed-by: Neil Armstrong Signed-off-by: Anusha Srivatsa --- v2: none. --- drivers/gpu/drm/panel/panel-sony-acx565akm.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/panel

[PATCH v2 27/46] panel/sitronix-st7703: Use refcounted allocation in place of devm_kzalloc()

2025-05-29 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Reviewed-by: Neil Armstrong Signed-off-by: Anusha Srivatsa --- v2: none. --- drivers/gpu/drm/panel/panel-sitronix-st7703.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm

[PATCH v2 26/46] panel/sitronix-st7701: Use refcounted allocation in place of devm_kzalloc()

2025-05-29 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Reviewed-by: Neil Armstrong Signed-off-by: Anusha Srivatsa --- v2: none. --- drivers/gpu/drm/panel/panel-sitronix-st7701.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/panel

[PATCH v2 25/46] panel/sharp-ls060t1sx01: Use refcounted allocation in place of devm_kzalloc()

2025-05-29 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Reviewed-by: Neil Armstrong Signed-off-by: Anusha Srivatsa --- v2: none. --- drivers/gpu/drm/panel/panel-sharp-ls060t1sx01.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm

[PATCH v2 24/46] panel/sharp-ls037v7dw01: Use refcounted allocation in place of devm_kzalloc()

2025-05-29 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Reviewed-by: Neil Armstrong Signed-off-by: Anusha Srivatsa --- v2: none. --- drivers/gpu/drm/panel/panel-sharp-ls037v7dw01.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm

[PATCH v2 22/46] panel/samsung-sofef00: Use refcounted allocation in place of devm_kzalloc()

2025-05-29 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Reviewed-by: Neil Armstrong Signed-off-by: Anusha Srivatsa --- v2: none. --- drivers/gpu/drm/panel/panel-samsung-sofef00.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm

[PATCH v2 20/46] panel/s6e88a0-ams427ap24: Use refcounted allocation in place of devm_kzalloc()

2025-05-29 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Reviewed-by: Neil Armstrong Signed-off-by: Anusha Srivatsa --- v2: none. --- drivers/gpu/drm/panel/panel-samsung-s6e88a0-ams427ap24.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers

[PATCH v2 21/46] panel/samsung-s6e8aa0: Use refcounted allocation in place of devm_kzalloc()

2025-05-29 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Reviewed-by: Neil Armstrong Signed-off-by: Anusha Srivatsa --- v2: minor refactor. Use dev instead of &dsi->dev. --- drivers/gpu/drm/panel/panel-samsung-s6e8aa0.c | 10 +- 1 file changed, 5 insertion

[PATCH v2 19/46] panel/samsung-s6e63j0x03: Use refcounted allocation in place of devm_kzalloc()

2025-05-29 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Reviewed-by: Neil Armstrong Signed-off-by: Anusha Srivatsa --- v2: none. --- drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm

[PATCH v2 17/46] panel/samsung-s6e3ha2: Use refcounted allocation in place of devm_kzalloc()

2025-05-29 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Reviewed-by: Neil Armstrong Signed-off-by: Anusha Srivatsa --- v2: none. --- drivers/gpu/drm/panel/panel-samsung-s6e3ha2.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm

[PATCH v2 18/46] panel/samsung-s6e3ha8: Use refcounted allocation in place of devm_kzalloc()

2025-05-29 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Reviewed-by: Neil Armstrong Signed-off-by: Anusha Srivatsa --- v2: none --- drivers/gpu/drm/panel/panel-samsung-s6e3ha8.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/panel

[PATCH v2 12/46] panel/samsung-ld9040: Use refcounted allocation in place of devm_kzalloc()

2025-05-29 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Reviewed-by: Neil Armstrong Signed-off-by: Anusha Srivatsa --- v2: none. --- drivers/gpu/drm/panel/panel-samsung-ld9040.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm

[PATCH v2 14/46] panel/samsung-s6d27a1: Use refcounted allocation in place of devm_kzalloc()

2025-05-29 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Reviewed-by: Neil Armstrong Signed-off-by: Anusha Srivatsa --- v2: none. --- drivers/gpu/drm/panel/panel-samsung-s6d27a1.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm

[PATCH v2 13/46] panel/samsung-s6d16d0: Use refcounted allocation in place of devm_kzalloc()

2025-05-29 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Reviewed-by: Neil Armstrong Signed-off-by: Anusha Srivatsa --- v2: none. --- drivers/gpu/drm/panel/panel-samsung-s6d16d0.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm

[PATCH v2 11/46] panel/samsung-db7430: Use refcounted allocation in place of devm_kzalloc()

2025-05-29 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Reviewed-by: Neil Armstrong Signed-off-by: Anusha Srivatsa --- v2: none. --- drivers/gpu/drm/panel/panel-samsung-db7430.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm

[PATCH v2 10/46] panel/samsung-atna33xc20: Use refcounted allocation in place of devm_kzalloc()

2025-05-29 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Reviewed-by: Neil Armstrong Signed-off-by: Anusha Srivatsa --- v2: none. --- drivers/gpu/drm/panel/panel-samsung-atna33xc20.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm

[PATCH v2 09/46] panel/samsung-ams639rq08: Use refcounted allocation in place of devm_kzalloc()

2025-05-29 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Reviewed-by: Neil Armstrong Signed-off-by: Anusha Srivatsa --- v2: refactor. Use dev instead of &dsi->dev. --- drivers/gpu/drm/panel/panel-samsung-ams639rq08.c | 10 +- 1 file changed, 5 insertions(+), 5 de

[PATCH v2 07/46] panel/ronbo-rb070d30: Use refcounted allocation in place of devm_kzalloc()

2025-05-29 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Reviewed-by: Neil Armstrong Signed-off-by: Anusha Srivatsa --- v2: none. --- drivers/gpu/drm/panel/panel-ronbo-rb070d30.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm

[PATCH v2 04/46] panel/raydium-rm68200: Use refcounted allocation in place of devm_kzalloc()

2025-05-29 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Reviewed-by: Neil Armstrong Signed-off-by: Anusha Srivatsa --- v2: none. --- drivers/gpu/drm/panel/panel-raydium-rm68200.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm

[PATCH v2 08/46] panel/samsung-ams581vf01: Use refcounted allocation in place of devm_kzalloc()

2025-05-29 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Reviewed-by: Neil Armstrong Signed-off-by: Anusha Srivatsa --- v2: refactor. use &dsi->dev instead of dev. --- drivers/gpu/drm/panel/panel-samsung-ams581vf01.c | 10 +- 1 file changed, 5 insertions(+), 5 de

[PATCH v2 05/46] panel/raydium-rm692e5: Use refcounted allocation in place of devm_kzalloc()

2025-05-29 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Reviewed-by: Neil Armstrong Signed-off-by: Anusha Srivatsa --- v2: none. --- drivers/gpu/drm/panel/panel-raydium-rm692e5.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm

[PATCH v2 06/46] panel/raydium-rm69380: Use refcounted allocation in place of devm_kzalloc()

2025-05-29 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Reviewed-by: Neil Armstrong Signed-off-by: Anusha Srivatsa --- v2: none. --- drivers/gpu/drm/panel/panel-raydium-rm69380.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm

  1   2   3   4   5   >