From: Ray Wu <ray.wu@amd.com>
To: Hugo Sales <hugo@hsal.es>,
Harry Wentland <harry.wentland@amd.com>,
Leo Li <sunpeng.li@amd.com>,
Rodrigo Siqueira <siqueira@igalia.com>,
Alex Deucher <alexander.deucher@amd.com>
Cc: "Chenyu Chen" <chen-yu.chen@amd.com>,
"Alex Hung" <alex.hung@amd.com>,
"Christian König" <christian.koenig@amd.com>,
"David Airlie" <airlied@gmail.com>,
"Simona Vetter" <simona@ffwll.ch>,
amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] drm/amd/display: Don't require DMUB PSR caps before DCN 3.0
Date: Thu, 5 Nov 2026 17:45:25 +0800 [thread overview]
Message-ID: <930da65c-67de-4d05-9734-deb58d8981ff@amd.com> (raw)
In-Reply-To: <313360626.451345.1793787476448@app.mailbox.org>
[-- Attachment #1: Type: text/plain, Size: 954 bytes --]
Hi Hugo,
Thanks. I've attached the patch here.
There's also a related discussion here:
https://gitlab.freedesktop.org/drm/amd/-/work_items/5993
Please give it a try and let me know if it resolves the issue.
If so, I'll add your Tested-by.
Thanks,
Ray
On 11/4/2026 6:17 PM, Hugo Sales wrote:
> On 11/04/2026 9:31 AM WET Ray Wu <ray.wu@amd.com> wrote:
>> We already have a similar fix internally that is planned for an upcoming DC release:
>>
>> commit: drm/amd/display: Allow DC_PSR_MASK to enable PSR without DMUB PSR cap
>>
>> Could you give it a try and see if it resolves the issue?
> Hi Ray,
>
> Happy to test it, but I can't find that commit. It isn't on amd-gfx and
> it isn't in amd-staging-drm-next yet. Could you post it to the list, or
> send it to me directly?
>
> I'll try it on my ROG Flow X13 (DCN 2.1) with PSR. Since my patch reported the same problem, could the commit also carry a
> Reported-by/Tested-by for me?
>
> Thanks,
> Hugo
[-- Attachment #2: test-5993-dm-psr-gate.patch --]
[-- Type: text/plain, Size: 737 bytes --]
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_psr.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_psr.c
index dbad0a6d3a2b..295b1c307fa3 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_psr.c
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_psr.c
@@ -111,7 +111,8 @@ bool amdgpu_dm_set_psr_caps(struct dc_link *link, struct amdgpu_dm_connector *ac
/* Reset psr version first */
link->psr_settings.psr_version = DC_PSR_VERSION_UNSUPPORTED;
- if (!dc->caps.dmub_caps.psr)
+ /* DCN IPs that never query DMUB feature caps rely on DC_PSR_MASK to opt in */
+ if (!dc->caps.dmub_caps.psr && !(amdgpu_dc_feature_mask & DC_PSR_MASK))
return false;
if (!(link->connector_signal & SIGNAL_TYPE_EDP))
next prev parent reply other threads:[~2026-11-05 9:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-29 17:12 Hugo Sales
2026-11-04 9:31 ` Ray Wu
2026-11-04 10:17 ` Hugo Sales
2026-11-05 9:45 ` Ray Wu [this message]
2026-11-05 11:42 ` Hugo Sales
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=930da65c-67de-4d05-9734-deb58d8981ff@amd.com \
--to=ray.wu@amd.com \
--cc=airlied@gmail.com \
--cc=alex.hung@amd.com \
--cc=alexander.deucher@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=chen-yu.chen@amd.com \
--cc=christian.koenig@amd.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=harry.wentland@amd.com \
--cc=hugo@hsal.es \
--cc=linux-kernel@vger.kernel.org \
--cc=simona@ffwll.ch \
--cc=siqueira@igalia.com \
--cc=sunpeng.li@amd.com \
/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
all inboxes | Powered by JetHome®