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

Karthik Poosa karthik.poosa at intel.com
Fri Apr 5 13:01: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.

v3:
 - Rebase.
 - Fix review comments.

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 result to output precision on left shift of operand

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

-- 
2.25.1



More information about the Intel-xe mailing list