[PATCH] drm/xe/userptr: Fix an incorrect assert

Matthew Auld matthew.auld at intel.com
Fri Mar 7 13:19:52 UTC 2025


On 07/03/2025 10:01, Thomas Hellström wrote:
> The assert incorrectly checks the total length processed which
> can in fact be greater than the number of pages. Fix.
> 
> Fixes: 0a98219bcc96 ("drm/xe/hmm: Don't dereference struct page pointers without notifier lock")
> Cc: Matthew Auld <matthew.auld at intel.com>
> Cc: Matthew Brost <matthew.brost at intel.com>
> Signed-off-by: Thomas Hellström <thomas.hellstrom at linux.intel.com>
Reviewed-by: Matthew Auld <matthew.auld at intel.com>



More information about the Intel-xe mailing list