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 3/3] drm/amd/display: "Enable IPS by default"
Date: Wed, 24 Jan 2024 12:09:06 -0500 [thread overview]
Message-ID: <20240124170906.901841-3-Roman.Li@amd.com> (raw)
In-Reply-To: <20240124170906.901841-1-Roman.Li@amd.com>
From: Roman Li <Roman.Li@amd.com>
[Why]
IPS was temporary disabled due to instability.
It was fixed in dmub firmware and with:
- "drm/amd/display: Add IPS checks before dcn register access"
- "drm/amd/display: Disable ips before dc interrupt setting"
[How]
Enable IPS by default.
Disable IPS if 0x800 bit set in amdgpu.dcdebugmask module params
Signed-off-by: Roman Li <Roman.Li@amd.com>
Tested-by: Mark Broadworth <mark.broadworth@amd.com>
---
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
index 41994a60e2cd..9d909c09a14f 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
@@ -1719,7 +1719,8 @@ static int amdgpu_dm_init(struct amdgpu_device *adev)
init_data.nbio_reg_offsets = adev->reg_offset[NBIO_HWIP][0];
init_data.clk_reg_offsets = adev->reg_offset[CLK_HWIP][0];
- init_data.flags.disable_ips = DMUB_IPS_DISABLE_ALL;
+ if (amdgpu_dc_debug_mask & DC_DISABLE_IPS)
+ init_data.flags.disable_ips = DMUB_IPS_DISABLE_ALL;
init_data.flags.disable_ips_in_vpb = 1;
--
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 ` [PATCH 2/3] drm/amd: Add a DC debug mask for IPS Roman.Li
2024-01-24 17:15 ` Mario Limonciello
2024-01-24 17:09 ` Roman.Li [this message]
2024-01-24 17:15 ` [PATCH 3/3] drm/amd/display: "Enable IPS by default" 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-3-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