All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sasha Levin <sashal@kernel.org>
To: stable@vger.kernel.org
Cc: Sasha Levin <sashal@kernel.org>
Subject: Re: [PATCH 6.1/6.6] drm/amd/display: Add null check for head_pipe in dcn32_acquire_idle_pipe_for_head_pipe_in_layer
Date: Tue, 29 Jul 2025 15:37:31 -0400	[thread overview]
Message-ID: <1753807571-ee8892f9@stable.kernel.org> (raw)
In-Reply-To: <20250729114924.138111-1-d.dulov@aladdin.ru>

[ Sasha's backport helper bot ]

Hi,

✅ All tests passed successfully. No issues detected.
No action required from the submitter.

The upstream commit SHA1 provided is correct: ac2140449184a26eac99585b7f69814bd3ba8f2d

WARNING: Author mismatch between patch and upstream commit:
Backport author: Daniil Dulov <d.dulov@aladdin.ru>
Commit author: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>

Status in newer kernel trees:
6.15.y | Present (exact SHA1)
6.12.y | Present (exact SHA1)

Note: The patch differs from the upstream commit:
---
1:  ac2140449184 ! 1:  7a19ddcf0b97 drm/amd/display: Add null check for head_pipe in dcn32_acquire_idle_pipe_for_head_pipe_in_layer
    @@ Metadata
      ## Commit message ##
         drm/amd/display: Add null check for head_pipe in dcn32_acquire_idle_pipe_for_head_pipe_in_layer
     
    +    commit ac2140449184a26eac99585b7f69814bd3ba8f2d upstream.
    +
         This commit addresses a potential null pointer dereference issue in the
         `dcn32_acquire_idle_pipe_for_head_pipe_in_layer` function. The issue
         could occur when `head_pipe` is null.
    @@ Commit message
         Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
         Reviewed-by: Tom Chung <chiahsuan.chung@amd.com>
         Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
    +    [ Daniil: dcn32 was moved from drivers/gpu/drm/amd/display/dc to
    +      drivers/gpu/drm/amd/display/dc/resource since commit
    +      8b8eed05a1c6 ("drm/amd/display: Refactor resource into component directory").
    +      The path is changed accordingly to apply the patch on 6.1.y. and 6.6.y ]
    +    Signed-off-by: Daniil Dulov <d.dulov@aladdin.ru>
     
    - ## drivers/gpu/drm/amd/display/dc/resource/dcn32/dcn32_resource.c ##
    -@@ drivers/gpu/drm/amd/display/dc/resource/dcn32/dcn32_resource.c: static struct pipe_ctx *dcn32_acquire_idle_pipe_for_head_pipe_in_layer(
    + ## drivers/gpu/drm/amd/display/dc/dcn32/dcn32_resource.c ##
    +@@ drivers/gpu/drm/amd/display/dc/dcn32/dcn32_resource.c: static struct pipe_ctx *dcn32_acquire_idle_pipe_for_head_pipe_in_layer(
      	struct resource_context *old_ctx = &stream->ctx->dc->current_state->res_ctx;
      	int head_index;
      

---

Results of testing on various branches:

| Branch                    | Patch Apply | Build Test |
|---------------------------|-------------|------------|
| origin/linux-6.1.y        | Success     | Success    |
| origin/linux-6.6.y        | Success     | Success    |

      reply	other threads:[~2025-07-29 19:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-29 11:49 [PATCH 6.1/6.6] drm/amd/display: Add null check for head_pipe in dcn32_acquire_idle_pipe_for_head_pipe_in_layer Daniil Dulov
2025-07-29 19:37 ` Sasha Levin [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=1753807571-ee8892f9@stable.kernel.org \
    --to=sashal@kernel.org \
    --cc=stable@vger.kernel.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 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.