From: Karolina Stolarek <karolina.stolarek@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t] lib/intel_batchbuffer: Remove unused argument in exec_blit
Date: Wed, 28 Jun 2023 10:10:50 +0200 [thread overview]
Message-ID: <20230628081050.2002028-1-karolina.stolarek@intel.com> (raw)
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
next reply other threads:[~2023-06-28 8:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-28 8:10 Karolina Stolarek [this message]
2023-06-28 10:26 ` [igt-dev] ✓ Fi.CI.BAT: success for lib/intel_batchbuffer: Remove unused argument in exec_blit 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230628081050.2002028-1-karolina.stolarek@intel.com \
--to=karolina.stolarek@intel.com \
--cc=igt-dev@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox