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

Daniel Stone daniel at fooishbar.org
Sat Jul 29 12:53:10 UTC 2017


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


More information about the dri-devel mailing list