drm/amd/display: Show the DCN/DCE version in the log
authorRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Tue, 25 Apr 2023 20:42:29 +0000 (14:42 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:34:09 +0000 (09:34 -0400)
commitbf7fda0b3736f93ac8b18e7147e1e7acd27e6a19
tree51d7eeb68d5177ba62cad49216ba7fc36a63d34e
parent9e72813f69b178b676a54c4d6b24d3e84492b61a
drm/amd/display: Show the DCN/DCE version in the log

Some times people send their dmesg log for debugging, and one common
task is to check the modesetting line to catch which DCN/DCE we need to
debug. This commit introduces a simple conversion from the DCN/DCE
version to a string shown in the dmesg log.

Reviewed-by: Hamza Mahfooz <Hamza.Mahfooz@amd.com>
Acked-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
drivers/gpu/drm/amd/display/dc/dc_helper.c
drivers/gpu/drm/amd/display/dc/dm_services.h