[PATCH] drm/amdgpu: add missing DCE6 to dce_version_to_string()
Alex Deucher
alexdeucher at gmail.com
Mon Apr 14 15:08:24 UTC 2025
Applied. Thanks!
On Sun, Apr 13, 2025 at 4:51 PM Alexandre Demers
<alexandre.f.demers at gmail.com> wrote:
>
> Missing DCE 6.0 6.1 and 6.4 are identified as UNKNOWN. Fix this.
>
> Signed-off-by: Alexandre Demers <alexandre.f.demers at gmail.com>
> ---
> drivers/gpu/drm/amd/display/dc/dc_helper.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/dc_helper.c b/drivers/gpu/drm/amd/display/dc/dc_helper.c
> index b402be59b2c8..3d483b5193e1 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:
> --
> 2.49.0
>
More information about the amd-gfx
mailing list