aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/modules/freesync/freesync.c
diff options
context:
space:
mode:
authorThomas Hellström <[email protected]>2025-08-21 14:30:45 +0000
committerRodrigo Vivi <[email protected]>2025-08-26 14:12:11 +0000
commit2b55ddf36229e0278c956215784ab1feeff510aa (patch)
tree68324465471855325f7073d40fd19154c38733cf /drivers/gpu/drm/amd/display/modules/freesync/freesync.c
parentdrm/xe/vm: Don't pin the vm_resv during validation (diff)
downloadkernel-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