[Intel-gfx] [PATCH 6/6] drm/i915: Add support for CCS modifiers

Daniel Vetter daniel at ffwll.ch
Wed Aug 2 10:14:15 UTC 2017


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 at 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
-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the dri-devel mailing list