diff options
| author | Likun Gao <[email protected]> | 2020-07-21 14:01:53 +0800 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-07-23 10:44:09 -0400 |
| commit | ebee9621bbc1e9f07e105121bf2d4d5debd435fd (patch) | |
| tree | 7f96f7b4be186024287ddd81ef19f4eba9e62eab /tools/perf/scripts | |
| parent | 2afda735c5504e1258a0ec259aceec2078d3da67 (diff) | |
drm/amd/powerplay: skip invalid msg when smu set mp1 state
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
fact do not support for that.
Signed-off-by: Likun Gao <[email protected]>
Reviewed-by: Evan Quan <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions