diff options
| author | Karthik Poosa <karthik.poosa@intel.com> | 2026-10-15 12:44:22 +0530 |
|---|---|---|
| committer | Dave Airlie <airlied@redhat.com> | 2026-11-09 19:17:55 +1000 |
| commit | f2a144e9891b397aebcfc0e88906c29bc079322d (patch) | |
| tree | f8ada77da527da5257ed84f0939149a35159b7fa /rust/kernel/alloc | |
| parent | d37dcdaa99b18995d74c2381b103e308f21e2565 (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
