diff options
| author | Lucas De Marchi <lucas.demarchi@intel.com> | 2024-06-17 22:00:42 -0700 |
|---|---|---|
| committer | Matt Roper <matthew.d.roper@intel.com> | 2024-06-18 12:03:28 -0700 |
| commit | dc72c52a42e0255441bed7444ab16f2b6c98b681 (patch) | |
| tree | fe35aaa57379e1ace2a5c0ece4a4698d49409880 /include | |
| parent | drm/xe/rtp: Expand max rules/actions per entry (diff) | |
| download | linux-dc72c52a42e0255441bed7444ab16f2b6c98b681.tar.gz linux-dc72c52a42e0255441bed7444ab16f2b6c98b681.zip | |
drm/xe/rtp: Allow to OR rules
Some workarounds started to depend on different set of conditions where
the action should be applied if any of them match. See e.g.
commit 24d0d98af1c3 ("drm/xe/xe2lpm: Fixup Wa_14020756599"). Add
XE_RTP_MATCH_OR that allows to implement a logical OR for the rules.
Normal precedence applies:
r1, r2, OR, r3
means
(r1 AND r2) OR r3
The check is shortcut as soon as a set of conditions match.
v2: Do not match on empty number of rules-other-than-OR evaluated
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240618050044.324454-4-lucas.demarchi@intel.com
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
