aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorMario Limonciello <mario.limonciello@amd.com>2021-11-01 16:17:27 -0500
committerAlex Deucher <alexander.deucher@amd.com>2021-11-03 12:22:07 -0400
commita035be8a05bf7b9591cff1be4e9175bd5edab35a (patch)
tree391effb654c9fb88271e51daa196aed4a0b38811 /tools/perf/scripts/python/libxed.py
parent067558177be63c38935f2668cb270e42d37e6372 (diff)
drm/amd/pm: Adjust returns when power_profile_mode is not supported
This better aligns that the caller can make a mistake with the buffer and -EINVAL should be returned, but if the hardware doesn't support the feature it should be -EOPNOTSUPP. Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Reviewed-by: Lijo Lazar <lijo.lazar@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions