From: Alexandre Demers Date: Sun, 13 Apr 2025 20:51:21 +0000 (-0400) Subject: drm/amdgpu: add missing DCE6 to dce_version_to_string() X-Git-Tag: v6.16-rc1~144^2~10^2~197 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00ec6732a9ef5af89fb7f7e71604d5227bbdc4de;p=thirdparty%2Fkernel%2Flinux.git drm/amdgpu: add missing DCE6 to dce_version_to_string() Missing DCE 6.0 6.1 and 6.4 are identified as UNKNOWN. Fix this. Signed-off-by: Alexandre Demers Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/dc_helper.c b/drivers/gpu/drm/amd/display/dc/dc_helper.c index 72b87b78da0e7..7217de2588511 100644 --- a/drivers/gpu/drm/amd/display/dc/dc_helper.c +++ b/drivers/gpu/drm/amd/display/dc/dc_helper.c @@ -689,6 +689,12 @@ void reg_sequence_wait_done(const struct dc_context *ctx) char *dce_version_to_string(const int version) { switch (version) { + case DCE_VERSION_6_0: + return "DCE 6.0"; + case DCE_VERSION_6_1: + return "DCE 6.1"; + case DCE_VERSION_6_4: + return "DCE 6.4"; case DCE_VERSION_8_0: return "DCE 8.0"; case DCE_VERSION_8_1: