[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3553af46-c9c5-cd33-e7f9-bf7a1a5f49a7@daenzer.net>
Date: Mon, 6 Jan 2020 12:29:59 +0100
From: Michel Dänzer <michel@...nzer.net>
To: Alex Deucher <alexdeucher@...il.com>,
Paul Menzel <pmenzel+amd-gfx@...gen.mpg.de>
Cc: David Airlie <airlied@...ux.ie>,
LKML <linux-kernel@...r.kernel.org>,
amd-gfx list <amd-gfx@...ts.freedesktop.org>,
Chang Zhu <Changfeng.Zhu@....com>,
Alex Deucher <alexander.deucher@....com>,
Christian König <christian.koenig@....com>
Subject: Re: Warning: check cp_fw_version and update it to realize GRBM
requires 1-cycle delay in cp firmware
On 2019-12-26 5:53 p.m., Alex Deucher wrote:
> On Thu, Dec 26, 2019 at 5:11 AM Paul Menzel
>>
>>> [ 13.446975] [drm] Warning: check cp_fw_version and update it to realize GRBM requires 1-cycle delay in cp firmware
>>
>> Chang, it looks like you added that warning in commit 11c6108934.
>>
>>> drm/amdgpu: add warning for GRBM 1-cycle delay issue in gfx9
>>>
>>> It needs to add warning to update firmware in gfx9
>>> in case that firmware is too old to have function to
>>> realize dummy read in cp firmware.
>>
>> Unfortunately, it looks like you did not even check how the warning is
>> formatted (needless spaces), so I guess this was totally untested. Also,
>> what is that warning about, and what is the user supposed to do? I am
>> unable to find `cp_fw_version` in the source code at all.
>>
>
> The code looks fine. Not sure why it's rendering funny in your log.
> DRM_WARN_ONCE("Warning: check cp_fw_version and update
> it to realize \
> GRBM requires 1-cycle delay in cp firmware\n");
Looks like the leading spaces after the backslash are included in the
string. Something like this should be better:
DRM_WARN_ONCE("Warning: check cp_fw_version and update "
"GRBM requires 1-cycle delay in cp firmware\n");
(or maybe the intention was to put the second sentence on a new line?)
--
Earthling Michel Dänzer | https://redhat.com
Libre software enthusiast | Mesa and X developer
Powered by blists - more mailing lists