From: Matthew Auld <matthew.auld@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 2/3] tests/intel/xe_ccs: require flat CCS on xe2
Date: Wed, 31 Jan 2024 12:28:29 +0000 [thread overview]
Message-ID: <ad54fad7-ccc1-4902-a49c-aa0e69f6e22f@intel.com> (raw)
In-Reply-To: <20240131122106.4qqf727lanaawtid@zkempczy-mobl2>
On 31/01/2024 12:21, Zbigniew Kempczyński wrote:
> On Wed, Jan 31, 2024 at 11:43:04AM +0000, Matthew Auld wrote:
>> On Xe2 compression is handled via PAT indexes and flat CCS, even on
>> igpu. Ensure the device has flat CCS support on such hardware, to
>> determine if these tests are valid.
>>
>> Signed-off-by: Matthew Auld <matthew.auld@intel.com>
>> Cc: Akshata Jahagirdar <akshata.jahagirdar@intel.com>
>> Cc: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
>> ---
>> tests/intel/xe_ccs.c | 2 ++
>> 1 file changed, 2 insertions(+)
>>
>> diff --git a/tests/intel/xe_ccs.c b/tests/intel/xe_ccs.c
>> index 7d0e8ed7a..88f812c91 100644
>> --- a/tests/intel/xe_ccs.c
>> +++ b/tests/intel/xe_ccs.c
>> @@ -653,6 +653,8 @@ igt_main_args("bf:pst:W:H:", NULL, help_str, opt_handler, NULL)
>> igt_fixture {
>> xe = drm_open_driver(DRIVER_XE);
>> igt_require(blt_has_block_copy(xe));
>> + if (AT_LEAST_GEN(xe, 20))
>> + igt_require(HAS_FLATCCS(xe));
>
> We have block-copy-uncompressed which doesn't require flatccs.
> I included this in xe_ccs.c to avoid duplicating the test code.
> Shouldn't above check be in compressed subtests?
Yes, I think that makes sense. I didn't look closely enough here.
>
> --
> Zbigniew
>
>>
>> xe_device_get(xe);
>>
>> --
>> 2.43.0
>>
next prev parent reply other threads:[~2024-01-31 12:28 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-31 11:43 [PATCH i-g-t 1/3] lib/intel_device_info: set has_flatccs on LNL Matthew Auld
2024-01-31 11:43 ` [PATCH i-g-t 2/3] tests/intel/xe_ccs: require flat CCS on xe2 Matthew Auld
2024-01-31 12:21 ` Zbigniew Kempczyński
2024-01-31 12:28 ` Matthew Auld [this message]
2024-01-31 11:43 ` [PATCH i-g-t 3/3] tests/intel/xe_pat: assert flat CSS support for xe2 Matthew Auld
2024-02-01 9:13 ` Zbigniew Kempczyński
2024-01-31 12:13 ` ✓ CI.xeBAT: success for series starting with [i-g-t,1/3] lib/intel_device_info: set has_flatccs on LNL Patchwork
2024-01-31 12:18 ` [PATCH i-g-t 1/3] " Zbigniew Kempczyński
2024-01-31 12:28 ` ✓ Fi.CI.BAT: success for series starting with [i-g-t,1/3] " 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=ad54fad7-ccc1-4902-a49c-aa0e69f6e22f@intel.com \
--to=matthew.auld@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