aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAlexandre Demers <alexandre.f.demers@gmail.com>2025-04-13 16:51:21 -0400
committerAlex Deucher <alexander.deucher@amd.com>2025-04-21 10:54:41 -0400
commit00ec6732a9ef5af89fb7f7e71604d5227bbdc4de (patch)
tree3dceddd192558dd88811a6c91ca3f61b5dbda813 /drivers
parentdrm/amdgpu: fix typo in bios_parser.c (diff)
downloadlinux-00ec6732a9ef5af89fb7f7e71604d5227bbdc4de.tar.gz
linux-00ec6732a9ef5af89fb7f7e71604d5227bbdc4de.zip
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 <alexandre.f.demers@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dc_helper.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dc_helper.c b/drivers/gpu/drm/amd/display/dc/dc_helper.c
index 72b87b78da0e..7217de258851 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: