[Intel-gfx] [PATCH 37/89] drm/i915/skl: Skylake has 2 "sprite" planes per pipe

Rodrigo Vivi rodrigo.vivi at gmail.com
Wed Sep 17 23:25:02 CEST 2014


Reviewed-by: Rodrigo Vivi <rodrigo.vivi at intel.com>

On Thu, Sep 4, 2014 at 4:27 AM, Damien Lespiau <damien.lespiau at intel.com>
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 <damien.lespiau at intel.com>
> ---
>  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
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx
>



-- 
Rodrigo Vivi
Blog: http://blog.vivi.eng.br
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20140917/a14806c5/attachment.html>


More information about the Intel-gfx mailing list