summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorMichal Wajdeczko <michal.wajdeczko@intel.com>2026-01-28 23:27:13 +0100
committerMichal Wajdeczko <michal.wajdeczko@intel.com>2026-02-02 22:22:57 +0100
commit316b05ae7ed90544733f5c01e14f64d6e84a80dc (patch)
treeea45cf3eb49d5596c4e0270ab0890d2766134eb2 /tools/perf/scripts/python/bin
parent9f9c117ac566cb567dd56cc5b7564c45653f7a2a (diff)
drm/xe/pf: Simplify IS_SRIOV_PF macro
Instead of two having variants of the IS_SRIOV_PF macro, move the CONFIG_PCI_IOV check to the xe_device_is_sriov_pf() function and let the compiler optimize that. This will help us drop poor man's type check of the macro parameter that fails on const xe pointer. Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com> Reviewed-by: Shuicheng Lin <shuicheng.lin@intel.com> Link: https://patch.msgid.link/20260128222714.3056-1-michal.wajdeczko@intel.com
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions