On 12/11/24 08:18, Hung, Alex wrote:
[AMD Official Use Only - AMD Internal Distribution Only]


Hi Guenter,

Thanks for the updates.

This may be a real issue. Please file a bug at 
https://gitlab.freedesktop.org/drm/amd/-/issues 
<https://gitlab.freedesktop.org/drm/amd/-/issues> and share your setup. This 
helps us investigate further.


Following up here for reference:

The problem is seen if an older dmcub firmware is installed. In my case,
my system is Ubuntu 22.04 running a 6.12.x kernel. Apparently Ubuntu 22.04
does not install the latest dmcub firmware. Copying and using the firmware
from Ubuntu 24.04 makes the problem disappear.

Thanks a lot to Alex for pointing me into the right direction.

Guenter


------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
*From:* Guenter Roeck <[email protected]> on behalf of Guenter Roeck 
<[email protected]>
*Sent:* 10 December 2024 20:17
*To:* Hung, Alex <[email protected]>
*Cc:* [email protected] <[email protected]>; Wentland, Harry <[email protected]>; Li, Sun peng (Leo) 
<[email protected]>; Siqueira, Rodrigo <[email protected]>; Pillai, Aurabindo <[email protected]>; Li, Roman 
<[email protected]>; Lin, Wayne <[email protected]>; Gutierrez, Agustin <[email protected]>; Chung, ChiaHsuan (Tom) 
<[email protected]>; [email protected] <[email protected]>; Zuo, Jerry <[email protected]>; Kazlauskas, Nicholas 
<[email protected]>; Ma, Duncan <[email protected]>
*Subject:* Re: [PATCH 10/34] drm/amd/display: Add debug prints for IPS testing
Hi,

On Wed, Feb 28, 2024 at 11:39:16AM -0700, Alex Hung wrote:
From: Nicholas Kazlauskas <[email protected]>

[WHY]
To log commit states and when we transition in/out of allow and idle
states and the caller.

[HOW]
Add a new logging helper and wrap idle optimization calls to receive
the caller.

Reviewed-by: Duncan Ma <[email protected]>
Acked-by: Alex Hung <[email protected]>
Signed-off-by: Nicholas Kazlauskas <[email protected]>
---
...
+     DC_LOG_ERROR("%s: DMCUB error - collecting diagnostic data\n", __func__);
+

This patch generates _lots_ of logging noise.

[689208.336969] amdgpu 0000:03:00.0: [drm] *ERROR* 
dc_dmub_srv_log_diagnostic_data: DMCUB error - collecting diagnostic data
[689219.628141] amdgpu 0000:03:00.0: [drm] *ERROR* 
dc_dmub_srv_log_diagnostic_data: DMCUB error - collecting diagnostic data
[689221.098993] amdgpu 0000:03:00.0: [drm] *ERROR* 
dc_dmub_srv_log_diagnostic_data: DMCUB error - collecting diagnostic data
[689222.645994] amdgpu 0000:03:00.0: [drm] *ERROR* 
dc_dmub_srv_log_diagnostic_data: DMCUB error - collecting diagnostic data
[689225.341470] amdgpu 0000:03:00.0: [drm] *ERROR* 
dc_dmub_srv_log_diagnostic_data: DMCUB error - collecting diagnostic data
[689226.467388] amdgpu 0000:03:00.0: [drm] *ERROR* 
dc_dmub_srv_log_diagnostic_data: DMCUB error - collecting diagnostic data
[689226.716755] amdgpu 0000:03:00.0: [drm] *ERROR* 
dc_dmub_srv_log_diagnostic_data: DMCUB error - collecting diagnostic data
[689231.507746] amdgpu 0000:03:00.0: [drm] *ERROR* 
dc_dmub_srv_log_diagnostic_data: DMCUB error - collecting diagnostic data
[689247.287990] amdgpu 0000:03:00.0: [drm] *ERROR* 
dc_dmub_srv_log_diagnostic_data: DMCUB error - collecting diagnostic data
[689252.441150] amdgpu 0000:03:00.0: [drm] *ERROR* 
dc_dmub_srv_log_diagnostic_data: DMCUB error - collecting diagnostic data

I disabled it in my private kernel build, so no problem for me. However,
searching for the string on the web shows lots of complaints. Not my call
to make, but claiming that this patch adds "debug prints for IPS testing"
seems to be a bit misleading.

Guenter

Reply via email to