Files
linux/drivers/gpu/drm/xe
Lucas De Marchi ae02c7b7fe drm/xe/rtp: Fix off-by-one when processing rules
Gustavo noticed an odd "+ 2" in rtp_mark_active() while processing
rtp rules and pointed that it should be "+ 1". In fact, while processing
entries without actions (OOB workarounds), if the WA is activated and
has OR rules, it will also inadvertently activate the very next
workaround.

Test in a LNL B0 platform by moving 18024947630 on top of 16020292621,
makes the latter become active:

	$ cat /sys/kernel/debug/dri/0/gt0/workarounds
	...
	OOB Workarounds
		18024947630
		16020292621
		14018094691
		16022287689
		13011645652
		22019338487_display

In future a kunit test will be added to cover the rtp checks for entries
without actions.

Fixes: fe19328b90 ("drm/xe/rtp: Add support for entries with no action")
Cc: Gustavo Sousa <gustavo.sousa@intel.com>
Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240726064337.797576-6-lucas.demarchi@intel.com
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
(cherry picked from commit fd6797ec50)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
2024-08-08 13:48:01 -04:00
..
2024-06-18 12:40:38 -07:00
2024-06-26 18:22:52 -04:00
2024-06-12 11:31:42 -04:00
2024-05-09 21:28:25 +02:00
2024-04-02 10:33:57 -07:00
2023-12-19 18:33:50 -05:00
2023-12-21 11:37:31 -05:00
2024-07-02 12:14:00 -04:00
2024-06-26 18:23:45 -04:00
2024-06-26 18:23:45 -04:00
2024-05-22 12:03:54 +02:00
2024-05-31 00:02:04 +02:00
2024-07-18 10:25:33 -04:00
2024-07-18 10:25:33 -04:00
2024-05-13 21:36:50 +02:00
2024-04-02 10:33:57 -07:00
2024-07-02 12:14:00 -04:00
2024-07-18 10:25:33 -04:00
2024-07-18 10:25:33 -04:00
2024-05-22 12:03:55 +02:00
2023-12-19 18:29:20 -05:00
2024-06-26 18:25:22 -04:00
2024-06-26 18:25:22 -04:00
2024-04-02 10:33:57 -07:00
2024-06-18 12:40:38 -07:00
2024-06-18 12:40:38 -07:00
2024-04-02 10:33:57 -07:00
2024-06-12 09:26:18 -07:00
2024-05-07 12:03:49 +02:00
2023-12-21 11:45:28 -05:00
2024-05-13 21:36:52 +02:00
2024-06-18 12:03:29 -07:00
2024-06-18 12:03:29 -07:00
2024-04-02 10:33:57 -07:00
2023-12-21 11:45:24 -05:00
2024-07-11 09:54:24 -04:00
2023-12-19 18:31:30 -05:00
2023-12-21 11:45:06 -05:00
2023-12-21 11:45:06 -05:00
2024-07-18 10:25:33 -04:00
2024-07-18 10:25:33 -04:00
2024-05-07 12:45:39 -04:00
2024-06-20 15:33:48 -07:00
2024-05-23 13:38:26 -04:00
2024-06-14 12:52:46 +02:00
2023-12-21 11:44:39 -05:00