Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/amdgpu/pm: add definition PPSMC_MSG_ResetSDMA2

add the PPSMC_MSG_ResetSDMA2 definition for smu 13.0.6

Signed-off-by: Jesse Zhang <jesse.zhang@amd.com>
Reviewed-by: Tim Huang <tim.huang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Jesse Zhang and committed by
Alex Deucher
c8fd3a74 39b0fa29

+4 -1
+1
drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu_v13_0_6_ppsmc.h
··· 93 93 #define PPSMC_MSG_SelectPLPDMode 0x40 94 94 #define PPSMC_MSG_RmaDueToBadPageThreshold 0x43 95 95 #define PPSMC_MSG_SelectPstatePolicy 0x44 96 + #define PPSMC_MSG_ResetSDMA2 0x45 96 97 #define PPSMC_MSG_ResetSDMA 0x4D 97 98 #define PPSMC_Message_Count 0x4E 98 99
+2 -1
drivers/gpu/drm/amd/pm/swsmu/inc/smu_types.h
··· 276 276 __SMU_DUMMY_MAP(SelectPstatePolicy), \ 277 277 __SMU_DUMMY_MAP(MALLPowerController), \ 278 278 __SMU_DUMMY_MAP(MALLPowerState), \ 279 - __SMU_DUMMY_MAP(ResetSDMA), 279 + __SMU_DUMMY_MAP(ResetSDMA), \ 280 + __SMU_DUMMY_MAP(ResetSDMA2), 280 281 281 282 #undef __SMU_DUMMY_MAP 282 283 #define __SMU_DUMMY_MAP(type) SMU_MSG_##type
+1
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c
··· 209 209 MSG_MAP(RmaDueToBadPageThreshold, PPSMC_MSG_RmaDueToBadPageThreshold, 0), 210 210 MSG_MAP(SelectPstatePolicy, PPSMC_MSG_SelectPstatePolicy, 0), 211 211 MSG_MAP(ResetSDMA, PPSMC_MSG_ResetSDMA, 0), 212 + MSG_MAP(ResetSDMA2, PPSMC_MSG_ResetSDMA2, 0), 212 213 }; 213 214 214 215 // clang-format on