diff options
| author | Shuicheng Lin <shuicheng.lin@intel.com> | 2026-09-23 17:15:27 +0000 |
|---|---|---|
| committer | Shuicheng Lin <shuicheng.lin@intel.com> | 2026-09-25 08:34:45 -0700 |
| commit | 40bf599da3f821f6e00b2e36f026264098f7c0ca (patch) | |
| tree | a8eadd9c5ee516943c49ba6512621436cf9eb5e3 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 5f058063197cd9db5ea73807223ea0df28ebfb82 (diff) | |
| download | linux-40bf599da3f821f6e00b2e36f026264098f7c0ca.tar.gz linux-40bf599da3f821f6e00b2e36f026264098f7c0ca.zip | |
drm/xe: Remove no-op ternary in emit_flush_invalidate()
'|' binds tighter than the conditional operator, so the trailing
"?: 0" tests the whole OR expression instead of just the TLB flag.
MI_FLUSH_DW is non-zero, so the condition is always true and the
expression evaluates to itself.
Drop the ternary. The mask already yields 0 when MI_INVALIDATE_TLB
is not set.
No functional change.
Cc: Matthew Auld <matthew.auld@intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Assisted-by: LLM
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patch.msgid.link/20260923171527.663537-1-shuicheng.lin@intel.com
Signed-off-by: Shuicheng Lin <shuicheng.lin@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
