[Intel-gfx] [PATCH 40/89] drm/i915/skl: Introduce a I915_MAX_PLANES macro

Rodrigo Vivi rodrigo.vivi at gmail.com
Thu Sep 18 00:12:46 CEST 2014


On Thu, Sep 4, 2014 at 4:27 AM, Damien Lespiau <damien.lespiau at intel.com>
wrote:

> This can be useful to declare structures around pipes and planes and
> don't have to go back auditing the code if the next platorm bump that
> number.
>
> Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
> ---
>  drivers/gpu/drm/i915/i915_drv.h | 8 ++++++++
>  1 file changed, 8 insertions(+)
>
> diff --git a/drivers/gpu/drm/i915/i915_drv.h
> b/drivers/gpu/drm/i915/i915_drv.h
> index be82888..dcd1c72 100644
> --- a/drivers/gpu/drm/i915/i915_drv.h
> +++ b/drivers/gpu/drm/i915/i915_drv.h
> @@ -74,6 +74,14 @@ enum transcoder {
>  };
>  #define transcoder_name(t) ((t) + 'A')
>
> +/*
> + * This is the maximum (across all platforms) number of planes (primary +
> + * sprites) that can be active at the same time on one pipe.
> + *
> + * This value doesn't count the cursor plane.
> + */
> +#define I915_MAX_PLANES        3
>

Any plan to allow 4 planes on pipes A and B?

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

+
>  enum plane {
>         PLANE_A = 0,
>         PLANE_B,
> --
> 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/25da6f35/attachment.html>


More information about the Intel-gfx mailing list