drm/amdgpu: add missing DCE6 to dce_version_to_string()
authorAlexandre Demers <alexandre.f.demers@gmail.com>
Sun, 13 Apr 2025 20:51:21 +0000 (16:51 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 21 Apr 2025 14:54:41 +0000 (10:54 -0400)
Missing DCE 6.0 6.1 and 6.4 are identified as UNKNOWN. Fix this.

Signed-off-by: Alexandre Demers <alexandre.f.demers@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dc_helper.c

index 72b87b78da0e7712124d9ba3b1223447036e5e0d..7217de25885112d050b1cb0b54c1b59402f0b1ce 100644 (file)
@@ -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: