Skip to content

Commit 0a1253b

Browse files
superm1alexdeucher
authored andcommitted
drm/amd/display: Show link name in PSR status message
[Why] The PSR message was moved in commit 4321742 ("drm/amd/display: Move PSR support message into amdgpu_dm"). This message however shows for every single link without showing which link is which. This can send a confusing message to the user. [How] Add link name into the message. Fixes: 4321742 ("drm/amd/display: Move PSR support message into amdgpu_dm") Reviewed-by: Alex Hung <alex.hung@amd.com> Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org> Signed-off-by: Matthew Stewart <matthew.stewart2@amd.com> Tested-by: Dan Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit 99f77f6)
1 parent 80614c5 commit 0a1253b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5626,7 +5626,8 @@ static int amdgpu_dm_initialize_drm_device(struct amdgpu_device *adev)
56265626

56275627
if (psr_feature_enabled) {
56285628
amdgpu_dm_set_psr_caps(link);
5629-
drm_info(adev_to_drm(adev), "PSR support %d, DC PSR ver %d, sink PSR ver %d DPCD caps 0x%x su_y_granularity %d\n",
5629+
drm_info(adev_to_drm(adev), "%s: PSR support %d, DC PSR ver %d, sink PSR ver %d DPCD caps 0x%x su_y_granularity %d\n",
5630+
aconnector->base.name,
56305631
link->psr_settings.psr_feature_enabled,
56315632
link->psr_settings.psr_version,
56325633
link->dpcd_caps.psr_info.psr_version,

0 commit comments

Comments
 (0)