From: Harry Wentland <harry.wentland@amd.com>
To: Alex Deucher <alexander.deucher@amd.com>, amd-gfx@lists.freedesktop.org
Subject: Re: [PATCH] drm/amd/display: Use GFP_ATOMIC in dc_create_plane_state()
Date: Thu, 4 Dec 2025 10:49:18 -0500 [thread overview]
Message-ID: <054d770b-e1fa-47d6-a358-cd5256cfe410@amd.com> (raw)
In-Reply-To: <20251202201502.2038707-1-alexander.deucher@amd.com>
On 2025-12-02 15:15, Alex Deucher wrote:
> This can get called from an atomic context.
>
> Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4470
> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Harry
> ---
> drivers/gpu/drm/amd/display/dc/core/dc_surface.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_surface.c b/drivers/gpu/drm/amd/display/dc/core/dc_surface.c
> index 922f23557f5d9..0971dfa258454 100644
> --- a/drivers/gpu/drm/amd/display/dc/core/dc_surface.c
> +++ b/drivers/gpu/drm/amd/display/dc/core/dc_surface.c
> @@ -86,7 +86,7 @@ uint8_t dc_plane_get_pipe_mask(struct dc_state *dc_state, const struct dc_plane
> struct dc_plane_state *dc_create_plane_state(const struct dc *dc)
> {
> struct dc_plane_state *plane_state = kvzalloc(sizeof(*plane_state),
> - GFP_KERNEL);
> + GFP_ATOMIC);
>
> if (NULL == plane_state)
> return NULL;
prev parent reply other threads:[~2025-12-04 15:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-02 20:15 [PATCH] drm/amd/display: Use GFP_ATOMIC in dc_create_plane_state() Alex Deucher
2025-12-04 15:49 ` Harry Wentland [this message]
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=054d770b-e1fa-47d6-a358-cd5256cfe410@amd.com \
--to=harry.wentland@amd.com \
--cc=alexander.deucher@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox