From: <Roman.Li@amd.com>
To: <amd-gfx@lists.freedesktop.org>, <Alexander.Deucher@amd.com>,
<mario.limonciello@amd.com>, <Aurabindo.Pillai@amd.com>,
<li.ma@amd.com>
Cc: Mark Broadworth <mark.broadworth@amd.com>,
chiahsuan.chung@amd.com, Sunpeng.Li@amd.com,
Rodrigo.Siqueira@amd.com, Roman Li <Roman.Li@amd.com>,
jerry.zuo@amd.com, hamza.mahfooz@amd.com, wayne.lin@amd.com,
Harry.Wentland@amd.com
Subject: [PATCH 2/3] drm/amd: Add a DC debug mask for IPS
Date: Wed, 24 Jan 2024 12:09:05 -0500 [thread overview]
Message-ID: <20240124170906.901841-2-Roman.Li@amd.com> (raw)
In-Reply-To: <20240124170906.901841-1-Roman.Li@amd.com>
From: Roman Li <Roman.Li@amd.com>
For debugging IPS-related issues, expose a new debug mask
that allows to disable IPS.
Usage:
amdgpu.dcdebugmask=0x800
Signed-off-by: Roman Li <Roman.Li@amd.com>
Tested-by: Mark Broadworth <mark.broadworth@amd.com>
---
drivers/gpu/drm/amd/include/amd_shared.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/include/amd_shared.h b/drivers/gpu/drm/amd/include/amd_shared.h
index da9b670fec86..a89d93154ddb 100644
--- a/drivers/gpu/drm/amd/include/amd_shared.h
+++ b/drivers/gpu/drm/amd/include/amd_shared.h
@@ -259,6 +259,7 @@ enum DC_DEBUG_MASK {
DC_ENABLE_DML2 = 0x100,
DC_DISABLE_PSR_SU = 0x200,
DC_DISABLE_REPLAY = 0x400,
+ DC_DISABLE_IPS = 0x800,
};
enum amd_dpm_forced_level;
--
2.34.1
next prev parent reply other threads:[~2024-01-24 17:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-24 17:09 [PATCH 1/3] drm/amd/display: Disable ips before dc interrupt setting Roman.Li
2024-01-24 17:09 ` Roman.Li [this message]
2024-01-24 17:15 ` [PATCH 2/3] drm/amd: Add a DC debug mask for IPS Mario Limonciello
2024-01-24 17:09 ` [PATCH 3/3] drm/amd/display: "Enable IPS by default" Roman.Li
2024-01-24 17:15 ` Mario Limonciello
2024-01-24 17:15 ` [PATCH 1/3] drm/amd/display: Disable ips before dc interrupt setting Mario Limonciello
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=20240124170906.901841-2-Roman.Li@amd.com \
--to=roman.li@amd.com \
--cc=Alexander.Deucher@amd.com \
--cc=Aurabindo.Pillai@amd.com \
--cc=Harry.Wentland@amd.com \
--cc=Rodrigo.Siqueira@amd.com \
--cc=Sunpeng.Li@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=chiahsuan.chung@amd.com \
--cc=hamza.mahfooz@amd.com \
--cc=jerry.zuo@amd.com \
--cc=li.ma@amd.com \
--cc=mario.limonciello@amd.com \
--cc=mark.broadworth@amd.com \
--cc=wayne.lin@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