[PATCH] drm/amd/powerplay: add msg map for mode1 reset
Quan, Evan
Evan.Quan at amd.com
Thu Jul 23 03:52:10 UTC 2020
It's Ok to have the valid_in_vf setting as 1 for now.
As I know the sriov support for sienna_cichlid is not ready now.
We can revise these when that comes.
Reviewed-by: Evan Quan <evan.quan at amd.com>
BR,
Evan
-----Original Message-----
From: Sheng, Wenhui <Wenhui.Sheng at amd.com>
Sent: Tuesday, July 21, 2020 4:09 PM
To: Gao, Likun <Likun.Gao at amd.com>; amd-gfx at lists.freedesktop.org
Cc: Zhang, Hawking <Hawking.Zhang at amd.com>; Quan, Evan <Evan.Quan at amd.com>
Subject: RE: [PATCH] drm/amd/powerplay: add msg map for mode1 reset
[AMD Official Use Only - Internal Distribution Only]
Commit : 81a5f33903a30574 has already contains this change, not sure why it disappear in current branch.
And does it make sense to set valid_in_vf to be true? Mode1 reset shouldn't be supported in vf mode I think.
Brs
Wenhui
-----Original Message-----
From: Gao, Likun <Likun.Gao at amd.com>
Sent: Tuesday, July 21, 2020 1:21 PM
To: amd-gfx at lists.freedesktop.org
Cc: Zhang, Hawking <Hawking.Zhang at amd.com>; Sheng, Wenhui <Wenhui.Sheng at amd.com>; Quan, Evan <Evan.Quan at amd.com>; Gao, Likun <Likun.Gao at amd.com>
Subject: [PATCH] drm/amd/powerplay: add msg map for mode1 reset
From: Likun Gao <Likun.Gao at amd.com>
Mapping Mode1Reset message for sienna_cichlid.
Signed-off-by: Likun Gao <Likun.Gao at amd.com>
Change-Id: I9b8d39b10c7723af4589577fdbfa4acd5af6e85d
---
drivers/gpu/drm/amd/powerplay/sienna_cichlid_ppt.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/amd/powerplay/sienna_cichlid_ppt.c b/drivers/gpu/drm/amd/powerplay/sienna_cichlid_ppt.c
index cae8e776fafe..bf3d6bbba930 100644
--- a/drivers/gpu/drm/amd/powerplay/sienna_cichlid_ppt.c
+++ b/drivers/gpu/drm/amd/powerplay/sienna_cichlid_ppt.c
@@ -118,6 +118,7 @@ static struct cmn2asic_msg_mapping sienna_cichlid_message_map[SMU_MSG_MAX_COUNT]
MSG_MAP(PowerDownJpeg, PPSMC_MSG_PowerDownJpeg, 1),
MSG_MAP(BacoAudioD3PME, PPSMC_MSG_BacoAudioD3PME, 1),
MSG_MAP(ArmD3, PPSMC_MSG_ArmD3, 1),
+ MSG_MAP(Mode1Reset, PPSMC_MSG_Mode1Reset, 1),
};
static struct cmn2asic_mapping sienna_cichlid_clk_map[SMU_CLK_COUNT] = {
--
2.25.1
More information about the amd-gfx
mailing list