[PATCH v7 2/4] drm/xe/hwmon: Update xe_hwmon_get_reg to return struct xe_reg

Lucas De Marchi lucas.demarchi at intel.com
Tue Apr 9 16:55:44 UTC 2024


On Fri, Apr 05, 2024 at 06:31:25PM +0530, Karthik Poosa wrote:
>Return struct xe_reg instead of reg.raw from xe_hwmon_get_reg
>to have abstracted usage of struct xe_reg.
>
>v2:
> - Use xe_reg_is_valid function instead of XE_REG_IS_VALID macro
>   as it is removed.
>
>Signed-off-by: Karthik Poosa <karthik.poosa at intel.com>
>Suggested-by: Lucas De Marchi <lucas.demarchi at intel.com>
>Cc: Badal Nilawar <badal.nilawar at intel.com>


Reviewed-by: Lucas De Marchi <lucas.demarchi at intel.com>

Lucas De Marchi


More information about the Intel-xe mailing list