From: Luca Ceresoli <luca.ceresoli@bootlin.com>
To: Anusha Srivatsa <asrivats@redhat.com>
Cc: Neil Armstrong <neil.armstrong@linaro.org>,
Jessica Zhang <quic_jesszhan@quicinc.com>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Maxime Ripard <mripard@kernel.org>,
Thomas Zimmermann <tzimmermann@suse.de>,
David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>,
dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 2/4] drm/panel: Add refcount support
Date: Fri, 28 Mar 2025 09:48:35 +0100 [thread overview]
Message-ID: <20250328094835.502b3b4d@booty> (raw)
In-Reply-To: <20250327-b4-panel-refcounting-v2-2-b5f5ca551f95@redhat.com>
On Thu, 27 Mar 2025 10:55:40 -0400
Anusha Srivatsa <asrivats@redhat.com> wrote:
> Allocate panel via reference counting. Add _get() and _put() helper
> functions to ensure panel allocations are refcounted. Avoid use after
> free by ensuring panel pointer is valid and can be usable till the last
> reference is put.
>
> v2: Export drm_panel_put/get() (Maxime)
> - Change commit log with 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 <asrivats@redhat.com>
With the added #include as per my comment on patch 1, you can add:
Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2025-03-28 8:48 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-27 14:55 [PATCH v2 0/4] drm/panel: Panel Refcounting infrastructure Anusha Srivatsa
2025-03-27 14:55 ` [PATCH v2 1/4] drm/panel: Add new helpers for refcounted panel allocatons Anusha Srivatsa
2025-03-27 15:57 ` Maxime Ripard
2025-03-27 15:58 ` Maxime Ripard
2025-03-27 15:33 ` Anusha Srivatsa
2025-03-28 9:05 ` Maxime Ripard
2025-03-28 8:34 ` Luca Ceresoli
2025-03-28 14:11 ` Anusha Srivatsa
2025-03-27 14:55 ` [PATCH v2 2/4] drm/panel: Add refcount support Anusha Srivatsa
2025-03-27 15:58 ` Maxime Ripard
2025-03-28 8:48 ` Luca Ceresoli [this message]
2025-03-27 14:55 ` [PATCH v2 3/4] drm/panel: deprecate old-style panel allocation Anusha Srivatsa
2025-03-27 15:58 ` Maxime Ripard
2025-03-28 8:51 ` Luca Ceresoli
2025-03-27 14:55 ` [PATCH v2 4/4] drm/panel/panel-simple: Use the new allocation in place of devm_kzalloc() Anusha Srivatsa
2025-03-27 15:59 ` Maxime Ripard
2025-03-28 8:53 ` Luca Ceresoli
2025-03-28 16:09 ` Anusha Srivatsa
2025-03-31 15:56 ` Luca Ceresoli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250328094835.502b3b4d@booty \
--to=luca.ceresoli@bootlin.com \
--cc=airlied@gmail.com \
--cc=asrivats@redhat.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=mripard@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=quic_jesszhan@quicinc.com \
--cc=simona@ffwll.ch \
--cc=tzimmermann@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.