[Intel-gfx] [PATCH 08/10] drm/i915/skl: Make primary and sprite plane advertize the same formats
Ville Syrjälä
ville.syrjala at linux.intel.com
Tue May 12 09:33:27 PDT 2015
On Tue, May 12, 2015 at 04:13:20PM +0100, Damien Lespiau wrote:
> We have unified planes on SKL, they more similar than ever before and we
> can advertize the same formats.
>
> Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
> ---
> drivers/gpu/drm/i915/intel_display.c | 4 ++++
> drivers/gpu/drm/i915/intel_sprite.c | 3 +++
> 2 files changed, 7 insertions(+)
>
> diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
> index 13efade..c32abe1 100644
> --- a/drivers/gpu/drm/i915/intel_display.c
> +++ b/drivers/gpu/drm/i915/intel_display.c
> @@ -68,6 +68,10 @@ static const uint32_t gen4_primary_formats[] = {
> DRM_FORMAT_ARGB2101010,
> DRM_FORMAT_XBGR2101010,
> DRM_FORMAT_ABGR2101010,
> + DRM_FORMAT_YUYV,
> + DRM_FORMAT_YVYU,
> + DRM_FORMAT_UYVY,
> + DRM_FORMAT_VYUY,
I take it these were supposed to land in skl_primary_formats[]
> };
>
>
> diff --git a/drivers/gpu/drm/i915/intel_sprite.c b/drivers/gpu/drm/i915/intel_sprite.c
> index 497e795..d510b60 100644
> --- a/drivers/gpu/drm/i915/intel_sprite.c
> +++ b/drivers/gpu/drm/i915/intel_sprite.c
> @@ -1084,11 +1084,14 @@ static uint32_t vlv_plane_formats[] = {
> };
>
> static uint32_t skl_plane_formats[] = {
> + DRM_FORMAT_C8,
> DRM_FORMAT_RGB565,
> DRM_FORMAT_ABGR8888,
> DRM_FORMAT_ARGB8888,
> DRM_FORMAT_XBGR8888,
> DRM_FORMAT_XRGB8888,
> + DRM_FORMAT_XBGR2101010,
> + DRM_FORMAT_XRGB2101010,
> DRM_FORMAT_YUYV,
> DRM_FORMAT_YVYU,
> DRM_FORMAT_UYVY,
> --
> 2.1.0
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx
--
Ville Syrjälä
Intel OTC
More information about the Intel-gfx
mailing list