[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250710-b4-driver-convert-last-part-july-v1-0-de73ba81b2f5@redhat.com>
Date: Thu, 10 Jul 2025 23:31:11 -0500
From: Anusha Srivatsa <asrivats@...hat.com>
To: Neil Armstrong <neil.armstrong@...aro.org>,
Jessica Zhang <jessica.zhang@....qualcomm.com>,
Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
Maxime Ripard <mripard@...nel.org>, Thomas Zimmermann <tzimmermann@...e.de>,
David Airlie <airlied@...il.com>, Simona Vetter <simona@...ll.ch>,
Florian Fainelli <florian.fainelli@...adcom.com>,
Broadcom internal kernel review list <bcm-kernel-feedback-list@...adcom.com>,
Sumit Semwal <sumit.semwal@...aro.org>,
Casey Connolly <casey.connolly@...aro.org>,
Jerry Han <hanxu5@...qin.corp-partner.google.com>
Cc: dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
linux-rpi-kernel@...ts.infradead.org, linux-arm-kernel@...ts.infradead.org,
Anusha Srivatsa <asrivats@...hat.com>
Subject: [PATCH 00/14] drm/panel: Use refcounted allocation in place of
devm_kzalloc() - Part5
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 merged. The coccinelle patch that was used to
identify unsafe panel allocations didnt flag about 20 drivers.
Not using any semantic patch for the remaining drivers.
This series does the conversion by not passing explicit type
to the helper and maintaining type safety suggested by Geert.
Link to part 1, 2 and 3 of driver conversion:
https://patchwork.freedesktop.org/series/147082/
https://patchwork.freedesktop.org/series/147157/
https://patchwork.freedesktop.org/series/147246/
Link to part 4 that incorporates type safety:
https://patchwork.freedesktop.org/series/151355/
Geert's suggestion
https://lore.kernel.org/dri-devel/CAN9Xe3TXZa1nrCLkHadiBkOO=q1ue8Jwc3V13pXcbAc9AFS2-Q@mail.gmail.com/
This is the final set of drivers.
A total 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 <asrivats@...hat.com>
---
Anusha Srivatsa (14):
drm/panel/lq101r1sx01: Use refcounted allocation in place of devm_kzalloc()
drm/panel/raspberrypi: Use refcounted allocation in place of devm_kzalloc()
drm/panel/vvx10f034n00: Use refcounted allocation in place of devm_kzalloc()
drm/panel/osd101t2587-53ts: Use refcounted allocation in place of devm_kzalloc()
drm/panel/novatek-nt36672a: Use refcounted allocation in place of devm_kzalloc()
drm/panel/lg-sw43408: Use refcounted allocation in place of devm_kzalloc()
drm/panel/kd097d04: Use refcounted allocation in place of devm_kzalloc()
drm/panel/khadas-ts050: Use refcounted allocation in place of devm_kzalloc()
drm/panel/jdi-lt070me05000: Use refcounted allocation in place of devm_kzalloc()
drm/panel/lpm102a188a: Use refcounted allocation in place of devm_kzalloc()
drm/panel/ilitek-ili9882t: Use refcounted allocation in place of devm_kzalloc()
drm/panel/himax-hx83102: Use refcounted allocation in place of devm_kzalloc()
drm/panel/boe-tv101wum-nl6: Use refcounted allocation in place of devm_kzalloc()
drm/panel/boe-himax8279d: Use refcounted allocation in place of devm_kzalloc()
drivers/gpu/drm/panel/panel-boe-himax8279d.c | 11 +++++------
drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c | 10 +++++-----
drivers/gpu/drm/panel/panel-himax-hx83102.c | 10 +++++-----
drivers/gpu/drm/panel/panel-ilitek-ili9882t.c | 10 +++++-----
drivers/gpu/drm/panel/panel-jdi-lpm102a188a.c | 12 ++++++------
drivers/gpu/drm/panel/panel-jdi-lt070me05000.c | 11 +++++------
drivers/gpu/drm/panel/panel-khadas-ts050.c | 13 ++++++-------
drivers/gpu/drm/panel/panel-kingdisplay-kd097d04.c | 12 ++++++------
drivers/gpu/drm/panel/panel-lg-sw43408.c | 10 +++++-----
drivers/gpu/drm/panel/panel-novatek-nt36672a.c | 10 +++++-----
drivers/gpu/drm/panel/panel-osd-osd101t2587-53ts.c | 12 ++++++------
drivers/gpu/drm/panel/panel-panasonic-vvx10f034n00.c | 12 ++++++------
drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c | 12 ++++++------
drivers/gpu/drm/panel/panel-sharp-lq101r1sx01.c | 11 +++++------
14 files changed, 76 insertions(+), 80 deletions(-)
---
base-commit: bead8800222768dab1a421206350d530b0c45254
change-id: 20250710-b4-driver-convert-last-part-july-34db91cbdf7a
Best regards,
--
Anusha Srivatsa <asrivats@...hat.com>
Powered by blists - more mailing lists