[PATCH i-g-t 3/4] lib/intel: MI_STORE_DWORD doesn't need secure batches on i965

Ville Syrjala ville.syrjala at linux.intel.com
Wed Oct 2 10:45:14 UTC 2024


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

Limit the MI_STORE_DWORD secure batch usage to just g4x and ilk.
i965 does not need this.

Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>
---
 lib/igt_gt.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/igt_gt.c b/lib/igt_gt.c
index a1075e8bbed1..b8faf2b7bd09 100644
--- a/lib/igt_gt.c
+++ b/lib/igt_gt.c
@@ -704,6 +704,7 @@ bool gem_store_dword_needs_secure(int fd)
 
 	switch (info->graphics_ver) {
 	case 4:
+		return info->is_eaglelake || info->is_cantiga;
 	case 5:
 		return true;
 	default:
-- 
2.45.2



More information about the igt-dev mailing list