drm/amdgpu: init smuio v13_0_6 callbacks
authorHawking Zhang <Hawking.Zhang@amd.com>
Sat, 8 Jan 2022 09:13:37 +0000 (17:13 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 4 May 2022 13:54:46 +0000 (09:54 -0400)
initialize smuio callback for soc21

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c

index 8343545..34c22fd 100644 (file)
@@ -70,6 +70,7 @@
 #include "smuio_v11_0.h"
 #include "smuio_v11_0_6.h"
 #include "smuio_v13_0.h"
+#include "smuio_v13_0_6.h"
 
 #define FIRMWARE_IP_DISCOVERY "amdgpu/ip_discovery.bin"
 MODULE_FIRMWARE(FIRMWARE_IP_DISCOVERY);
@@ -2229,6 +2230,9 @@ int amdgpu_discovery_set_ip_blocks(struct amdgpu_device *adev)
        case IP_VERSION(13, 0, 2):
                adev->smuio.funcs = &smuio_v13_0_funcs;
                break;
+       case IP_VERSION(13, 0, 6):
+               adev->smuio.funcs = &smuio_v13_0_6_funcs;
+               break;
        default:
                break;
        }