Lines Matching +full:test +full:- +full:rules
1 /* SPDX-License-Identifier: MIT */
28 * Macros to encode rules to match against platform, IP version, stepping, etc.
29 * Shouldn't be used directly - see XE_RTP_RULES()
51 * XE_RTP_RULE_PLATFORM - Create rule matching platform
60 * XE_RTP_RULE_SUBPLATFORM - Create rule matching platform and sub-platform
62 * @sub_: sub-platform to match
70 * XE_RTP_RULE_GRAPHICS_STEP - Create rule matching graphics stepping
83 * XE_RTP_RULE_MEDIA_STEP - Create rule matching media stepping
96 * XE_RTP_RULE_ENGINE_CLASS - Create rule matching an engine class
105 * XE_RTP_RULE_FUNC - Create rule using callback function for match
119 * XE_RTP_RULE_GRAPHICS_VERSION - Create rule matching graphics version
129 * XE_RTP_RULE_GRAPHICS_VERSION_RANGE - Create rule matching a range of graphics version
143 * XE_RTP_RULE_MEDIA_VERSION - Create rule matching media version
153 * XE_RTP_RULE_MEDIA_VERSION_RANGE - Create rule matching a range of media version
167 * XE_RTP_RULE_IS_INTEGRATED - Create a rule matching integrated graphics devices
175 * XE_RTP_RULE_IS_DISCRETE - Create a rule matching discrete graphics devices
183 * XE_RTP_ACTION_WR - Helper to write a value to the register, overriding all
199 * XE_RTP_ACTION_SET - Set bits from @val_ in the register.
257 * XE_RTP_ACTION_WHITELIST - Add register to userspace whitelist
259 * @val_: Whitelist-specific flags to set
273 * XE_RTP_NAME - Helper to set the name in xe_rtp_entry
274 * @s_: Name describing this rule, often a HW-specific number
281 * XE_RTP_ENTRY_FLAG - Helper to add multiple flags to a struct xe_rtp_entry_sr
287 * .. code-block:: c
291 * { XE_RTP_NAME("test-entry"),
303 * XE_RTP_ACTION_FLAG - Helper to add multiple flags to a struct xe_rtp_action
309 * .. code-block:: c
313 * { XE_RTP_NAME("test-entry"),
325 * XE_RTP_RULES - Helper to set multiple rules to a struct xe_rtp_entry_sr entry
326 * @...: Rules
328 * At least one rule is needed and up to 4 are supported. Multiple rules are
329 * AND'ed together, i.e. all the rules must evaluate to true for the entry to
330 * be processed. See XE_RTP_MATCH_* for the possible match rules. Example:
332 * .. code-block:: c
336 * { XE_RTP_NAME("test-entry"),
345 .rules = (const struct xe_rtp_rule[]) { \
350 * XE_RTP_ACTIONS - Helper to set multiple actions to a struct xe_rtp_entry_sr
356 * .. code-block:: c
360 * { XE_RTP_NAME("test-entry"),
392 * xe_rtp_match_even_instance - Match if engine instance is even
402 * xe_rtp_match_first_render_or_compute - Match if it's first render or compute
408 * Registers on the render reset domain need to have their values re-applied
420 * xe_rtp_match_first_gslice_fused_off - Match when first gslice is fused off