summaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorTomasz Lis <tomasz.lis@intel.com>2025-11-24 23:28:53 +0100
committerThomas Hellström <thomas.hellstrom@linux.intel.com>2025-12-01 10:16:17 +0100
commitd72312d730450aab225a80bc84436757b85b08b5 (patch)
treeb740d940baacf8b62d5b7b2c961f9eadd943a7c1 /lib/debugobjects.c
parent3d98a7164da666634c76647abc94218fff3d4f92 (diff)
drm/xe: Protect against unset LRC when pausing submissions
While pausing submissions, it is possible to encouner an exec queue which is during creation, and therefore doesn't have a valid xe_lrc struct reference. Protect agains such situation, by checking for NULL before access. Reviewed-by: Matthew Brost <matthew.brost@intel.com> Fixes: c25c1010df88 ("drm/xe/vf: Replay GuC submission state on pause / unpause") Signed-off-by: Tomasz Lis <tomasz.lis@intel.com> Signed-off-by: Matthew Brost <matthew.brost@intel.com> Link: https://patch.msgid.link/20251124222853.1900800-1-tomasz.lis@intel.com (cherry picked from commit 07cf4b864f523f01d2bb522a05813df30b076ba8) Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions