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

Karthik Poosa karthik.poosa at intel.com
Thu Apr 4 10:08:23 UTC 2024


Split changes in version 4 of this patch series into separate patches
as per comment from Lucas.

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.

v2:
 - Rebase.
 - Fix checkpatch warnings.

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         | 106 +++++++++++++-------------
 2 files changed, 57 insertions(+), 51 deletions(-)

-- 
2.25.1



More information about the Intel-xe mailing list