From: "Limonciello, Mario" <mario.limonciello@amd.com>
To: Harry Wentland <harry.wentland@amd.com>,
Roman.Li@amd.com, amd-gfx@lists.freedesktop.org,
Alexander.Deucher@amd.com, rodrigo.siqueira@amd.com
Cc: stable@vger.kernel.org
Subject: Re: [PATCH] drm/amd/display: Fully switch to dmub for all dcn21 asics
Date: Mon, 18 Oct 2021 08:39:43 -0500 [thread overview]
Message-ID: <237b9ecb-646d-f7f8-a281-33b5b105654f@amd.com> (raw)
In-Reply-To: <7955cd39-d659-fa0b-039b-87554f43c682@amd.com>
On 10/18/2021 08:38, Harry Wentland wrote:
> On 2021-10-15 18:31, Roman.Li@amd.com wrote:
>> From: Roman Li <Roman.Li@amd.com>
>>
>> [Why]
>> On renoir usb-c port stops functioning on resume after f/w update.
>> New dmub firmware caused regression due to conflict with dmcu.
>> With new dmub f/w dmcu is superseded and should be disabled.
>>
>> [How]
>> - Disable dmcu for all dcn21.
>>
>> Check dmesg for dmub f/w version.
>> The old firmware (before regression):
>> [drm] DMUB hardware initialized: version=0x00000001
>> All other versions require that patch for renoir.
>>
>> Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1735
>> Cc: stable@vger.kernel.org
>> Signed-off-by: Roman Li <Roman.Li@amd.com>
>
> Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Tested-by: Mario Limonciello <mario.limonciello@amd.com>
>
> Harry
>
>> ---
>> drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 3 +--
>> 1 file changed, 1 insertion(+), 2 deletions(-)
>>
>> 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 ff54550..e56f73e 100644
>> --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
>> +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
>> @@ -1356,8 +1356,7 @@ static int amdgpu_dm_init(struct amdgpu_device *adev)
>> switch (adev->ip_versions[DCE_HWIP][0]) {
>> case IP_VERSION(2, 1, 0):
>> init_data.flags.gpu_vm_support = true;
>> - if (ASICREV_IS_GREEN_SARDINE(adev->external_rev_id))
>> - init_data.flags.disable_dmcu = true;
>> + init_data.flags.disable_dmcu = true;
>> break;
>> case IP_VERSION(1, 0, 0):
>> case IP_VERSION(1, 0, 1):
>>
>
next prev parent reply other threads:[~2021-10-18 13:39 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-15 22:31 [PATCH] drm/amd/display: Fully switch to dmub for all dcn21 asics Roman.Li
2021-10-18 13:36 ` Alex Deucher
2021-10-18 13:38 ` Harry Wentland
2021-10-18 13:39 ` Limonciello, Mario [this message]
2021-10-18 13:41 ` Limonciello, Mario
2021-10-18 13:57 ` Harry Wentland
2021-10-18 14:12 ` Li, Roman
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=237b9ecb-646d-f7f8-a281-33b5b105654f@amd.com \
--to=mario.limonciello@amd.com \
--cc=Alexander.Deucher@amd.com \
--cc=Roman.Li@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=harry.wentland@amd.com \
--cc=rodrigo.siqueira@amd.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox