diff options
| author | Thomas Hellström <[email protected]> | 2025-08-21 14:30:45 +0000 |
|---|---|---|
| committer | Rodrigo Vivi <[email protected]> | 2025-08-26 14:12:11 +0000 |
| commit | 2b55ddf36229e0278c956215784ab1feeff510aa (patch) | |
| tree | 68324465471855325f7073d40fd19154c38733cf /drivers/gpu/drm/amd/display/modules/freesync/freesync.c | |
| parent | drm/xe/vm: Don't pin the vm_resv during validation (diff) | |
| download | kernel-2b55ddf36229e0278c956215784ab1feeff510aa.tar.gz kernel-2b55ddf36229e0278c956215784ab1feeff510aa.zip | |
drm/xe/vm: Clear the scratch_pt pointer on error
Avoid triggering a dereference of an error pointer on cleanup in
xe_vm_free_scratch() by clearing any scratch_pt error pointer.
Signed-off-by: Thomas Hellström <[email protected]>
Fixes: 06951c2ee72d ("drm/xe: Use NULL PTEs as scratch PTEs")
Cc: Brian Welty <[email protected]>
Cc: Rodrigo Vivi <[email protected]>
Cc: Lucas De Marchi <[email protected]>
Cc: <[email protected]> # v6.8+
Reviewed-by: Matthew Brost <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
(cherry picked from commit 358ee50ab565f3c8ea32480e9d03127a81ba32f8)
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules/freesync/freesync.c')
0 files changed, 0 insertions, 0 deletions
