summaryrefslogtreecommitdiff
path: root/include/linux/kdebug.h
diff options
context:
space:
mode:
authorUmesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>2026-03-12 15:53:09 +0300
committerUmesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>2026-03-18 06:55:16 +0300
commit466e75d48038af252187855058a7a9312db9d2f8 (patch)
tree227bbb8077050caa9dd95e78c7c29618f6ad0073 /include/linux/kdebug.h
parent4ff57c5e8dbba23b5457be12f9709d5c016da16e (diff)
downloadlinux-466e75d48038af252187855058a7a9312db9d2f8.tar.xz
drm/xe/lrc: Fix uninitialized new_ts when capturing context timestamp
Getting engine specific CTX TIMESTAMP register can fail. In that case, if the context is active, new_ts is uninitialized. Fix that case by initializing new_ts to the last value that was sampled in SW - lrc->ctx_timestamp. Flagged by static analysis. v2: Fix new_ts initialization (Ashutosh) Fixes: bb63e7257e63 ("drm/xe: Avoid toggling schedule state to check LRC timestamp in TDR") Signed-off-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com> Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com> Link: https://patch.msgid.link/20260312125308.3126607-2-umesh.nerlige.ramappa@intel.com
Diffstat (limited to 'include/linux/kdebug.h')
0 files changed, 0 insertions, 0 deletions