Reviewed-by: Rodrigo Vivi <[email protected]>

On Thu, Sep 4, 2014 at 4:27 AM, Damien Lespiau <[email protected]>
wrote:

> On Skylake, we use plane1 as primary plane and plane2/3 as sprite
> planes.
>
> v2: Rebase on top of the for_each_pipe() change adding dev_priv as first
>     argument.
>
> Signed-off-by: Damien Lespiau <[email protected]>
> ---
>  drivers/gpu/drm/i915/i915_dma.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/i915_dma.c
> b/drivers/gpu/drm/i915/i915_dma.c
> index a58fed9..4573953 100644
> --- a/drivers/gpu/drm/i915/i915_dma.c
> +++ b/drivers/gpu/drm/i915/i915_dma.c
> @@ -1528,7 +1528,7 @@ static void intel_device_info_runtime_init(struct
> drm_device *dev)
>
>         info = (struct intel_device_info *)&dev_priv->info;
>
> -       if (IS_VALLEYVIEW(dev))
> +       if (IS_VALLEYVIEW(dev) || INTEL_INFO(dev)->gen == 9)
>                 for_each_pipe(dev_priv, pipe)
>                         info->num_sprites[pipe] = 2;
>         else
> --
> 1.8.3.1
>
> _______________________________________________
> Intel-gfx mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx
>



-- 
Rodrigo Vivi
Blog: http://blog.vivi.eng.br
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to