summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc
diff options
context:
space:
mode:
authorKarthik Poosa <karthik.poosa@intel.com>2026-10-15 12:44:22 +0530
committerDave Airlie <airlied@redhat.com>2026-11-09 19:17:55 +1000
commitf2a144e9891b397aebcfc0e88906c29bc079322d (patch)
treef8ada77da527da5257ed84f0939149a35159b7fa /rust/kernel/alloc
parentd37dcdaa99b18995d74c2381b103e308f21e2565 (diff)
drm/xe/hwmon: Add helpers to validate thermal sensor readings
Add mmio_temp_valid() and mbx_temp_valid() to check whether a temperature sensor reading is valid. An MMIO value of 0xFFFFFFFF or a mailbox value of 0xFF indicates the sensor is unavailable. Gate these checks behind has_temp_sentinel, enabled on CRI currently. Signed-off-by: Karthik Poosa <karthik.poosa@intel.com> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Link: https://patch.msgid.link/20261015071434.1063785-5-karthik.poosa@intel.com Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Signed-off-by: Matthew Brost <matthew.brost@intel.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'rust/kernel/alloc')
0 files changed, 0 insertions, 0 deletions