drm/amdgpu: add missing DCE6 to dce_version_to_string()
Subsystems (3)
PATCH 1/1 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 <[email protected]>
--- drivers/gpu/drm/amd/display/dc/dc_helper.c | 6 ++++++ 1 file changed, 6 insertions(+)
drivers/gpu/drm/amd/display/dc/dc_helper.c +6 -0
@@ -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 :
Signature · 1 line
2.49.0
Alex Deucher
AppliedApplied. Thanks!
Quoted 28 lines · Alexandre Demers
Missing DCE 6.0 6.1 and 6.4 are identified as UNKNOWN. Fix this.
Signed-off-by Alexandre Demers <[email protected]>--- drivers/gpu/drm/amd/display/dc/dc_helper.c | 6 ++++++ 1 file changed, 6 insertions(+)drivers/gpu/drm/amd/display/dc/dc_helper.c +6
-1@@ -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 : --2.49.0