Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Karolina Stolarek <karolina.stolarek@intel.com>
To: Kamil Konieczny <kamil.konieczny@linux.intel.com>
Cc: igt-dev@lists.freedesktop.org
Subject: Re: [igt-dev] [PATCH i-g-t] lib/intel_batchbuffer: Remove unused argument in exec_blit
Date: Mon, 3 Jul 2023 09:27:44 +0200	[thread overview]
Message-ID: <df7bf6c0-4d1f-3259-4c58-53fb1b0bc2ba@intel.com> (raw)
In-Reply-To: <20230630154349.s2uihetlo7agaw3p@kamilkon-desk1>

On 30.06.2023 17:43, Kamil Konieczny wrote:
> Hi Karolina,
> On 2023-06-28 at 10:10:50 +0200, Karolina Stolarek wrote:
>> We don't use information about platform's gen anymore, so
>> stop passing it in.
>>
>> Signed-off-by: Karolina Stolarek <karolina.stolarek@intel.com>
> 
> Even if it will be needed we can get it from fd, so

That is true, many thanks for the review, Kamil.

And I see that my changes are already merged, even more thanks to you :)

All the best,
Karolina

> 
> Reviewed-by: Kamil Konieczny <kamil.konieczny@linux.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
>>

      reply	other threads:[~2023-07-03  7:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

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=df7bf6c0-4d1f-3259-4c58-53fb1b0bc2ba@intel.com \
    --to=karolina.stolarek@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=kamil.konieczny@linux.intel.com \
    /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