[PATCH v5 0/4] drm/xe/hwmon: Update xe hwmon with couple of fixes

Karthik Poosa karthik.poosa at intel.com
Thu Apr 4 03:54:37 UTC 2024


Spit changes patch series into separate patches as per comment from Lucas.
https://patchwork.freedesktop.org/series/131765/

Made below changes as per review comments from Lucas, Badal, Rodrigo.

drm/xe/hwmon:
 - Update xe_hwmon_get_reg and xe_hwmon_process_reg protypes.
 - Address a potential overflow.

drm/xe:
 - Define XE_REG_IS_VALID.

Karthik Poosa (4):
  drm/xe: Define XE_REG_IS_VALID
  drm/xe/hwmon: Update xe_hwmon_get_reg to return struct xe_reg
  drm/xe/hwmon: Update xe_hwmon_process_reg
  drm/xe/hwmon: Cast to output precision before multiplying operands

 drivers/gpu/drm/xe/regs/xe_reg_defs.h |  2 +
 drivers/gpu/drm/xe/xe_hwmon.c         | 96 ++++++++++++++-------------
 2 files changed, 52 insertions(+), 46 deletions(-)

-- 
2.25.1



More information about the Intel-xe mailing list