summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMichal Wajdeczko <michal.wajdeczko@intel.com>2025-12-17 23:40:18 +0100
committerMichal Wajdeczko <michal.wajdeczko@intel.com>2025-12-17 23:42:40 +0100
commitce5971773651ad5c7e26aea29d72ea8887428774 (patch)
treeed611728f5d70a08abadb2b11a5fc47fb0c7e845 /include/linux
parent2f9405aaa4297f95b42c39779e24f74587a0b6bc (diff)
drm/xe: Introduce IF_ARGS macro utility
We want to extend our macro-based KLV list definitions with new information about the version from which given KLV is supported. Add utility IF_ARGS macro that can be used in code generators to emit different code based on the presence of additional arguments. Introduce macro itself and extend our kunit tests to cover it. We will use this macro in next patch. Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com> Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com> Acked-by: Matthew Brost <matthew.brost@intel.com> Link: https://patch.msgid.link/20251217224018.3490-1-michal.wajdeczko@intel.com
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions