Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] i915/gem_ctx_exec: Open master device when setting error state
@ 2022-07-28 12:47 Nirmoy Das
  2022-07-28 14:05 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
  2022-07-28 17:15 ` [igt-dev] [PATCH i-g-t] " Dixit, Ashutosh
  0 siblings, 2 replies; 3+ messages in thread
From: Nirmoy Das @ 2022-07-28 12:47 UTC (permalink / raw)
  To: igt-dev

Error capture file is in /sys/class/drm/cardN/error so open the
master device instead of render dev when test needs to change
error state sysfs file.

Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/6268
Signed-off-by: Nirmoy Das <nirmoy.das@intel.com>
---
 tests/i915/gem_ctx_exec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/i915/gem_ctx_exec.c b/tests/i915/gem_ctx_exec.c
index 3d94f01db..a85ea971c 100644
--- a/tests/i915/gem_ctx_exec.c
+++ b/tests/i915/gem_ctx_exec.c
@@ -456,7 +456,7 @@ igt_main
 	int fd;
 
 	igt_fixture {
-		fd = drm_open_driver_render(DRIVER_INTEL);
+		fd = drm_open_driver_master(DRIVER_INTEL);
 		igt_require_gem(fd);
 
 		gem_require_contexts(fd);
-- 
2.35.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-07-28 17:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-28 12:47 [igt-dev] [PATCH i-g-t] i915/gem_ctx_exec: Open master device when setting error state Nirmoy Das
2022-07-28 14:05 ` [igt-dev] ✗ Fi.CI.BAT: failure for " Patchwork
2022-07-28 17:15 ` [igt-dev] [PATCH i-g-t] " Dixit, Ashutosh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox