]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/amdgpu: Initialize smuio functions for smuio v15_0_8
authorHawking Zhang <Hawking.Zhang@amd.com>
Sun, 2 Nov 2025 10:03:05 +0000 (18:03 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Dec 2025 18:56:31 +0000 (13:56 -0500)
Add initialization for smuio funcs specific to v15.0.8

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Yang Wang <kevinyang.wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c

index 9799e645b6bcc1916cda4a225a5f15f2e9340e42..959136c163ffb2a18eb82af0989d21072fe1a306 100644 (file)
 #include "smuio_v13_0_3.h"
 #include "smuio_v13_0_6.h"
 #include "smuio_v14_0_2.h"
+#include "smuio_v15_0_8.h"
 #include "vcn_v5_0_0.h"
 #include "vcn_v5_0_1.h"
 #include "jpeg_v5_0_0.h"
@@ -3143,6 +3144,9 @@ int amdgpu_discovery_set_ip_blocks(struct amdgpu_device *adev)
        case IP_VERSION(14, 0, 2):
                adev->smuio.funcs = &smuio_v14_0_2_funcs;
                break;
+       case IP_VERSION(15, 0, 8):
+               adev->smuio.funcs = &smuio_v15_0_8_funcs;
+               break;
        default:
                break;
        }