[PATCH 09/12] drm/tegra: move to devm_platform_ioremap_resource() usage

2025-02-05 Thread Anusha Srivatsa
= devm_ioremap_resource(...); +ioremap_res = devm_platform_ioremap_resource(pdev,0); Cc: Thierry Reding Cc: Mikko Perttunen Reviewed-by: Maxime Ripard Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/tegra/dsi.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu

[PATCH 12/12] Documentation: Update the todo

2025-02-05 Thread Anusha Srivatsa
Update the Documentation to be more precise. v2: Update for clarity Cc: Thomas Zimmermann Signed-off-by: Anusha Srivatsa --- Documentation/gpu/todo.rst | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Documentation/gpu/todo.rst b/Documentation/gpu/todo.rst

Re: [PATCH 11/12] drm/vc4: move to devm_platform_ioremap_resource() usage

2025-02-11 Thread Anusha Srivatsa
On Thu, Feb 6, 2025 at 11:13 AM Maxime Ripard wrote: > On Wed, Feb 05, 2025 at 03:08:07PM -0500, Anusha Srivatsa wrote: > > Replace platform_get_resource_byname + devm_ioremap_resource > > with just devm_platform_ioremap_resource() > > > > Used Coccinelle to

[PATCH 05/14] drm/meson: move to devm_platform_ioremap_resource() usage

2025-01-28 Thread Anusha Srivatsa
= platform_get_resource_byname(pdev,mem,name); <... -if (!res) { -... -} ...> -ioremap = devm_ioremap(...); +ioremap = devm_platform_ioremap_resource_byname(pdev,name); Cc: Neil Armstrong Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/meson/meson_drv.c | 9 + 1 file changed, 1 insertion(+), 8 del

[PATCH 04/14] drm/mediatek: move to devm_platform_ioremap_resource() usage

2025-01-28 Thread Anusha Srivatsa
= devm_ioremap_resource(...); +ioremap_res = devm_platform_ioremap_resource(pdev,0); Cc: Chun-Kuang Hu Cc: Philipp Zabel Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/mediatek/mtk_disp_color.c | 4 +--- drivers/gpu/drm/mediatek/mtk_disp_gamma.c | 4 +--- drivers/gpu/drm/mediatek

[PATCH 02/14] drm/fsl-dcu: move to devm_platform_ioremap_resource() usage

2025-01-28 Thread Anusha Srivatsa
= devm_ioremap_resource(...); +ioremap_res = devm_platform_ioremap_resource(pdev,0); Cc: Stefan Agner Cc: Alison Wang Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu/drm/fsl-dcu

[PATCH 03/14] drm/hisilicon: move to devm_platform_ioremap_resource() usage

2025-01-28 Thread Anusha Srivatsa
= devm_ioremap_resource(...); +ioremap_res = devm_platform_ioremap_resource(pdev,0); Cc: Xinliang Liu Cc: Tian Tao Cc: Xinwei Kong Cc: Sumit Semwal Cc: Yongqin Liu Cc: John Stultz Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c| 4 +--- drivers/gpu/drm

[PATCH 14/14] Documentation: Update the todo

2025-01-28 Thread Anusha Srivatsa
Remove the TODO now that this series addresses the changes needed. Cc: Thomas Zimmermann Signed-off-by: Anusha Srivatsa --- Documentation/gpu/todo.rst | 15 --- 1 file changed, 15 deletions(-) diff --git a/Documentation/gpu/todo.rst b/Documentation/gpu/todo.rst index

[PATCH 12/14] drm/tiny: move to devm_platform_ioremap_resource() usage

2025-01-28 Thread Anusha Srivatsa
= devm_ioremap_resource(...); +ioremap_res = devm_platform_ioremap_resource(pdev,0); Cc: Maarten Lankhorst Cc: Maxime Ripard Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/tiny/arcpgu.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu/drm/tiny/arcpgu.c b

[PATCH 11/14] drm/tegra: move to devm_platform_ioremap_resource() usage

2025-01-28 Thread Anusha Srivatsa
= devm_ioremap_resource(...); +ioremap_res = devm_platform_ioremap_resource(pdev,0); Cc: Thierry Reding Cc: Mikko Perttunen Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/tegra/dsi.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu/drm/tegra/dsi.c b/drivers/gpu

[PATCH 13/14] drm/vc4: move to devm_platform_ioremap_resource() usage

2025-01-28 Thread Anusha Srivatsa
"Maíra Canal" Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/vc4/vc4_hdmi.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/vc4/vc4_hdmi.c b/drivers/gpu/drm/vc4/vc4_hdmi.c index 47d9ada98430634cfd8c1e21

[PATCH 09/14] drm/sti: move to devm_platform_ioremap_resource() usage

2025-01-28 Thread Anusha Srivatsa
-if (!res) { -... -} ...> -ioremap = devm_ioremap(...); +ioremap = devm_platform_ioremap_resource(pdev,0); Cc: Alain Volmat Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/sti/sti_compositor.c | 10 +- drivers/gpu/drm/sti/sti_dvo.c| 10 +- drivers/gpu/drm/sti/sti_hda.c

[PATCH 10/14] drm/stm: move to devm_platform_ioremap_resource() usage

2025-01-28 Thread Anusha Srivatsa
= devm_ioremap_resource(...); +ioremap_res = devm_platform_ioremap_resource(pdev,0); Cc: Yannick Fertre Cc: Raphael Gallais-Pou Cc: Philippe Cornu Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/stm/ltdc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu/drm

[PATCH 06/14] drm/mxsfb: move to devm_platform_ioremap_resource() usage

2025-01-28 Thread Anusha Srivatsa
= devm_ioremap_resource(...); +ioremap_res = devm_platform_ioremap_resource(pdev,0); Cc: Marek Vasut Cc: Stefan Agner Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/mxsfb/lcdif_drv.c | 4 +--- drivers/gpu/drm/mxsfb/mxsfb_drv.c | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff

[PATCH 08/14] drm/sprd: move to devm_platform_ioremap_resource() usage

2025-01-28 Thread Anusha Srivatsa
res) { -... -} ...> -ioremap = devm_ioremap(...); +ioremap = devm_platform_ioremap_resource(pdev,0); Cc: Chunyan Zhang Cc: Dmitry Baryshkov Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/sprd/sprd_dpu.c | 9 + drivers/gpu/drm/sprd/sprd_dsi.c | 9 + 2 files changed, 2 insertions(

[PATCH 07/14] drm/rockchip: move to devm_platform_ioremap_resource() usage

2025-01-28 Thread Anusha Srivatsa
= devm_ioremap_resource(...); +ioremap_res = devm_platform_ioremap_resource(pdev,0); Cc: Sandy Huang Cc: Heiko Stübner Cc: Andy Yan Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu/drm

[PATCH 00/14] drm: Move to using devm_platform_ioremap_resource

2025-01-28 Thread Anusha Srivatsa
tifier res; expression ioremap; identifier pdev; constant mem; expression name; @@ -struct resource *res; ... -res = platform_get_resource_byname(pdev,mem,name); <... -if (!res) { -... -} ...> -ioremap = devm_ioremap(...); +ioremap = devm_platform_ioremap_resource_byname(pdev,name); Signed-of

[PATCH 01/14] drm/aspeed: move to devm_platform_ioremap_resource() usage

2025-01-28 Thread Anusha Srivatsa
= devm_ioremap_resource(...); +ioremap_res = devm_platform_ioremap_resource(pdev,0); Cc: Joel Stanley Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/aspeed/aspeed_gfx_drv.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu/drm/aspeed/aspeed_gfx_drv.c b/drivers

Re: [PATCH 13/14] drm/vc4: move to devm_platform_ioremap_resource() usage

2025-01-29 Thread Anusha Srivatsa
On Wed, Jan 29, 2025 at 8:18 AM Dave Stevenson < dave.steven...@raspberrypi.com> wrote: > Hi Anusha > > On Tue, 28 Jan 2025 at 22:33, Anusha Srivatsa wrote: > > > > Replace platform_get_resource_byname + devm_ioremap_resource > > with just devm_platform_ioremap_r

Re: [PATCH 09/14] drm/sti: move to devm_platform_ioremap_resource() usage

2025-01-29 Thread Anusha Srivatsa
On Wed, Jan 29, 2025 at 4:10 AM Raphael Gallais-Pou < raphael.gallais-...@foss.st.com> wrote: > > On 1/28/25 23:29, Anusha Srivatsa wrote: > > Replace platform_get_resource/_byname + devm_ioremap > > with just devm_platform_ioremap_resource() > > > > Used Cocc

[PATCH 03/12] drm/hisilicon: move to devm_platform_ioremap_resource() usage

2025-02-13 Thread Anusha Srivatsa
= devm_ioremap_resource(...); +ioremap_res = devm_platform_ioremap_resource(pdev,0); Cc: Xinliang Liu Cc: Tian Tao Cc: Xinwei Kong Cc: Sumit Semwal Cc: Yongqin Liu Cc: John Stultz Reviewed-by: Maxime Ripard Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c| 4

[PATCH 05/12] drm/mxsfb: move to devm_platform_ioremap_resource() usage

2025-02-13 Thread Anusha Srivatsa
= devm_ioremap_resource(...); +ioremap_res = devm_platform_ioremap_resource(pdev,0); Cc: Marek Vasut Cc: Stefan Agner Reviewed-by: Maxime Ripard Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/mxsfb/lcdif_drv.c | 4 +--- drivers/gpu/drm/mxsfb/mxsfb_drv.c | 4 +--- 2 files changed, 2 insertions

[PATCH 07/12] drm/sti: move to devm_platform_ioremap_resource() usage

2025-02-13 Thread Anusha Srivatsa
-if (!res) { -... -} ...> -ioremap = devm_ioremap(...); +ioremap = devm_platform_ioremap_resource(pdev,0); v2: Fix compilation error. Cc: Raphael Gallais-Pou Cc: Alain Volmat Reviewed-by: Maxime Ripard Acked-by: Raphael Gallais-Pou Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/sti/sti_compo

[PATCH 06/12] drm/sprd: move to devm_platform_ioremap_resource() usage

2025-02-13 Thread Anusha Srivatsa
res) { -... -} ...> -ioremap = devm_ioremap(...); +ioremap = devm_platform_ioremap_resource(pdev,0); Cc: Chunyan Zhang Cc: Dmitry Baryshkov Reviewed-by: Maxime Ripard Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/sprd/sprd_dpu.c | 9 + drivers/gpu/drm/sprd/sprd_dsi.c | 9 + 2 files c

[PATCH 08/12] drm/stm: move to devm_platform_ioremap_resource() usage

2025-02-13 Thread Anusha Srivatsa
= devm_ioremap_resource(...); +ioremap_res = devm_platform_ioremap_resource(pdev,0); Cc: Yannick Fertre Cc: Raphael Gallais-Pou Cc: Philippe Cornu Acked-by: Raphael Gallais-Pou Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/stm/ltdc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions

[PATCH 09/12] drm/tegra: move to devm_platform_ioremap_resource() usage

2025-02-13 Thread Anusha Srivatsa
= devm_ioremap_resource(...); +ioremap_res = devm_platform_ioremap_resource(pdev,0); Cc: Thierry Reding Cc: Mikko Perttunen Reviewed-by: Maxime Ripard Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/tegra/dsi.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu

[PATCH 04/12] drm/mediatek: move to devm_platform_ioremap_resource() usage

2025-02-13 Thread Anusha Srivatsa
= devm_ioremap_resource(...); +ioremap_res = devm_platform_ioremap_resource(pdev,0); Cc: Chun-Kuang Hu Cc: Philipp Zabel Reviewed-by: Maxime Ripard Reviewed-by: CK Hu Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/mediatek/mtk_disp_color.c | 4 +--- drivers/gpu/drm/mediatek/mtk_disp_gamma.c

[PATCH 00/12] drm: Move to using devm_platform_ioremap_resource

2025-02-13 Thread Anusha Srivatsa
r pdev; constant mem; expression name; @@ -struct resource *res; <+... -res = platform_get_resource_byname(pdev,mem,name); <... -if (!res) { -... -} ...> -ioremap = devm_ioremap(...); +ioremap = devm_platform_ioremap_resource_byname(pdev,name); ...+> Signed-off-by: Anusha Srivatsa --- A

[PATCH 01/12] drm/aspeed: move to devm_platform_ioremap_resource() usage

2025-02-13 Thread Anusha Srivatsa
= devm_ioremap_resource(...); +ioremap_res = devm_platform_ioremap_resource(pdev,0); Cc: Joel Stanley Acked-by: Andrew Jeffery Reviewed-by: Maxime Ripard Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/aspeed/aspeed_gfx_drv.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

[PATCH 02/12] drm/fsl-dcu: move to devm_platform_ioremap_resource() usage

2025-02-13 Thread Anusha Srivatsa
= devm_ioremap_resource(...); +ioremap_res = devm_platform_ioremap_resource(pdev,0); Cc: Stefan Agner Cc: Alison Wang Reviewed-by: Maxime Ripard Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_drv.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a

[PATCH 12/12] Documentation: Update the todo

2025-02-13 Thread Anusha Srivatsa
Update the Documentation to be more precise. v2: Update for clarity v3: Further details in Todo Cc: Thomas Zimmermann Signed-off-by: Anusha Srivatsa --- Documentation/gpu/todo.rst | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/Documentation/gpu/todo.rst b

[PATCH 10/12] drm/tiny: move to devm_platform_ioremap_resource() usage

2025-02-13 Thread Anusha Srivatsa
= devm_ioremap_resource(...); +ioremap_res = devm_platform_ioremap_resource(pdev,0); Cc: Maarten Lankhorst Cc: Maxime Ripard Reviewed-by: Maxime Ripard Acked-by: Alexey Brodkin Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/tiny/arcpgu.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions

[PATCH 11/12] drm/vc4: move to devm_platform_ioremap_resource() usage

2025-02-13 Thread Anusha Srivatsa
h to work on multiple occurences of the pattern. This also fixes the compilation error. v3: Do not convert "hd" resource to follow the rest of the refactor. (Maxime) Cc: Maxime Ripard Cc: Dave Stevenson Cc: Maíra Canal Signed-off-by: Anusha Srivatsa --- drivers/gpu/d

Re: [PATCH] drm/panel/synaptics-r63353: Use _multi variants

2025-03-15 Thread Anusha Srivatsa
On Fri, Mar 7, 2025 at 12:47 PM Maxime Ripard wrote: > On Thu, Mar 06, 2025 at 02:12:14PM -0500, Anusha Srivatsa wrote: > > On Thu, Mar 6, 2025 at 12:54 PM Doug Anderson > wrote: > > > On Thu, Mar 6, 2025 at 9:20 AM Maxime Ripard > wrote: > > > > > &

Re: [PATCH] drm/panel/sharp-ls043t1le01: Use _multi variants

2025-03-19 Thread Anusha Srivatsa
On Tue, 18 Mar 2025 at 12:00 PM, Dmitry Baryshkov < dmitry.barysh...@oss.qualcomm.com> wrote: > On Tue, 18 Mar 2025 at 18:55, Anusha Srivatsa wrote: > > > > On Sun, Mar 16, 2025 at 7:32 PM Dmitry Baryshkov < > dmitry.barysh...@oss.qualcomm.com> wrote: > >>

[PATCH v2] drm/panel/sharp-ls043t1le01: Use _multi variants

2025-03-24 Thread Anusha Srivatsa
ifier dsi_var; identifier func; type t; position p; expression list es; @@ t func(...) { ... struct mipi_dsi_multi_context dsi_ctx = { .dsi = dsi_var }; ... -return 0; +return dsi_ctx.accum_err; } v2: Use mipi_dsi_dcs_write_buffer_multi() in place of mipi_dsi_dcs_write(). (Dmitry) Cc: Maxime Ripard Cc

Re: [PATCH] drm/panel/synaptics-r63353: Use _multi variants

2025-03-18 Thread Anusha Srivatsa
On Mon, Mar 17, 2025 at 6:14 AM Neil Armstrong wrote: > On 16/03/2025 18:40, Anusha Srivatsa wrote: > > > > > > On Fri, Mar 14, 2025 at 10:20 AM Doug Anderson <mailto:diand...@chromium.org>> wrote: > > > > Hi, > > > > On Thu,

Re: [PATCH] drm/panel/sharp-ls043t1le01: Use _multi variants

2025-03-18 Thread Anusha Srivatsa
On Sun, Mar 16, 2025 at 7:32 PM Dmitry Baryshkov < dmitry.barysh...@oss.qualcomm.com> wrote: > On Sun, Mar 16, 2025 at 02:58:22PM -0400, Anusha Srivatsa wrote: > > Move away from using deprecated API and use _multi > > variants if available. Use mipi_dsi_msleep() > >

[PATCH v4] drm/panel/synaptics-r63353: Use _multi variants

2025-03-18 Thread Anusha Srivatsa
; expression list es; @@ t func(...) { ... struct mipi_dsi_multi_context dsi_ctx = { .dsi = dsi_var }; ... -return 0; +return dsi_ctx.accum_err; } Cc: Maxime Ripard Cc: Dmitry Baryshkov Cc: Tejas Vipin Cc: Douglas Anderson Cc: Neil Armstrong Reviewed-by: Douglas Anderson Signed-off-by: A

Re: [PATCH] drm/panel/synaptics-r63353: Use _multi variants

2025-03-16 Thread Anusha Srivatsa
On Fri, Mar 14, 2025 at 2:22 PM Maxime Ripard wrote: > Hi > > On Fri, Mar 14, 2025 at 12:47:16AM -0400, Anusha Srivatsa wrote: > > Move away from using deprecated API and use _multi > > variants if available. Use mipi_dsi_msleep() > > and mipi_dsi_usleep_range()

[PATCH] drm/panel/sharp-ls043t1le01: Use _multi variants

2025-03-16 Thread Anusha Srivatsa
. -return 0; +return dsi_ctx.accum_err; } Cc: Maxime Ripard Cc: Dmitry Baryshkov Cc: Tejas Vipin Cc: Doug Anderson Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/panel/panel-sharp-ls043t1le01.c | 36 ++--- 1 file changed, 14 insertions(+), 22 deletions(-) diff --git a

Re: [PATCH RFC 1/2] drm/panel: Add new helpers for refcounted panel allocatons

2025-03-14 Thread Anusha Srivatsa
On Fri, Mar 14, 2025 at 8:27 AM Luca Ceresoli wrote: > Hello Anusha, > > On Thu, 13 Mar 2025 16:34:45 -0400 > Anusha Srivatsa wrote: > > > > > +void *__devm_drm_panel_alloc(struct device *dev, size_t size, > size_t > > > offset, > > > > +

Re: [PATCH] drm/panel/sharp-ls043t1le01: Use _multi variants

2025-03-17 Thread Anusha Srivatsa
On Sun, Mar 16, 2025 at 7:32 PM Dmitry Baryshkov < dmitry.barysh...@oss.qualcomm.com> wrote: > On Sun, Mar 16, 2025 at 02:58:22PM -0400, Anusha Srivatsa wrote: > > Move away from using deprecated API and use _multi > > variants if available. Use mipi_dsi_msleep() > >

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

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

[PATCH 09/30] panel/ilitek-ili9806e: Use refcounted allocation in place of devm_kzalloc()

2025-04-05 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/panel/panel-ilitek-ili9806e.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-ilitek-ili9806e.c b/drivers/gpu

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

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

[PATCH 15/30] panel/ltk050h3146w: Use refcounted allocation in place of devm_kzalloc()

2025-04-05 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/panel/panel-leadtek-ltk050h3146w.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-leadtek-ltk050h3146w.c b

[PATCH 08/30] panel/panel-ili9805: Use refcounted allocation in place of devm_kzalloc()

2025-04-05 Thread Anusha Srivatsa
Start using the new helper that does the refcounted allocations Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/panel/panel-ilitek-ili9805.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-ilitek-ili9805.c b/drivers/gpu/drm/panel

[PATCH 17/30] panel/lg-lg4573: Use refcounted allocation in place of devm_kzalloc()

2025-04-05 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/panel/panel-lg-lg4573.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-lg-lg4573.c b/drivers/gpu/drm/panel

[PATCH 07/30] panel/ilitek-ili9341: Use refcounted allocation in place of devm_kzalloc()

2025-04-05 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/panel/panel-ilitek-ili9341.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-ilitek-ili9341.c b/drivers/gpu/drm

[PATCH v2 16/30] panel/ltk500hd1829: Use refcounted allocation in place of devm_kzalloc()

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

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

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

[PATCH v2 25/30] panel/novatek-nt35950: Use refcounted allocation in place of devm_kzalloc()

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

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

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

[PATCH v4 0/4] drm/panel: Panel Refcounting infrastructure

2025-04-05 Thread Anusha Srivatsa
e Ripard Signed-off-by: Anusha Srivatsa --- Changes in v4: - Move refcounting documentation from Patch 1 to Patch 2 - Link to v3: https://lore.kernel.org/r/20250330-b4-panel-refcounting-v3-0-0e0d4e464...@redhat.com Changes in v3: - Move the include from patch 1 to patch 2 where it is actually

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

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

[PATCH v2 12/30] panel/innolux-p079zca: Use refcounted allocation in place of devm_kzalloc()

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

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

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

[PATCH 09/10] panel/ebbg-ft8719: Use refcounted allocation in place of devm_kzalloc()

2025-04-05 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/panel/panel-ebbg-ft8719.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-ebbg-ft8719.c b/drivers/gpu/drm/panel

[PATCH 04/30] panel/himax-hx83112a: Use refcounted allocation in place of devm_kzalloc()

2025-04-05 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/panel/panel-himax-hx83112a.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-himax-hx83112a.c b/drivers/gpu/drm

[PATCH 02/46] panel/raydium-rm67191: Use refcounted allocation in place of devm_kzalloc()

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

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

2025-04-05 Thread Anusha Srivatsa
Start converting drivers to use the API - devm_drm_panel_alloc(). Sending next 30 drivers. Sending in batches for easier review. Signed-off-by: Anusha Srivatsa --- Anusha Srivatsa (30): panel/panel-elida-kd35t133: Refcounted allocation panel/elida-kd35t133: Use refcounted allocation

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

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

[PATCH 20/30] panel/mantix-mlaf057we51: Use refcounted allocation in place of devm_kzalloc()

2025-04-04 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/panel/panel-mantix-mlaf057we51.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-mantix-mlaf057we51.c b/drivers

[PATCH 16/30] panel/ltk500hd1829: Use refcounted allocation in place of devm_kzalloc()

2025-04-04 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/panel/panel-leadtek-ltk500hd1829.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-leadtek-ltk500hd1829.c b

[PATCH 1/5] drm/panel: Add new helpers for refcounted panel allocatons

2025-03-25 Thread Anusha Srivatsa
-off-by: Anusha Srivatsa --- drivers/gpu/drm/drm_panel.c | 25 + include/drm/drm_panel.h | 22 ++ 2 files changed, 47 insertions(+) diff --git a/drivers/gpu/drm/drm_panel.c b/drivers/gpu/drm/drm_panel.c index c627e42a7ce70459f50eb5095fffc806ca45dabf

Re: [PATCH 3/5] drm/panel: get/put panel reference in drm_panel_add/remove()

2025-03-26 Thread Anusha Srivatsa
On Wed, Mar 26, 2025 at 11:31 AM Maxime Ripard wrote: > On Tue, Mar 25, 2025 at 01:24:10PM -0400, Anusha Srivatsa wrote: > > Take the panel reference and put it back as required > > using the helpers introduced in previous patch. > > drm_panel_add() and drm_panel_remove() &

Re: [PATCH 1/5] drm/panel: Add new helpers for refcounted panel allocatons

2025-03-26 Thread Anusha Srivatsa
On Wed, Mar 26, 2025 at 11:26 AM Maxime Ripard wrote: > On Wed, Mar 26, 2025 at 10:22:59AM +0100, Luca Ceresoli wrote: > > Hello Anusha, > > > > On Tue, 25 Mar 2025 13:24:08 -0400 > > Anusha Srivatsa wrote: > > > > > Introduce reference counted alloc

Re: [PATCH 4/5] drm/panel: deprecate old-style panel allocation

2025-03-26 Thread Anusha Srivatsa
On Wed, Mar 26, 2025 at 11:32 AM Maxime Ripard wrote: > On Tue, Mar 25, 2025 at 01:24:11PM -0400, Anusha Srivatsa wrote: > > Start moving to the new refcounted allocations using > > the new API devm_drm_panel_alloc(). Deprecate any other > > allocation. > > > &g

Re: [PATCH v3] drm/panel/sharp-ls043t1le01: Use _multi variants

2025-03-27 Thread Anusha Srivatsa
On Thu, Mar 27, 2025 at 4:54 PM Doug Anderson wrote: > Hi, > > On Wed, Mar 26, 2025 at 8:29 PM Anusha Srivatsa > wrote: > > > > Move away from using deprecated API and use _multi variants > > if available. Use mipi_dsi_msleep() and mipi_dsi_usleep_range

Re: [PATCH v2] drm/panel/sharp-ls043t1le01: Use _multi variants

2025-03-25 Thread Anusha Srivatsa
On Tue, Mar 25, 2025 at 11:34 AM Doug Anderson wrote: > Hi, > > On Mon, Mar 24, 2025 at 1:31 PM Anusha Srivatsa > wrote: > > > > Move away from using deprecated API and use _multi > > variants if available. Use mipi_dsi_msleep() > > and mipi_dsi_usleep

[PATCH v3] drm/panel/sharp-ls043t1le01: Use _multi variants

2025-03-26 Thread Anusha Srivatsa
Baryshkov Cc: Tejas Vipin Cc: Doug Anderson Signed-off-by: Anusha Srivatsa --- Changes in v3: - Simplify commit log by adding a reference to a patch that uses the same script. - Simplify code by using a helper that doesnt need additional code changes other then using the helper itself. -

[PATCH v2 4/4] drm/panel/panel-simple: Use the new allocation in place of devm_kzalloc()

2025-03-27 Thread Anusha Srivatsa
Start using the new helper that does the refcounted allocations. v2: check error condition (Luca) Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/panel/panel-simple.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers

[PATCH v2 3/4] drm/panel: deprecate old-style panel allocation

2025-03-27 Thread Anusha Srivatsa
Start moving to the new refcounted allocations using the new API devm_drm_panel_alloc(). Deprecate any other allocation. v2: make the documentation changes in v1 more precise (Maxime) Reviewed-by: Luca Ceresoli Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/drm_panel.c | 5 +++-- 1 file

Re: [PATCH v2 1/4] drm/panel: Add new helpers for refcounted panel allocatons

2025-03-27 Thread Anusha Srivatsa
On Thu, Mar 27, 2025 at 11:58 AM Maxime Ripard wrote: > On Thu, Mar 27, 2025 at 10:55:39AM -0400, Anusha Srivatsa wrote: > > Introduce reference counted allocations for panels to avoid > > use-after-free. The patch adds the macro devm_drm_bridge_alloc() > > to allocate a

[PATCH v2 1/4] drm/panel: Add new helpers for refcounted panel allocatons

2025-03-27 Thread Anusha Srivatsa
: Better documentation for connector_type field - follow drm_panel_init documentation. (Luca) - Clarify the refcount initialisation in comments.(Maxime) - Correct the documentation of the return type (Maxime) Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/drm_panel.c | 25

[PATCH v2 2/4] drm/panel: Add refcount support

2025-03-27 Thread Anusha Srivatsa
better workding (Luca, Maxime) - Change drm_panel_put() to return void (Luca) - Code Cleanups - add return in documentation, replace bridge to panel (Luca) Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/drm_panel.c | 64 - include/drm/drm_panel.h

[PATCH v2 0/4] drm/panel: Panel Refcounting infrastructure

2025-03-27 Thread Anusha Srivatsa
e Ripard Signed-off-by: Anusha Srivatsa --- Changes in v2: - Change drm_panel_put() to return void. - Export drm_panel_get()/put() - Code cleanups: add missing return documentation, improve documentation in commit logs. - Link to v1: https://lore.kernel.org/r/20250325-b4-panel-refcountin

Re: [PATCH v2 1/4] drm/panel: Add new helpers for refcounted panel allocatons

2025-03-28 Thread Anusha Srivatsa
On Fri, Mar 28, 2025 at 4:34 AM Luca Ceresoli wrote: > Hello Anusha, > > Thanks for your continued effort. > > I have a few minor comments. Nothing big, but since Maxime requested a > change you'll have to send a new iteration, so find my comments below. > > On Th

[PATCH 05/10] panel/bf060y8m-aj0: Use refcounted allocation in place of devm_kzalloc()

2025-04-01 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/panel/panel-boe-bf060y8m-aj0.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-boe-bf060y8m-aj0.c b/drivers/gpu

[PATCH 06/10] panel/th101mb31ig002-28a: Use refcounted allocation in place of devm_kzalloc()

2025-04-01 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/panel/panel-boe-th101mb31ig002-28a.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-boe-th101mb31ig002-28a.c b

[PATCH 01/10] panel/abt-y030xx067a: Use the refcounted allocation in place of devm_kzalloc()

2025-04-01 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/panel/panel-abt-y030xx067a.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-abt-y030xx067a.c b/drivers/gpu/drm

[PATCH 04/10] panel/auo-a030jtn01: Use refcounted allocation in place of devm_kzalloc()

2025-04-01 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/panel/panel-auo-a030jtn01.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-auo-a030jtn01.c b/drivers/gpu/drm

[PATCH 03/10] panel/z00t-tm5p5-n35596: Use refcounted allocation in place of devm_kzalloc()

2025-04-01 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/panel/panel-asus-z00t-tm5p5-n35596.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-asus-z00t-tm5p5-n35596.c b

[PATCH 08/10] panel/dsi-cm: Use refcounted allocation in place of devm_kzalloc()

2025-04-01 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/panel/panel-dsi-cm.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-dsi-cm.c b/drivers/gpu/drm/panel/panel-dsi

[PATCH 02/10] panel/arm-versatile: Use the refcounted allocation in place of devm_kzalloc()

2025-04-01 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/panel/panel-arm-versatile.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-arm-versatile.c b/drivers/gpu/drm

[PATCH 10/10] panel/panel-edp: Use refcounted allocation in place of devm_kzalloc()

2025-04-01 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/panel/panel-edp.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-edp.c b/drivers/gpu/drm/panel/panel-edp.c index

[PATCH 07/10] panel/boe-tv101wum-ll2: Use refcounted allocation in place of devm_kzalloc()

2025-04-01 Thread Anusha Srivatsa
Move to using the new API devm_drm_panel_alloc() to allocate the panel. Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/panel/panel-boe-tv101wum-ll2.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-boe-tv101wum-ll2.c b/drivers/gpu

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

2025-04-01 Thread Anusha Srivatsa
remaining drivers. Signed-off-by: Anusha Srivatsa --- Anusha Srivatsa (10): panel/abt-y030xx067a: Use the refcounted allocation in place of devm_kzalloc() panel/arm-versatile: Use the refcounted allocation in place of devm_kzalloc() panel/z00t-tm5p5-n35596: Use refcounted allocation

[PATCH] drm/panel/synaptics-r63353: Use _multi variants

2025-03-13 Thread Anusha Srivatsa
xt dsi_ctx = { .dsi = dsi_var }; ... -return 0; +return dsi_ctx.accum_err; } Cc: Maxime Ripard Cc: Dmitry Baryshkov Cc: Tejas Vipin Cc: Doug Anderson Signed-off-by: Anusha Srivatsa --- Previous attempt for this change was addressed in:[1] The series did not handle returns properly and sti

Re: [PATCH] drm/panel/synaptics-r63353: Use _multi variants

2025-03-17 Thread Anusha Srivatsa
On Fri, Mar 14, 2025 at 10:20 AM Doug Anderson wrote: > Hi, > > On Thu, Mar 13, 2025 at 9:47 PM Anusha Srivatsa > wrote: > > > > @@ -181,24 +162,15 @@ static int r63353_panel_prepare(struct drm_panel > *panel) > > static int r63353_panel_deact

Re: [PATCH RFC 2/2] drm/panel/panel-simple: Use the new allocation in place of devm_kzalloc()

2025-03-17 Thread Anusha Srivatsa
On Mon, Mar 17, 2025 at 6:12 AM Neil Armstrong wrote: > On 13/03/2025 01:54, Anusha Srivatsa wrote: > > Start using the new helper that does the refcounted > > allocations. > > > > Signed-off-by: Anusha Srivatsa > > --- > > drivers/gpu/drm/panel/panel-si

Re: [PATCH v4 2/4] drm/panel: Add refcount support

2025-05-05 Thread Anusha Srivatsa
i Nikula wrote: > > >> On Mon, 31 Mar 2025, Anusha Srivatsa wrote: > > >> > Allocate panel via reference counting. Add _get() and _put() helper > > >> > functions to ensure panel allocations are refcounted. Avoid use > after > > >> &g

Re: [PATCH 01/10] drm/gem: Test for imported GEM buffers with helper

2025-03-02 Thread Anusha Srivatsa
} > > +/** > + * drm_gem_is_imported() - Tests if GEM object's buffer has been imported > + * @obj: the GEM object > + * > + * Returns: > + * True if the GEM object's buffer has been imported, false otherwise > + */ > +static inline bool drm_gem_is_imported(const struct drm_gem_obj

Re: [PATCH RESEND 07/12] drm/sti: move to devm_platform_ioremap_resource() usage

2025-03-03 Thread Anusha Srivatsa
On Wed, Feb 26, 2025 at 5:19 AM Raphael Gallais-Pou < raphael.gallais-...@foss.st.com> wrote: > > On 2/25/25 23:20, Anusha Srivatsa wrote: > > Replace platform_get_resource/_byname + devm_ioremap > > with just devm_platform_ioremap_resource() > > > > Used Cocc

Re: [PATCH] drm/panel/synaptics-r63353: Use _multi variants

2025-03-08 Thread Anusha Srivatsa
On Thu, Mar 6, 2025 at 11:29 AM Dmitry Baryshkov < dmitry.barysh...@linaro.org> wrote: > On Thu, 6 Mar 2025 at 17:10, Anusha Srivatsa wrote: > > > > > > > > On Thu, Mar 6, 2025 at 4:31 AM Maxime Ripard wrote: > >> > >> Hi Anusha, > &g

[PATCH v5 0/7] drm: Move to using devm_platform_ioremap_resource

2025-03-04 Thread Anusha Srivatsa
(...); +ioremap = devm_platform_ioremap_resource_byname(pdev,name); ...+> Signed-off-by: Anusha Srivatsa --- Anusha Srivatsa (7): drm/fsl-dcu: move to devm_platform_ioremap_resource() usage drm/hisilicon: move to devm_platform_ioremap_resource() usage drm/mxsfb: move to devm_platfor

[PATCH v5 4/7] drm/sprd: move to devm_platform_ioremap_resource() usage

2025-03-04 Thread Anusha Srivatsa
res) { -... -} ...> -ioremap = devm_ioremap(...); +ioremap = devm_platform_ioremap_resource(pdev,0); v2: Address the return handling properly since the new API returns error pointers and not NULL. Cc: Chunyan Zhang Cc: Dmitry Baryshkov Signed-off-by: Anusha Srivatsa Reviewed-by: Chunyan Zhang (v1) Revie

[PATCH v5 6/7] drm/tegra: move to devm_platform_ioremap_resource() usage

2025-03-04 Thread Anusha Srivatsa
= devm_ioremap_resource(...); +ioremap_res = devm_platform_ioremap_resource(pdev,0); Cc: Thierry Reding Cc: Mikko Perttunen Reviewed-by: Maxime Ripard Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/tegra/dsi.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu

[PATCH v5 5/7] drm/sti: move to devm_platform_ioremap_resource() usage

2025-03-04 Thread Anusha Srivatsa
-by: Raphael Gallais-Pou (v2) Signed-off-by: Anusha Srivatsa --- drivers/gpu/drm/sti/sti_compositor.c | 14 +++--- drivers/gpu/drm/sti/sti_dvo.c| 14 +++--- drivers/gpu/drm/sti/sti_hda.c| 13 +++-- drivers/gpu/drm/sti/sti_hdmi.c | 15 +++ drivers

<    1   2   3   4   5   6   >