From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: "Kahola, Mika" <mika.kahola@intel.com>
Cc: "igt-dev@lists.freedesktop.org" <igt-dev@lists.freedesktop.org>
Subject: Re: [igt-dev] [PATCH RFC i-g-t 03/10] tests/kms_ccs: Add GEN12 CCS render compression format modifiers
Date: Wed, 30 Oct 2019 15:55:09 +0200 [thread overview]
Message-ID: <20191030135509.GK1208@intel.com> (raw)
In-Reply-To: <a8be2131a885f5ba66df2ed010ac4591c31c6872.camel@intel.com>
On Wed, Oct 30, 2019 at 01:47:22PM +0000, Kahola, Mika wrote:
> On Tue, 2019-10-29 at 14:27 -0700, Radhakrishna Sripada wrote:
> > On Wed, Sep 25, 2019 at 04:09:24PM +0300, Mika Kahola wrote:
> > > Add GEN12 CCS format modifiers for render compression.
> > >
> > > Signed-off-by: Mika Kahola <mika.kahola@intel.com>
> > > ---
> > > tests/kms_ccs.c | 17 ++++++++++++++---
> > > 1 file changed, 14 insertions(+), 3 deletions(-)
> > >
> > > diff --git a/tests/kms_ccs.c b/tests/kms_ccs.c
> > > index 1ce66cde..cde62416 100644
> > > --- a/tests/kms_ccs.c
> > > +++ b/tests/kms_ccs.c
> > > @@ -75,6 +75,10 @@ static const uint64_t ccs_modifiers[] = {
> > > LOCAL_I915_FORMAT_MOD_Yf_TILED_CCS,
> > > };
> > >
> > > +static const uint64_t ccs_gen12_modifiers[] = {
> > > + LOCAL_I915_FORMAT_MOD_Y_TILED_GEN12_RC_CCS,
> > > +};
> > > +
> > > /*
> > > * Limit maximum used sprite plane width so this test will not
> > > mistakenly
> > > * fail on hardware limitations which are not interesting to this
> > > test.
> > > @@ -307,9 +311,16 @@ static int __test_output(data_t *data)
> > >
> > > igt_output_set_pipe(data->output, data->pipe);
> > >
> > > - for (i = 0; i < ARRAY_SIZE(ccs_modifiers); i++) {
> > > - data->ccs_modifier = ccs_modifiers[i];
> > > - valid_tests += test_ccs(data);
> > > + if (intel_gen(intel_get_drm_devid(data->drm_fd)) >= 12) {
> > > + for (i = 0; i < ARRAY_SIZE(ccs_gen12_modifiers); i++) {
> > > + data->ccs_modifier = ccs_gen12_modifiers[i];
> >
> > Do we skip the gen9 ccs modifiers here?
> The idea here was to use gen12 modifiers for gen12+ platforms.
We have igt_display_has_format_mod() & co.
Though we should perhaps also check that we don't accept the wrong
modifiers. But that's probably better handled by some other test.
In fact I seem to recall having posted one like that. Ah yes, these
two:
https://patchwork.freedesktop.org/patch/239809/?series=46876&rev=1
https://patchwork.freedesktop.org/patch/239814/?series=46876&rev=1
>
> Actually, I noticed from BSpec later on that 90/270 is not supported
> for render compression (BSpec #49252) and I need to update the patch
> accordingly.
>
> >
> > - Radhakrishna(RK) Sripada
> > > + valid_tests += test_ccs(data);
> > > + }
> > > + } else {
> > > + for (i = 0; i < ARRAY_SIZE(ccs_modifiers); i++) {
> > > + data->ccs_modifier = ccs_modifiers[i];
> > > + valid_tests += test_ccs(data);
> > > + }
> > > }
> > >
> > > igt_output_set_pipe(data->output, PIPE_NONE);
> > > --
> > > 2.17.1
> > >
> > > _______________________________________________
> > > igt-dev mailing list
> > > igt-dev@lists.freedesktop.org
> > > https://lists.freedesktop.org/mailman/listinfo/igt-dev
> _______________________________________________
> igt-dev mailing list
> igt-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/igt-dev
--
Ville Syrjälä
Intel
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
next prev parent reply other threads:[~2019-10-30 13:55 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-25 13:09 [igt-dev] [PATCH RFC i-g-t 00/10] GEN12 render and media compression with Clear Color Mika Kahola
2019-09-25 13:09 ` [igt-dev] [PATCH RFC i-g-t 01/10] Format modifier for Intel Gen-12 render compression Mika Kahola
2019-10-29 21:26 ` Radhakrishna Sripada
2019-09-25 13:09 ` [igt-dev] [PATCH RFC i-g-t 02/10] lib/igt_fb.c: Update tile sizes for GEN12 CCS Mika Kahola
2019-10-29 21:25 ` Radhakrishna Sripada
2019-10-30 11:23 ` Kahola, Mika
2019-09-25 13:09 ` [igt-dev] [PATCH RFC i-g-t 03/10] tests/kms_ccs: Add GEN12 CCS render compression format modifiers Mika Kahola
2019-10-29 21:27 ` Radhakrishna Sripada
2019-10-30 13:47 ` Kahola, Mika
2019-10-30 13:55 ` Ville Syrjälä [this message]
2019-09-25 13:09 ` [igt-dev] [PATCH RFC i-g-t 04/10] Format modifier for Intel Gen-12 media compression Mika Kahola
2019-09-25 13:09 ` [igt-dev] [PATCH RFC i-g-t 05/10] lib/igt_fb.c: Update tile sizes for GEN12 MCS Mika Kahola
2019-09-25 13:09 ` [igt-dev] [PATCH RFC i-g-t 06/10] tests/kms_ccs: Add GEN12 CCS media compression format modifiers Mika Kahola
2019-09-25 13:09 ` [igt-dev] [PATCH RFC i-g-t 07/10] Format modifier for Gen-12 render engine with Color Clear Mika Kahola
2019-09-25 13:09 ` [igt-dev] [PATCH RFC i-g-t 08/10] lib/igt_fb.c: Update tile sizes for GEN12 " Mika Kahola
2019-10-29 21:31 ` Radhakrishna Sripada
2019-10-30 10:29 ` Kahola, Mika
2019-09-25 13:09 ` [igt-dev] [PATCH RFC i-g-t 09/10] tests/kms_ccs: Add GEN12 CCS Color Clear format modifiers Mika Kahola
2019-09-25 13:09 ` [igt-dev] [PATCH RFC i-g-t 10/10] tests/kms_getgfb: Update GEN12 CCS " Mika Kahola
2019-09-25 14:04 ` [igt-dev] ✓ Fi.CI.BAT: success for GEN12 render and media compression with Clear Color Patchwork
2019-09-26 4:23 ` [igt-dev] ✗ 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=20191030135509.GK1208@intel.com \
--to=ville.syrjala@linux.intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=mika.kahola@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.