[PATCH v3] drm/xe/hwmon: Update xe hwmon with couple of fixes

Lucas De Marchi lucas.demarchi at intel.com
Wed Apr 3 16:45:46 UTC 2024


On Wed, Apr 03, 2024 at 07:54:47PM +0530, Nilawar, Badal wrote:
>>>Should this be added in xe_regs.h or xe_hwmon.c ?
>>
>>drivers/gpu/drm/xe/regs/xe_reg_defs.h
>Function will look like
>bool xe_reg_is_valid(struct xe_reg reg)
>{	
>	if(!reg.raw)
>		return false;

Read my other replies. No, you shouldn't use reg.raw.

Lucas De Marchi


More information about the Intel-xe mailing list