diff options
author | 2020-07-21 14:01:53 +0800 | |
---|---|---|
committer | 2020-08-06 16:26:42 -0400 | |
commit | 2f32faec004319a609982859a2b47459ae838888 (patch) | |
tree | c02d48b0dac7ab29410e3cc70b57ee91cb9caa81 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/amd/powerplay: remove the dpm checking in the boot sequence (diff) | |
download | linux-dev-2f32faec004319a609982859a2b47459ae838888.tar.xz linux-dev-2f32faec004319a609982859a2b47459ae838888.zip |
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 <Likun.Gao@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions