From: Ben Widawsky <ben@bwidawsk.net>
To: Daniel Vetter <daniel@ffwll.ch>
Cc: Intel GFX <intel-gfx@lists.freedesktop.org>,
DRI Development <dri-devel@lists.freedesktop.org>
Subject: Re: [PATCH 6/6] drm/i915: Add support for CCS modifiers
Date: Thu, 3 Aug 2017 10:20:11 -0700 [thread overview]
Message-ID: <20170803172011.GA7043@mail.bwidawsk.net> (raw)
In-Reply-To: <CAKMK7uFbZSK0_WXG0_ADKY2KK-K3v02=+Dxx2inrK1vh-EdR+A@mail.gmail.com>
On 17-08-03 10:08:51, Daniel Vetter wrote:
>On Wed, Aug 2, 2017 at 5:43 PM, Ben Widawsky <ben@bwidawsk.net> wrote:
>> On 17-08-02 12:14:15, Daniel Vetter wrote:
>>>
>>> On Tue, Aug 01, 2017 at 09:14:50AM -0700, Ben Widawsky wrote:
>>>>
>>>> On 17-07-31 10:29:55, Daniel Vetter wrote:
>>>> > On Sat, Jul 29, 2017 at 09:25:50AM -0700, Ben Widawsky wrote:
>>>> > > On 17-07-29 13:53:10, Daniel Stone wrote:
>>>> > > > Hi Ben,
>>>> > > >
>>>> > > > On 26 July 2017 at 19:08, Ben Widawsky <ben@bwidawsk.net> wrote:
>>>> > > > > + } else if (INTEL_GEN(dev_priv) >= 9) {
>>>> > > > > intel_primary_formats = skl_primary_formats;
>>>> > > > > num_formats = ARRAY_SIZE(skl_primary_formats);
>>>> > > > > - modifiers = skl_format_modifiers;
>>>> > > > > + if (pipe >= PIPE_C)
>>>> > > > > + modifiers = skl_format_modifiers_ccs;
>>>> > > > > + else
>>>> > > > > + modifiers = skl_format_modifiers_noccs;
>>>> > > >
>>>> > > > Shouldn't that be (pipe < PIPE_C)?
>>>> > > >
>>>> > > > Cheers,
>>>> > > > Daniel
>>>> > >
>>>> > > Yep. It was wrong in v7 too :/. I have it fixed locally.
>>>> >
>>>> > Shouldn't the igt catch this, or does it not try to exercise all the
>>>> > plane/crtc combos there are?
>>>> > -Daniel
>>>>
>>>> I don't know whether or not IGT should have caught this, but it wouldn't
>>>> have
>>>> because I had been sending these without Ville's patches, so my patches
>>>> alone
>>>> don't even build (since his patches defined the modifiers).
>>>
>>>
>>> You can run igt testcases locally. I expect you to do that, at least for
>>> the stuff you're touching.
>>>
>>> Does this mean there's no igts for this at all?
>>> -Daniel
>>
>>
>> I haven't been running IGT locally, so I don't know if they touch this path.
>> We've done all testing so far with kmscube, X, and weston; then measure the
>> overall bandwidth. In this case, I'd stop testing these since Jason/Daniel
>> took
>> over my other patches. I don't even know how to locally make sure I get a
>> display on pipe C.
>>
>> You could easily make an IGT make sure that you get back the right list of
>> modifiers for a given pipe on a given GEN. Probably should do one.
>
>That's not a terribly interesting testcase (we have none of this kind
>I think). But I thought there was a CCS igt that created some simple
>compressed buffers and tried to display them, and then checked it all
>looked good using crcs, i.e. an actual functional testcase, and that
>should have caught the mislisten on pipe C (if it bothered to test all
>planes that expose the CCS modifier). Iirc Ville had that. We do need
>that for merging the kernel side.
>
>Thanks, Daniel
Yeah, we did have that already - just nothing for blobifiers specifically. It
sounds like igt_ccs is broken at the moment.
>--
>Daniel Vetter
>Software Engineer, Intel Corporation
>+41 (0) 79 365 57 48 - http://blog.ffwll.ch
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2017-08-03 17:20 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-26 18:07 [PATCH 1/6] drm/i915: Implement .get_format_info() hook for CCS Ben Widawsky
2017-07-26 18:07 ` [PATCH 2/6] drm/i915: Add render decompression support Ben Widawsky
2017-07-31 16:14 ` Daniel Stone
2017-07-26 18:07 ` [PATCH 3/6] drm: Plumb modifiers through plane init Ben Widawsky
2017-07-26 18:08 ` [PATCH 4/6] drm: Create a format/modifier blob Ben Widawsky
2017-07-26 18:08 ` [PATCH 5/6] drm/i915: Add format modifiers for Intel Ben Widawsky
2017-07-31 16:08 ` Daniel Stone
2017-07-26 18:08 ` [PATCH 6/6] drm/i915: Add support for CCS modifiers Ben Widawsky
2017-07-29 12:53 ` Daniel Stone
2017-07-29 16:25 ` Ben Widawsky
2017-07-31 8:29 ` Daniel Vetter
2017-08-01 16:14 ` [Intel-gfx] " Ben Widawsky
2017-08-02 10:14 ` Daniel Vetter
2017-08-02 15:43 ` Ben Widawsky
2017-08-03 8:08 ` [Intel-gfx] " Daniel Vetter
2017-08-03 17:20 ` Ben Widawsky [this message]
2017-07-29 12:55 ` Daniel Stone
2017-07-26 18:27 ` ✗ Fi.CI.BAT: failure for series starting with [1/6] drm/i915: Implement .get_format_info() hook for CCS Patchwork
2017-07-31 16:12 ` [PATCH 1/6] " Daniel Stone
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=20170803172011.GA7043@mail.bwidawsk.net \
--to=ben@bwidawsk.net \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=intel-gfx@lists.freedesktop.org \
/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