mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
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>
This commit is contained in:
committed by
Alex Deucher
parent
9e72813f69
commit
bf7fda0b37
@@ -292,4 +292,6 @@ void dm_dtn_log_append_v(struct dc_context *ctx,
|
||||
void dm_dtn_log_end(struct dc_context *ctx,
|
||||
struct dc_log_buffer_ctx *log_ctx);
|
||||
|
||||
char *dce_version_to_string(const int version);
|
||||
|
||||
#endif /* __DM_SERVICES_H__ */
|
||||
|
||||
Reference in New Issue
Block a user