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

Neil Armstrong neil.armstrong at linaro.org
Wed Apr 2 14:24:11 UTC 2025


On 01/04/2025 18:03, Anusha Srivatsa wrote:
> Start converting drivers to use the API - devm_drm_panel_alloc().
> 
> This series addresses only 10 drivers. There are 98 more to go. Sending this
> series to mostly get feedback. if any change is required, it will be
> incorporated in the next version and in the next series that will
> address the remaining drivers.
> 
> Signed-off-by: Anusha Srivatsa <asrivats at redhat.com>
> ---
> 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 in place of devm_kzalloc()
>        panel/auo-a030jtn01: Use refcounted allocation in place of devm_kzalloc()
>        panel/bf060y8m-aj0: Use refcounted allocation in place of devm_kzalloc()
>        panel/th101mb31ig002-28a: Use refcounted allocation in place of devm_kzalloc()
>        panel/boe-tv101wum-ll2: Use refcounted allocation in place of devm_kzalloc()
>        panel/dsi-cm: Use refcounted allocation in place of devm_kzalloc()
>        panel/ebbg-ft8719: Use refcounted allocation in place of devm_kzalloc()
>        panel/panel-edp: Use refcounted allocation in place of devm_kzalloc()
> 
>   drivers/gpu/drm/panel/panel-abt-y030xx067a.c         | 10 ++++------
>   drivers/gpu/drm/panel/panel-arm-versatile.c          | 11 +++++------
>   drivers/gpu/drm/panel/panel-asus-z00t-tm5p5-n35596.c | 11 +++++------
>   drivers/gpu/drm/panel/panel-auo-a030jtn01.c          | 10 ++++------
>   drivers/gpu/drm/panel/panel-boe-bf060y8m-aj0.c       | 11 +++++------
>   drivers/gpu/drm/panel/panel-boe-th101mb31ig002-28a.c | 11 +++++------
>   drivers/gpu/drm/panel/panel-boe-tv101wum-ll2.c       | 10 +++++-----
>   drivers/gpu/drm/panel/panel-dsi-cm.c                 | 10 ++++------
>   drivers/gpu/drm/panel/panel-ebbg-ft8719.c            | 11 +++++------
>   drivers/gpu/drm/panel/panel-edp.c                    |  9 ++++-----
>   10 files changed, 46 insertions(+), 58 deletions(-)
> ---
> base-commit: de04bb0089a96cc00d13b12cbf66a088befe3057
> change-id: 20250401-b4-drm-panel-mass-driver-convert-ddca32e95d16
> 
> Best regards,

Looks good to me

Reviewed-by: Neil Armstrong <neil.armstrong at linaro.org>


More information about the dri-devel mailing list