Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] lib/intel_batchbuffer: Remove unused argument in exec_blit
@ 2023-06-28  8:10 Karolina Stolarek
  2023-06-28 10:26 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Karolina Stolarek @ 2023-06-28  8:10 UTC (permalink / raw)
  To: igt-dev

We don't use information about platform's gen anymore, so
stop passing it in.

Signed-off-by: Karolina Stolarek <karolina.stolarek@intel.com>
---
 lib/intel_batchbuffer.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/intel_batchbuffer.c b/lib/intel_batchbuffer.c
index 186f65aff..0e92c6f70 100644
--- a/lib/intel_batchbuffer.c
+++ b/lib/intel_batchbuffer.c
@@ -214,8 +214,8 @@ static uint32_t find_engine(const intel_ctx_cfg_t *cfg, unsigned int class)
 
 static void exec_blit(int fd,
 		      struct drm_i915_gem_exec_object2 *objs,
-		      uint32_t count, unsigned int gen,
-		      uint32_t ctx, const intel_ctx_cfg_t *cfg)
+		      uint32_t count, uint32_t ctx,
+		      const intel_ctx_cfg_t *cfg)
 {
 	struct drm_i915_gem_execbuffer2 exec;
 	uint32_t devid = intel_get_drm_devid(fd);
@@ -514,7 +514,7 @@ void igt_blitter_src_copy(int fd,
 		objs[2].flags |= EXEC_OBJECT_PINNED | EXEC_OBJECT_SUPPORTS_48B_ADDRESS;
 	}
 
-	exec_blit(fd, objs, 3, gen, ctx, cfg);
+	exec_blit(fd, objs, 3, ctx, cfg);
 
 	gem_close(fd, batch_handle);
 }
@@ -636,7 +636,7 @@ void igt_blitter_fast_copy__raw(int fd,
 		objs[2].flags |= EXEC_OBJECT_PINNED;
 	}
 
-	exec_blit(fd, objs, 3, intel_gen(intel_get_drm_devid(fd)), ctx, cfg);
+	exec_blit(fd, objs, 3, ctx, cfg);
 
 	gem_close(fd, batch_handle);
 }
-- 
2.25.1

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

end of thread, other threads:[~2023-07-03  7:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-28  8:10 [igt-dev] [PATCH i-g-t] lib/intel_batchbuffer: Remove unused argument in exec_blit Karolina Stolarek
2023-06-28 10:26 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2023-06-29  0:34 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2023-06-29  6:33   ` Karolina Stolarek
2023-06-30  7:34     ` Yedireswarapu, SaiX Nandan
2023-06-30  6:16 ` Patchwork
2023-06-30  7:13 ` [igt-dev] ✓ Fi.CI.IGT: success " Patchwork
2023-06-30 15:43 ` [igt-dev] [PATCH i-g-t] " Kamil Konieczny
2023-07-03  7:27   ` Karolina Stolarek

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