summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c
diff options
context:
space:
mode:
authorKenneth Feng <kenneth.feng@amd.com>2023-06-20 15:07:25 +0800
committerAlex Deucher <alexander.deucher@amd.com>2024-05-02 16:18:11 -0400
commit32d1637689893971b65658a359d03ef4fa30e049 (patch)
tree4dfe11381a1aeb3dccdff22394286d85c49a6f9a /drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c
parentaf204b76a7cab18a54c6fcf78b57c1dff7bbc0b5 (diff)
drm/amd/amdgpu: imu fw loading support
support imu related function for gfx v12. Signed-off-by: Kenneth Feng <kenneth.feng@amd.com> Signed-off-by: Likun Gao <Likun.Gao@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c
index afb977e1dfc8..1253053d1033 100644
--- a/drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c
@@ -30,6 +30,7 @@
#include "amdgpu_psp.h"
#include "amdgpu_smu.h"
#include "amdgpu_atomfirmware.h"
+#include "imu_v12_0.h"
#include "soc24.h"
#include "nvd.h"
@@ -4523,8 +4524,7 @@ static void gfx_v12_0_set_imu_funcs(struct amdgpu_device *adev)
else
adev->gfx.imu.mode = DEBUG_MODE;
- /* TODO */
- //adev->gfx.imu.funcs = &gfx_v12_0_imu_funcs;
+ adev->gfx.imu.funcs = &gfx_v12_0_imu_funcs;
}
static void gfx_v12_0_set_rlc_funcs(struct amdgpu_device *adev)