RE: [PATCH] drm/amd/powerplay: skip invalid msg when smu set mp1 state

2020-07-22 Thread Quan, Evan
: skip invalid msg when smu set mp1 state From: Likun Gao Some asic may not support for some message of set mp1 state. If the return value of smu_send_smc_msg is -EINVAL, that means it failed to send msg to smc as it can not map an valid message for the ASIC. And with that case, smu_set_mp1_state

答复: [PATCH] drm/amd/powerplay: skip invalid msg when smu set mp1 state

2020-07-21 Thread Gao, Likun
; Zhang, Hawking 主题: RE: [PATCH] drm/amd/powerplay: skip invalid msg when smu set mp1 state [AMD Official Use Only - Internal Distribution Only] Then why we don't handle it directly in smu_cmn_send_smc_msg_with_param where is more near to the source of the problem. And there is similar logic

RE: [PATCH] drm/amd/powerplay: skip invalid msg when smu set mp1 state

2020-07-21 Thread Chen, Jiansong (Simon)
nal Message- From: amd-gfx On Behalf Of Likun Gao Sent: Tuesday, July 21, 2020 2:30 PM To: amd-gfx@lists.freedesktop.org Cc: Gao, Likun ; Quan, Evan ; Sheng, Wenhui ; Zhang, Hawking Subject: [PATCH] drm/amd/powerplay: skip invalid msg when smu set mp1 state From: Likun Gao Some asic

[PATCH] drm/amd/powerplay: skip invalid msg when smu set mp1 state

2020-07-21 Thread Likun Gao
From: Likun Gao Some asic may not support for some message of set mp1 state. If the return value of smu_send_smc_msg is -EINVAL, that means it failed to send msg to smc as it can not map an valid message for the ASIC. And with that case, smu_set_mp1_state should be skipped as those ASIC was in