From: Jiri Slaby <jirislaby@kernel.org>
To: "Li, Roman" <Roman.Li@amd.com>,
"amd-gfx@lists.freedesktop.org" <amd-gfx@lists.freedesktop.org>
Cc: "Wentland, Harry" <Harry.Wentland@amd.com>,
"Li, Sun peng (Leo)" <Sunpeng.Li@amd.com>,
"Siqueira, Rodrigo" <Rodrigo.Siqueira@amd.com>,
"Pillai, Aurabindo" <Aurabindo.Pillai@amd.com>,
"Lin, Wayne" <Wayne.Lin@amd.com>,
"Gutierrez, Agustin" <Agustin.Gutierrez@amd.com>,
"Chung, ChiaHsuan (Tom)" <ChiaHsuan.Chung@amd.com>,
"Zuo, Jerry" <Jerry.Zuo@amd.com>,
"Mohamed, Zaeem" <Zaeem.Mohamed@amd.com>
Subject: Re: RE: [PATCH 12/13] drm/amd/display: Fix a typo in revert commit
Date: Mon, 19 Aug 2024 10:37:09 +0200 [thread overview]
Message-ID: <360cabdc-3ba7-47a0-8e4f-f0ed8cea54bc@kernel.org> (raw)
In-Reply-To: <CY8PR12MB81935FA7A89D077A2D0DADB489812@CY8PR12MB8193.namprd12.prod.outlook.com>
On 16. 08. 24, 21:30, Li, Roman wrote:
> [Public]
>
> Wiil update commit message as:
>
> -------------
> drm/amd/display: Fix MST DSC lightup
>
> [Why]
> Secondary monitor does not come up due to MST DSC bw calculation regression.
This patch is only related to this. It does not fix that issue on its
own at all.
> [How]
> Fix bug in try_disable_dsc()
This update is worse than the original, IMO.
Could you write saner commit logs in the whole amdgpu overall?
If you insist on those [why] and [how] parts, something like:
"""
[Why]
The linked commit below misreverted one hunk in try_disable_dsc().
[How]
Fix that by using proper (original) 'max_kbps' instead of bogus
'stream_kbps'.
""
> Fixes: 4b6564cb120c ("drm/amd/display: Fix MST BW calculation Regression")
>
> Cc: mario.limonciello@amd.com
> Cc: alexander.deucher@amd.com
> Cc: stable@vger.kernel.org
> Reported-by: jirislaby@kernel.org
Care to fix up your machinery so that listed people are really CCed? I
received a copy of neither the original (4b6564cb120c), nor this one.
Nor any mentions in the linked #3495 at all.
I would have told you that 4b6564cb120c is bogus. Immediately when it
hit me as it differs from our (SUSE) in-tree revert in exactly this
hunk. If I have known about this in the first place...
And you would have received a Tested-by if it had worked.
Given all the above, amdgpu workflow appears to be very ill. Please fix it.
> Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3495
> Closes: https://bugzilla.suse.com/show_bug.cgi?id=1228093
> Reviewed-by: Roman Li <roman.li@amd.com>
> Signed-off-by: Fangzhi Zuo <Jerry.Zuo@amd.com>
> Signed-off-by: Roman Li <roman.li@amd.com>
> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
>
>
>> -----Original Message-----
>> From: Roman.Li@amd.com <Roman.Li@amd.com>
>> Sent: Thursday, August 15, 2024 6:45 PM
>> To: amd-gfx@lists.freedesktop.org
>> Cc: Wentland, Harry <Harry.Wentland@amd.com>; Li, Sun peng (Leo)
>> <Sunpeng.Li@amd.com>; Siqueira, Rodrigo <Rodrigo.Siqueira@amd.com>;
>> Pillai, Aurabindo <Aurabindo.Pillai@amd.com>; Li, Roman
>> <Roman.Li@amd.com>; Lin, Wayne <Wayne.Lin@amd.com>; Gutierrez,
>> Agustin <Agustin.Gutierrez@amd.com>; Chung, ChiaHsuan (Tom)
>> <ChiaHsuan.Chung@amd.com>; Zuo, Jerry <Jerry.Zuo@amd.com>;
>> Mohamed, Zaeem <Zaeem.Mohamed@amd.com>; Zuo, Jerry
>> <Jerry.Zuo@amd.com>
>> Subject: [PATCH 12/13] drm/amd/display: Fix a typo in revert commit
>>
>> From: Fangzhi Zuo <Jerry.Zuo@amd.com>
>>
>> A typo is fixed for "drm/amd/display: Fix MST BW calculation Regression"
>>
>> Fixes: 4b6564cb120c ("drm/amd/display: Fix MST BW calculation
>> Regression")
>>
>> Reviewed-by: Roman Li <roman.li@amd.com>
>> Signed-off-by: Fangzhi Zuo <Jerry.Zuo@amd.com>
>> Signed-off-by: Roman Li <roman.li@amd.com>
>> ---
>> drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git
>> a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c
>> b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c
>> index 958fad0d5307..5e08ca700c3f 100644
>> --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c
>> +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c
>> @@ -1066,7 +1066,7 @@ static int try_disable_dsc(struct drm_atomic_state
>> *state,
>> vars[next_index].dsc_enabled = false;
>> vars[next_index].bpp_x16 = 0;
>> } else {
>> - vars[next_index].pbn =
>> kbps_to_peak_pbn(params[next_index].bw_range.stream_kbps,
>> fec_overhead_multiplier_x1000);
>> + vars[next_index].pbn =
>> kbps_to_peak_pbn(params[next_index].bw_range.max_kbps,
>> fec_overhead_multiplier_x1000);
>> ret = drm_dp_atomic_find_time_slots(state,
>>
>> params[next_index].port->mgr,
>>
>> params[next_index].port,
thanks,
--
js
suse labs
next prev parent reply other threads:[~2024-08-19 8:37 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-15 22:45 [PATCH 00/13] DC Patches August 15, 2024 Roman.Li
2024-08-15 22:45 ` [PATCH 01/13] Revert "drm/amd/display: Update to using new dccg callbacks" Roman.Li
2024-08-15 22:45 ` [PATCH 02/13] drm/amd/display: Update HPO I/O When Handling Link Retrain Automation Request Roman.Li
2024-08-15 22:45 ` [PATCH 03/13] drm/amd/display: remove an extraneous call for checking dchub clock Roman.Li
2024-08-15 22:45 ` [PATCH 04/13] drm/amd/display: Remove redundant check in DCN35 hwseq Roman.Li
2024-08-15 22:45 ` [PATCH 05/13] drm/amd/display: Allow UHBR Interop With eDP Supported Link Rates Table Roman.Li
2024-08-15 22:45 ` [PATCH 06/13] drm/amd/display: Hardware cursor changes color when switched to software cursor Roman.Li
2024-08-15 22:45 ` [PATCH 07/13] drm/amd/display: Support UHBR10 link rate on eDP Roman.Li
2024-08-15 22:45 ` [PATCH 08/13] drm/amd/display: Fix construct_phy with MXM connector Roman.Li
2024-08-15 22:45 ` [PATCH 09/13] drm/amd/display: DCN35 set min dispclk to 50Mhz Roman.Li
2024-08-15 22:45 ` [PATCH 10/13] drm/amd/display: fix double free issue during amdgpu module unload Roman.Li
2024-08-15 22:45 ` [PATCH 11/13] drm/amd/display: DML2.1 Reintegration for Various Fixes Roman.Li
2024-08-15 22:45 ` [PATCH 12/13] drm/amd/display: Fix a typo in revert commit Roman.Li
2024-08-16 19:30 ` Li, Roman
2024-08-19 8:37 ` Jiri Slaby [this message]
2024-08-19 14:29 ` Li, Roman
2024-08-20 4:49 ` Jiri Slaby
2024-08-20 18:28 ` Zuo, Jerry
2024-08-21 4:24 ` Jiri Slaby
2024-08-21 19:50 ` Zuo, Jerry
2024-08-15 22:45 ` [PATCH 13/13] drm/amd/display: Promote DC to 3.2.297 Roman.Li
2024-08-16 18:47 ` [PATCH 00/13] DC Patches August 15, 2024 Wheeler, Daniel
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=360cabdc-3ba7-47a0-8e4f-f0ed8cea54bc@kernel.org \
--to=jirislaby@kernel.org \
--cc=Agustin.Gutierrez@amd.com \
--cc=Aurabindo.Pillai@amd.com \
--cc=ChiaHsuan.Chung@amd.com \
--cc=Harry.Wentland@amd.com \
--cc=Jerry.Zuo@amd.com \
--cc=Rodrigo.Siqueira@amd.com \
--cc=Roman.Li@amd.com \
--cc=Sunpeng.Li@amd.com \
--cc=Wayne.Lin@amd.com \
--cc=Zaeem.Mohamed@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