diff options
| author | Lucas De Marchi <lucas.demarchi@intel.com> | 2024-07-26 18:59:07 -0700 | 
|---|---|---|
| committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2024-07-29 11:19:40 -0700 | 
| commit | dbcbfc72d3b660b6dd9ea7d2c089c228609714ec (patch) | |
| tree | afdf4309a59733328258dad3fcff371e1dff3109 /rust/helpers/workqueue.c | |
| parent | 1c408c516414fd9760c54f6d42ed1fa44a1dff15 (diff) | |
drm/xe: Migrate OOB WAs to OR rules
Now that rtp has OR rules, it's not needed to extend it to process OOB
WAs. Previously if an entry had no name, it was considered as "a set of
rules OR'ed with the last named entry".
Instead of generating new entries, add OR rules. The syntax for
xe_wa_oob.rules remains the same, with xe_gen_wa_oob generating the
slightly different table. Object sizes delta are negligible, but having
just one logic makes it easier to maintain:
	add/remove: 0/0 grow/shrink: 1/2 up/down: 160/-269 (-109)
	Function                                     old     new   delta
	__compound_literal                          6104    6264    +160
	xe_wa_dump                                  1839    1810     -29
	oob_was                                      816     576    -240
	Total: Before=17257, After=17148, chg -0.63%
Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240727015907.899192-9-lucas.demarchi@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions
