[PATCH] drm/xe: Add warn when level can not be zero.

Matthew Auld matthew.auld at intel.com
Tue May 21 10:58:29 UTC 2024


On 21/05/2024 11:36, Nirmoy Das wrote:
> At xe_pt_zap_ptes_entry() and xe_pt_stage_unbind_entry, the level cannot
> be 0. Therefore, add an independent check for the level. Since the level
> cannot be zero at this point, there is no need to check for `is_compact`,
> so remove that instead.
> 
> Cc: Matthew Auld <matthew.auld at intel.com>
> Signed-off-by: Nirmoy Das <nirmoy.das at intel.com>
Reviewed-by: Matthew Auld <matthew.auld at intel.com>


More information about the Intel-xe mailing list