[Intel-gfx] [PATCH v3 2/4] drm/i915/icl: Add Y210, Y212, Y216 plane control definitions

Juha-Pekka Heikkilä juhapekka.heikkila at gmail.com
Tue Nov 27 20:54:28 UTC 2018


I did earlier give R-b for this patch. The patch anyway hasn't changed 
as those defines have not changed.

/Juha-Pekka

Swati Sharma kirjoitti 22.10.2018 klo 8.31:
> From: Vidya Srinivas <vidya.srinivas at intel.com>
> 
> Added needed plane control flag definitions for Y210, Y212 and
> Y216 formats.
> 
> v3: no change
> 
> Signed-off-by: Swati Sharma <swati2.sharma at intel.com>
> Signed-off-by: Vidya Srinivas <vidya.srinivas at intel.com>
> ---
>   drivers/gpu/drm/i915/i915_reg.h | 3 +++
>   1 file changed, 3 insertions(+)
> 
> diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h
> index a71c507..cbb2917 100644
> --- a/drivers/gpu/drm/i915/i915_reg.h
> +++ b/drivers/gpu/drm/i915/i915_reg.h
> @@ -6506,6 +6506,9 @@ enum {
>   #define   PLANE_CTL_FORMAT_RGB_565		(14 << 24)
>   #define   ICL_PLANE_CTL_FORMAT_MASK		(0x1f << 23)
>   #define   PLANE_CTL_PIPE_CSC_ENABLE		(1 << 23) /* Pre-GLK */
> +#define   PLANE_CTL_FORMAT_Y210			(1 << 23)
> +#define   PLANE_CTL_FORMAT_Y212			(3 << 23)
> +#define   PLANE_CTL_FORMAT_Y216			(5 << 23)
>   #define   PLANE_CTL_KEY_ENABLE_MASK		(0x3 << 21)
>   #define   PLANE_CTL_KEY_ENABLE_SOURCE		(1 << 21)
>   #define   PLANE_CTL_KEY_ENABLE_DESTINATION	(2 << 21)
> 


More information about the Intel-gfx mailing list