summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKarthik Poosa <karthik.poosa@intel.com>2026-10-15 12:44:19 +0530
committerDave Airlie <airlied@redhat.com>2026-11-09 19:17:55 +1000
commit94099304b80e8c6e842c2626f603930577938f3a (patch)
tree8a30d599aae5c241f4f9f1660e9850836509b16f /tools/perf/scripts/python
parent31ac48502b2d2d953249c1cd1bf3d38667049a00 (diff)
drm/xe/hwmon: Fix pcode power limit handling
Return early on pcode read failure in xe_hwmon_pcode_rmw_power_limit() and propagate errors to callers. Replace boot_power_limit_read with per-channel read_power_limit_from_pcode[], set on the first successful pcode write, so reads and writes stay consistent even if the default limit write at boot fails. Also return PWR_LIM_EN for power label so card label visibility works. v2: Move default power limit writes to helper xe_hwmon_pcode_set_default_power_limits(). Fixes: 8aa7306631f0 ("drm/xe/hwmon: Fix xe_hwmon_power_max_write") Signed-off-by: Karthik Poosa <karthik.poosa@intel.com> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Link: https://patch.msgid.link/20261015071434.1063785-2-karthik.poosa@intel.com Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com> (cherry picked from commit c5b502e43f7cd6456663d5bae495551646a5e125) Signed-off-by: Matthew Brost <matthew.brost@intel.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions