Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Joshi, Kunal1" <kunal1.joshi@intel.com>
To: "Zbigniew Kempczyński" <zbigniew.kempczynski@intel.com>
Cc: igt-dev@lists.freedesktop.org
Subject: Re: [igt-dev] [PATCH i-g-t 2/2] lib/igt_fb: on xe driver switch from rendercopy to blitcopy
Date: Tue, 25 Jul 2023 15:46:19 +0530	[thread overview]
Message-ID: <74f54cd8-cbeb-a97f-9af1-4b64072ad2d6@intel.com> (raw)
In-Reply-To: <20230720100245.2lref6sw6j7btr7k@zkempczy-mobl2>

[-- Attachment #1: Type: text/plain, Size: 1147 bytes --]


On 7/20/2023 3:32 PM, Zbigniew Kempczyński wrote:
> On Tue, Jul 18, 2023 at 05:44:43PM +0530, Kunal Joshi wrote:
>> on xe driver use blitcopy for everything where otherwise would
>> use rendercopy.
>>
>> Signed-off-by: Juha-Pekka Heikkila<juhapekka.heikkila@gmail.com>
>> ---
>>   lib/igt_fb.c | 8 +++-----
>>   1 file changed, 3 insertions(+), 5 deletions(-)
>>
>> diff --git a/lib/igt_fb.c b/lib/igt_fb.c
>> index 6ce4b735a..f4bc800fe 100644
>> --- a/lib/igt_fb.c
>> +++ b/lib/igt_fb.c
>> @@ -2529,7 +2529,7 @@ static bool use_enginecopy(const struct igt_fb *fb)
>>   	if (!is_intel_device(fb->fd))
>>   		return false;
>>   
>> -	if (!is_xe_device(fb->fd) && blitter_ok(fb))
>> +	if (blitter_ok(fb))
>>   		return false;
> I stared to this and for me it looks we disable rendercopy at all
> for i915 as well for xe even if rendercopy is same for i915 and xe
> (intel-bb should handle this).
>
> --
> Zbigniew
>
Hello Zbigniew,

Blitter is preferred over render copy for perf/power and render copy is  
preferred for feature.
JP's changes are considering that fact. With this info does this patch 
look good?

Thanks and Regards
Kunal Joshi


[-- Attachment #2: Type: text/html, Size: 2046 bytes --]

  parent reply	other threads:[~2023-07-25 10:17 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-18 12:14 [igt-dev] [PATCH i-g-t 0/2] enable tiled framebuffers on xe driver Kunal Joshi
2023-07-18 12:14 ` [igt-dev] [PATCH i-g-t 1/2] lib/igt_fb: add intel_blt for blitter path on xe Kunal Joshi
2023-07-20  5:16   ` Zbigniew Kempczyński
2023-07-18 12:14 ` [igt-dev] [PATCH i-g-t 2/2] lib/igt_fb: on xe driver switch from rendercopy to blitcopy Kunal Joshi
2023-07-20 10:02   ` Zbigniew Kempczyński
2023-07-24  7:36     ` Joshi, Kunal1
2023-07-25 10:16     ` Joshi, Kunal1 [this message]
2023-07-25 10:23       ` Zbigniew Kempczyński
2023-07-27 13:59   ` Kamil Konieczny
2023-07-18 15:28 ` [igt-dev] ✓ Fi.CI.BAT: success for enable tiled framebuffers on xe driver Patchwork
2023-07-18 15:50 ` [igt-dev] ○ CI.xeBAT: info " Patchwork
2023-07-18 20:40 ` [igt-dev] ✓ Fi.CI.IGT: success " Patchwork
  -- strict thread matches above, loose matches on Subject: below --
2023-07-31  8:18 [igt-dev] [PATCH i-g-t 0/2] " Kunal Joshi
2023-07-31  8:18 ` [igt-dev] [PATCH i-g-t 2/2] lib/igt_fb: on xe driver switch from rendercopy to blitcopy Kunal Joshi

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=74f54cd8-cbeb-a97f-9af1-4b64072ad2d6@intel.com \
    --to=kunal1.joshi@intel.com \
    --cc=igt-dev@lists.freedesktop.org \
    --cc=zbigniew.kempczynski@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