diff options
| author | Thomas Hellström <[email protected]> | 2025-03-07 10:01:09 +0000 |
|---|---|---|
| committer | Rodrigo Vivi <[email protected]> | 2025-03-10 15:42:25 +0000 |
| commit | 9106713bd2ab0cacd380cda0d3f0219f2e488086 (patch) | |
| tree | d6d62fd90ae308b12d47fe8a063ec4f18fd6b8f9 /rust/helpers/platform.c | |
| parent | drm/xe: Release guc ids before cancelling work (diff) | |
| download | kernel-9106713bd2ab0cacd380cda0d3f0219f2e488086.tar.gz kernel-9106713bd2ab0cacd380cda0d3f0219f2e488086.zip | |
drm/xe/userptr: Fix an incorrect assert
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 <[email protected]>
Cc: Matthew Brost <[email protected]>
Signed-off-by: Thomas Hellström <[email protected]>
Reviewed-by: Matthew Auld <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit 70e5043ba85eae199b232e39921abd706b5c1fa4)
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions
