summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Huang <tim.huang@amd.com>2022-05-06 16:25:40 +0300
committerAlex Deucher <alexander.deucher@amd.com>2022-05-16 17:02:57 +0300
commit563cb2d82f3792075b43753d6589061d5d60edcc (patch)
treec9ede5315d9081b01431c5730666217abb2e3dca
parent6384d44bc4aea1de1dd77825429d9889b084f021 (diff)
downloadlinux-563cb2d82f3792075b43753d6589061d5d60edcc.tar.xz
drm/amdgpu/pm: add EnableGfxImu message dummy map for SMU IP v13.0.4
The SMU needs this message to trigger IMU initialization. Signed-off-by: Tim Huang <tim.huang@amd.com> Reviewed-by: Huang Rui <ray.huang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r--drivers/gpu/drm/amd/pm/swsmu/inc/smu_types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/pm/swsmu/inc/smu_types.h b/drivers/gpu/drm/amd/pm/swsmu/inc/smu_types.h
index 799050ea7515..a1cb8e73e171 100644
--- a/drivers/gpu/drm/amd/pm/swsmu/inc/smu_types.h
+++ b/drivers/gpu/drm/amd/pm/swsmu/inc/smu_types.h
@@ -233,7 +233,8 @@
__SMU_DUMMY_MAP(Spare0), \
__SMU_DUMMY_MAP(UnforceGfxVid), \
__SMU_DUMMY_MAP(HeavySBR), \
- __SMU_DUMMY_MAP(SetBadHBMPagesRetiredFlagsPerChannel),
+ __SMU_DUMMY_MAP(SetBadHBMPagesRetiredFlagsPerChannel), \
+ __SMU_DUMMY_MAP(EnableGfxImu),
#undef __SMU_DUMMY_MAP
#define __SMU_DUMMY_MAP(type) SMU_MSG_##type