diff options
| author | Timur Kristóf <timur.kristof@gmail.com> | 2026-01-19 21:36:25 +0100 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-01-21 14:22:11 -0500 |
| commit | e53dcefe30df4f317161f36e8bc11926e7dd7a2e (patch) | |
| tree | fc5f4ad9b5ff96a58a508f6294cc892e33d21aca /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | 966d70f1e160bdfdecaf7ff2b3f22ad088516e9f (diff) | |
drm/amd/pm: Return -EOPNOTSUPP when can't read power limit
So that hwmon_attributes_visible() will see that the power2_cap
attributes should not be visible on GPUs that don't support
the get_power_limit() function.
This fixes an error when running the "sensors" command on SI.
Fixes: 12c958d1db36 ("drm/amd/pm: Expose ppt1 limit for gc_v9_5_0")
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
