From: Karolina Stolarek <karolina.stolarek@intel.com>
To: "Zbigniew Kempczyński" <zbigniew.kempczynski@intel.com>
Cc: <igt-dev@lists.freedesktop.org>,
Akshata Jahagirdar <akshata.jahagirdar@intel.com>
Subject: Re: [PATCH i-g-t 1/2] lib/intel_blt: Add functions which extract and check object ccs data
Date: Wed, 10 Apr 2024 12:12:45 +0200 [thread overview]
Message-ID: <7911ca23-490e-42b1-8d3b-41b4d75887a0@intel.com> (raw)
In-Reply-To: <20240410083331.pgu4aunpcefh4zkt@zkempczy-mobl2>
On 10.04.2024 10:33, Zbigniew Kempczyński wrote:
> On Fri, Mar 29, 2024 at 02:31:36PM +0100, Karolina Stolarek wrote:
>>> +
>>> + blt_ctrl_surf_copy_init(fd, &surf);
>>> +
>>> + ccscopy = (uint32_t *)malloc(ccssize);
>>> + igt_assert(ccscopy);
>>> +
>>> + if (surf.driver == INTEL_DRIVER_XE) {
>>> + uint16_t cpu_caching = __xe_default_cpu_caching(fd, sysmem, 0);
>>
>> sysmem is undefined here, I'd move the definition from below to here (i.e.,
>> to the line before cpu_caching).
>
> Eh, well spotted. I've added xe path first and most variables were
> defined on the function beginning. When I've extended and added
> i915 path I've missed that.
No worries, that's what review is for :)
>> Apart from that, the patch looks good (+ one nit below). I haven't test it
>> on my machine, but I trust you played with your changes to verify their
>> correctness :)
>
> I've tested it on xe/xe2 machines and I didn't notice any issues.
Awesome, thanks. Once you fix the spotted issues, feel free to add my
r-b to both patches:
Reviewed-by: Karolina Stolarek <karolina.stolarek@intel.com>
Many thanks,
Karolina
next prev parent reply other threads:[~2024-04-10 10:13 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-29 9:16 [PATCH i-g-t 0/2] Add surface flat ccs check Zbigniew Kempczyński
2024-03-29 9:16 ` [PATCH i-g-t 1/2] lib/intel_blt: Add functions which extract and check object ccs data Zbigniew Kempczyński
2024-03-29 13:31 ` Karolina Stolarek
2024-04-10 8:33 ` Zbigniew Kempczyński
2024-04-10 10:12 ` Karolina Stolarek [this message]
2024-03-29 9:16 ` [PATCH i-g-t 2/2] tests/gem|xe_ccs: Check surface ccs data instead of naive comparison Zbigniew Kempczyński
2024-03-29 13:40 ` Karolina Stolarek
2024-04-10 8:37 ` Zbigniew Kempczyński
2024-03-29 10:21 ` ✓ CI.xeBAT: success for Add surface flat ccs check Patchwork
2024-03-29 10:24 ` ✓ Fi.CI.BAT: " Patchwork
2024-03-30 12:24 ` ✗ Fi.CI.IGT: failure " Patchwork
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=7911ca23-490e-42b1-8d3b-41b4d75887a0@intel.com \
--to=karolina.stolarek@intel.com \
--cc=akshata.jahagirdar@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