Skip to content

Commit d33724f

Browse files
Wayne Linalexdeucher
authored andcommitted
drm/amd/display: Avoid flooding unnecessary info messages
It's expected that we'll encounter temporary exceptions during aux transactions. Adjust logging from drm_info to drm_dbg_dp to prevent flooding with unnecessary log messages. Fixes: 3637e45 ("drm/amd/display: Fix wrong handling for AUX_DEFER case") Cc: Mario Limonciello <mario.limonciello@amd.com> Cc: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Wayne Lin <Wayne.Lin@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Link: https://lore.kernel.org/r/20250513032026.838036-1-Wayne.Lin@amd.com Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit 9a9c3e1) Cc: stable@vger.kernel.org
1 parent a3b7e65 commit d33724f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ static ssize_t dm_dp_aux_transfer(struct drm_dp_aux *aux,
107107
if (payload.write && result >= 0) {
108108
if (result) {
109109
/*one byte indicating partially written bytes*/
110-
drm_info(adev_to_drm(adev), "amdgpu: AUX partially written\n");
110+
drm_dbg_dp(adev_to_drm(adev), "amdgpu: AUX partially written\n");
111111
result = payload.data[0];
112112
} else if (!payload.reply[0])
113113
/*I2C_ACK|AUX_ACK*/
@@ -133,11 +133,11 @@ static ssize_t dm_dp_aux_transfer(struct drm_dp_aux *aux,
133133
break;
134134
}
135135

136-
drm_info(adev_to_drm(adev), "amdgpu: DP AUX transfer fail:%d\n", operation_result);
136+
drm_dbg_dp(adev_to_drm(adev), "amdgpu: DP AUX transfer fail:%d\n", operation_result);
137137
}
138138

139139
if (payload.reply[0])
140-
drm_info(adev_to_drm(adev), "amdgpu: AUX reply command not ACK: 0x%02x.",
140+
drm_dbg_dp(adev_to_drm(adev), "amdgpu: AUX reply command not ACK: 0x%02x.",
141141
payload.reply[0]);
142142

143143
return result;

0 commit comments

Comments
 (0)