drm/i915: Expose 10:10:10 XRGB formats on SNB-BDW sprites
Subsystems (3)
PATCH 1/9 drm/i915: Expose 10:10:10 XRGB formats on SNB-BDW sprites
From: Ville Syrjälä <[email protected]>
SNB-BDW support 10:10:10 formats on the sprite planes. Let's expose them.
--- drivers/gpu/drm/i915/display/intel_sprite.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)
drivers/gpu/drm/i915/display/intel_sprite.c +16 -0
@@ -1054,6 +1054,12 @@ static u32 ivb_sprite_ctl(const struct intel_crtc_state *crtc_state,case DRM_FORMAT_XRGB8888 : sprctl |=SPRITE_FORMAT_RGBX888 ;break ; +case DRM_FORMAT_XBGR2101010 : + sprctl |=SPRITE_FORMAT_RGBX101010 |SPRITE_RGB_ORDER_RGBX ; +break ; +case DRM_FORMAT_XRGB2101010 : + sprctl |=SPRITE_FORMAT_RGBX101010 ; +break ;case DRM_FORMAT_YUYV : sprctl |=SPRITE_FORMAT_YUV422 |SPRITE_YUV_ORDER_YUYV ;break ;
@@ -1288,6 +1294,12 @@ static u32 g4x_sprite_ctl(const struct intel_crtc_state *crtc_state,case DRM_FORMAT_XRGB8888 : dvscntr |=DVS_FORMAT_RGBX888 ;break ; +case DRM_FORMAT_XBGR2101010 : + dvscntr |=DVS_FORMAT_RGBX101010 |DVS_RGB_ORDER_XBGR ; +break ; +case DRM_FORMAT_XRGB2101010 : + dvscntr |=DVS_FORMAT_RGBX101010 ; +break ;case DRM_FORMAT_YUYV : dvscntr |=DVS_FORMAT_YUV422 |DVS_YUV_ORDER_YUYV ;break ;
@@ -1983,6 +1995,8 @@ static const u64 i9xx_plane_format_modifiers[] = {static const u32 snb_plane_formats[] = {DRM_FORMAT_XBGR8888 ,DRM_FORMAT_XRGB8888 , +DRM_FORMAT_XRGB2101010 , +DRM_FORMAT_XBGR2101010 ,DRM_FORMAT_YUYV ,DRM_FORMAT_YVYU ,DRM_FORMAT_UYVY ,
@@ -2193,6 +2207,8 @@ static bool snb_sprite_format_mod_supported(struct drm_plane *_plane,switch (format) {case DRM_FORMAT_XRGB8888 :case DRM_FORMAT_XBGR8888 : +case DRM_FORMAT_XRGB2101010 : +case DRM_FORMAT_XBGR2101010 :case DRM_FORMAT_YUYV :case DRM_FORMAT_YVYU :case DRM_FORMAT_UYVY :
Signature · 6 lines
2.21.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 2/9 drm/i915: Expose alpha formats on VLV/CHV primary planes
From: Ville Syrjälä <[email protected]>
Currently we expose VLV/CHV alpha blending only on the sprite planes, but the primary planes can do it as well. Let's flip it on.
--- drivers/gpu/drm/i915/display/intel_display.c | 57 +++++++++++++++++++- drivers/gpu/drm/i915/i915_reg.h | 1 + 2 files changed, 57 insertions(+), 1 deletion(-)
drivers/gpu/drm/i915/display/intel_display.c +56 -1
@@ -98,6 +98,20 @@ static const u32 i965_primary_formats[] = { DRM_FORMAT_XBGR2101010, }; +/* Primary plane formats for vlv/chv */ +static const u32 vlv_primary_formats[] = { +DRM_FORMAT_C8 , +DRM_FORMAT_RGB565 , +DRM_FORMAT_XRGB8888 , +DRM_FORMAT_XBGR8888 , +DRM_FORMAT_ARGB8888 , +DRM_FORMAT_ABGR8888 , +DRM_FORMAT_XRGB2101010 , +DRM_FORMAT_XBGR2101010 , +DRM_FORMAT_ARGB2101010 , +DRM_FORMAT_ABGR2101010 , +}; +static const u64 i9xx_format_modifiers[] = {I915_FORMAT_MOD_X_TILED ,DRM_FORMAT_MOD_LINEAR ,
@@ -2952,6 +2966,8 @@ static int i9xx_format_to_fourcc(int format)switch (format) {case DISPPLANE_8BPP :return DRM_FORMAT_C8 ; +case DISPPLANE_BGRA555 : +return DRM_FORMAT_ARGB1555 ;case DISPPLANE_BGRX555 :return DRM_FORMAT_XRGB1555 ;case DISPPLANE_BGRX565 :
@@ -2961,10 +2977,18 @@ static int i9xx_format_to_fourcc(int format)return DRM_FORMAT_XRGB8888 ;case DISPPLANE_RGBX888 :return DRM_FORMAT_XBGR8888 ; +case DISPPLANE_BGRA888 : +return DRM_FORMAT_ARGB8888 ; +case DISPPLANE_RGBA888 : +return DRM_FORMAT_ABGR8888 ;case DISPPLANE_BGRX101010 :return DRM_FORMAT_XRGB2101010 ;case DISPPLANE_RGBX101010 :return DRM_FORMAT_XBGR2101010 ; +case DISPPLANE_BGRA101010 : +return DRM_FORMAT_ARGB2101010 ; +case DISPPLANE_RGBA101010 : +return DRM_FORMAT_ABGR2101010 ; } }
@@ -3639,6 +3663,9 @@ static u32 i9xx_plane_ctl(const struct intel_crtc_state *crtc_state,case DRM_FORMAT_XRGB1555 : dspcntr |=DISPPLANE_BGRX555 ;break ; +case DRM_FORMAT_ARGB1555 : + dspcntr |=DISPPLANE_BGRA555 ; +break ;case DRM_FORMAT_RGB565 : dspcntr |=DISPPLANE_BGRX565 ;break ;
@@ -3648,12 +3675,24 @@ static u32 i9xx_plane_ctl(const struct intel_crtc_state *crtc_state,case DRM_FORMAT_XBGR8888 : dspcntr |=DISPPLANE_RGBX888 ;break ; +case DRM_FORMAT_ARGB8888 : + dspcntr |=DISPPLANE_BGRA888 ; +break ; +case DRM_FORMAT_ABGR8888 : + dspcntr |=DISPPLANE_RGBA888 ; +break ;case DRM_FORMAT_XRGB2101010 : dspcntr |=DISPPLANE_BGRX101010 ;break ;case DRM_FORMAT_XBGR2101010 : dspcntr |=DISPPLANE_RGBX101010 ;break ; +case DRM_FORMAT_ARGB2101010 : + dspcntr |=DISPPLANE_BGRA101010 ; +break ; +case DRM_FORMAT_ABGR2101010 : + dspcntr |=DISPPLANE_RGBA101010 ; +break ;default :MISSING_CASE (fb->format->format);return 0 ;
@@ -14634,8 +14673,12 @@ static bool i965_plane_format_mod_supported(struct drm_plane *_plane,case DRM_FORMAT_RGB565 :case DRM_FORMAT_XRGB8888 :case DRM_FORMAT_XBGR8888 : +case DRM_FORMAT_ARGB8888 : +case DRM_FORMAT_ABGR8888 :case DRM_FORMAT_XRGB2101010 :case DRM_FORMAT_XBGR2101010 : +case DRM_FORMAT_ARGB2101010 : +case DRM_FORMAT_ABGR2101010 :return modifier ==DRM_FORMAT_MOD_LINEAR || modifier ==I915_FORMAT_MOD_X_TILED ;default :
@@ -14855,7 +14898,19 @@ intel_primary_plane_create(struct drm_i915_private *dev_priv, enum pipe pipe) fbc->possible_framebuffer_bits |= plane->frontbuffer_bit; } -if (INTEL_GEN (dev_priv) >=4 ) { +if (IS_VALLEYVIEW (dev_priv) ||IS_CHERRYVIEW (dev_priv)) { + formats = vlv_primary_formats; + num_formats =ARRAY_SIZE (vlv_primary_formats); + modifiers = i9xx_format_modifiers; + + plane->max_stride = i9xx_plane_max_stride; + plane->update_plane = i9xx_update_plane; + plane->disable_plane = i9xx_disable_plane; + plane->get_hw_state = i9xx_plane_get_hw_state; + plane->check_plane = i9xx_plane_check; + + plane_funcs = &i965_plane_funcs; + }else if (INTEL_GEN (dev_priv) >=4 ) { formats = i965_primary_formats; num_formats =ARRAY_SIZE (i965_primary_formats); modifiers = i9xx_format_modifiers;
drivers/gpu/drm/i915/i915_reg.h +1 -0
@@ -6270,6 +6270,7 @@ enum {#define DISPPLANE_RGBX101010 (0x8 << 26)#define DISPPLANE_RGBA101010 (0x9 << 26)#define DISPPLANE_BGRX101010 (0xa << 26) +#define DISPPLANE_BGRA101010 (0xb << 26)#define DISPPLANE_RGBX161616 (0xc << 26)#define DISPPLANE_RGBX888 (0xe << 26)#define DISPPLANE_RGBA888 (0xf << 26)
Signature · 6 lines
2.21.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 2/9] drm/i915: Expose alpha formats on VLV/CHV primary planes
Quoted 133 lines
-----Original Message-----
From: Intel-gfx <[email protected]> On Behalf Of Ville Syrjala
Sent: Tuesday, October 8, 2019 9:45 PM
To: [email protected]
Subject: [Intel-gfx] [PATCH 2/9] drm/i915: Expose alpha formats on VLV/CHV primary planesFrom: Ville Syrjälä <[email protected]>
Currently we expose VLV/CHV alpha blending only on the sprite planes, but the primary planes can do it as well. Let's flip it on.
Signed-off-by Ville Syrjälä <[email protected]>---
drivers/gpu/drm/i915/display/intel_display.c| 57 +++++++++++++++++++-drivers/gpu/drm/i915/i915_reg.h| 1 +2 files changed, 57 insertions(+), 1 deletion(-)drivers/gpu/drm/i915/display/intel_display.c +27
-0@@ -98,6 +98,20 @@ static const u32 i965_primary_formats[] = { DRM_FORMAT_XBGR2101010, }; +/* Primary plane formats for vlv/chv */ static const u32 +vlv_primary_formats[] = { +DRM_FORMAT_C8 , +DRM_FORMAT_RGB565 , +DRM_FORMAT_XRGB8888 , +DRM_FORMAT_XBGR8888 , +DRM_FORMAT_ARGB8888 , +DRM_FORMAT_ABGR8888 , +DRM_FORMAT_XRGB2101010 , +DRM_FORMAT_XBGR2101010 , +DRM_FORMAT_ARGB2101010 , +DRM_FORMAT_ABGR2101010 , +}; +static const u64 i9xx_format_modifiers[] = {I915_FORMAT_MOD_X_TILED ,DRM_FORMAT_MOD_LINEAR ,@@ -2952,6 +2966,8 @@ static int i9xx_format_to_fourcc(int format)switch (format) {case DISPPLANE_8BPP :return DRM_FORMAT_C8 ; +case DISPPLANE_BGRA555 : +return DRM_FORMAT_ARGB1555 ;case DISPPLANE_BGRX555 :return DRM_FORMAT_XRGB1555 ;case DISPPLANE_BGRX565 :@@ -2961,10 +2977,18 @@ static int i9xx_format_to_fourcc(int format)return DRM_FORMAT_XRGB8888 ;case DISPPLANE_RGBX888 :return DRM_FORMAT_XBGR8888 ; +case DISPPLANE_BGRA888 : +return DRM_FORMAT_ARGB8888 ; +case DISPPLANE_RGBA888 : +return DRM_FORMAT_ABGR8888 ;case DISPPLANE_BGRX101010 :return DRM_FORMAT_XRGB2101010 ;case DISPPLANE_RGBX101010 :return DRM_FORMAT_XBGR2101010 ; +case DISPPLANE_BGRA101010 : +return DRM_FORMAT_ARGB2101010 ; +case DISPPLANE_RGBA101010 : +return DRM_FORMAT_ABGR2101010 ; } }@@ -3639,6 +3663,9 @@ static u32 i9xx_plane_ctl(const struct intel_crtc_state *crtc_state, case DRM_FORMAT_XRGB1555: dspcntr |=DISPPLANE_BGRX555 ;break ; +case DRM_FORMAT_ARGB1555 : + dspcntr |=DISPPLANE_BGRA555 ; +break ;case DRM_FORMAT_RGB565 : dspcntr |=DISPPLANE_BGRX565 ;break;drivers/gpu/drm/i915/display/intel_display.c +12
-0@@ -3648,12 +3675,24 @@ static u32 i9xx_plane_ctl(const struct intel_crtc_state *crtc_state, case DRM_FORMAT_XBGR8888: dspcntr |=DISPPLANE_RGBX888 ;break ; +case DRM_FORMAT_ARGB8888 : + dspcntr |=DISPPLANE_BGRA888 ; +break ; +case DRM_FORMAT_ABGR8888 : + dspcntr |=DISPPLANE_RGBA888 ; +break ;case DRM_FORMAT_XRGB2101010 : dspcntr |=DISPPLANE_BGRX101010 ;break ;case DRM_FORMAT_XBGR2101010 : dspcntr |=DISPPLANE_RGBX101010 ;break ; +case DRM_FORMAT_ARGB2101010 : + dspcntr |=DISPPLANE_BGRA101010 ; +break ; +case DRM_FORMAT_ABGR2101010 : + dspcntr |=DISPPLANE_RGBA101010 ; +break ;default :MISSING_CASE (fb->format->format);return 0;drivers/gpu/drm/i915/display/intel_display.c +4
-0@@ -14634,8 +14673,12 @@ static bool i965_plane_format_mod_supported(struct drm_plane *_plane, case DRM_FORMAT_RGB565:case DRM_FORMAT_XRGB8888 :case DRM_FORMAT_XBGR8888 : +case DRM_FORMAT_ARGB8888 : +case DRM_FORMAT_ABGR8888 :case DRM_FORMAT_XRGB2101010 :case DRM_FORMAT_XBGR2101010 : +case DRM_FORMAT_ARGB2101010 : +case DRM_FORMAT_ABGR2101010 :return modifier ==DRM_FORMAT_MOD_LINEAR || modifier ==I915_FORMAT_MOD_X_TILED ;default:
drivers/gpu/drm/i915/display/intel_display.c +2
-1@@ -14855,7 +14898,19 @@ intel_primary_plane_create(struct drm_i915_private *dev_priv, enum pipe pipe) fbc->possible_framebuffer_bits |= plane->frontbuffer_bit; } -if (INTEL_GEN (dev_priv) >=4 ) { +if (IS_VALLEYVIEW (dev_priv) ||IS_CHERRYVIEW (dev_priv)) { + formats = vlv_primary_formats;
drivers/gpu/drm/i915/display/intel_display.c intel_primary_plane_create(struct drm_i915_private · line 14913
Quoted 10 lines
drivers/gpu/drm/i915/display/intel_display.c +10
-0+ num_formats =ARRAY_SIZE (vlv_primary_formats); + modifiers = i9xx_format_modifiers; + + plane->max_stride = i9xx_plane_max_stride; + plane->update_plane = i9xx_update_plane; + plane->disable_plane = i9xx_disable_plane; + plane->get_hw_state = i9xx_plane_get_hw_state; + plane->check_plane = i9xx_plane_check; + + plane_funcs = &i965_plane_funcs;
These seems to be duplicated, but since this is already refactored in later patch so should be ok.
Changes look good to me.
Quoted 19 lines
drivers/gpu/drm/i915/display/intel_display.c +1
-0+ }else if (INTEL_GEN (dev_priv) >=4 ) { formats = i965_primary_formats; num_formats =ARRAY_SIZE (i965_primary_formats);modifiers = i9xx_format_modifiers;drivers/gpu/drm/i915/i915_reg.h index renamed from drivers/gpu/drm/i915/i915_reg.h +0
-0
1dc067fc57ab..8bd75eff1266100644drivers/gpu/drm/i915/i915_reg.h +1
-1@@ -6270,6 +6270,7 @@ enum {#define DISPPLANE_RGBX101010 (0x8 << 26)#define DISPPLANE_RGBA101010 (0x9 << 26)#define DISPPLANE_BGRX101010 (0xa << 26) +#define DISPPLANE_BGRA101010 (0xb << 26)#define DISPPLANE_RGBX161616 (0xc << 26)#define DISPPLANE_RGBX888 (0xe << 26)#define DISPPLANE_RGBA888 (0xf << 26) --2.21.0
Quoted 4 lines
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 3/9 drm/i915: Add missing 10bpc formats for pipe B sprites on CHV
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
CHV pipe B sprites gained support for the 10bpc X/ARGB pixel formats. On VLV and CHV pipe A/C these are only supported by the the primary plane. Add the require bits to expose the new formats.
--- drivers/gpu/drm/i915/display/intel_sprite.c | 33 +++++++++++++++++++-- drivers/gpu/drm/i915/i915_reg.h | 14 +++++---- 2 files changed, 39 insertions(+), 8 deletions(-)
drivers/gpu/drm/i915/display/intel_sprite.c +31 -2
@@ -861,6 +861,12 @@ static u32 vlv_sprite_ctl(const struct intel_crtc_state *crtc_state,case DRM_FORMAT_ABGR2101010 : sprctl |=SP_FORMAT_RGBA1010102 ;break ; +case DRM_FORMAT_XRGB2101010 : + sprctl |=SP_FORMAT_BGRX1010102 ; +break ; +case DRM_FORMAT_ARGB2101010 : + sprctl |=SP_FORMAT_BGRA1010102 ; +break ;case DRM_FORMAT_XBGR8888 : sprctl |=SP_FORMAT_RGBX8888 ;break ;
@@ -2017,6 +2023,22 @@ static const u32 vlv_plane_formats[] = { DRM_FORMAT_VYUY, }; +static const u32 chv_pipe_b_sprite_formats[] = { +DRM_FORMAT_RGB565 , +DRM_FORMAT_ABGR8888 , +DRM_FORMAT_ARGB8888 , +DRM_FORMAT_XBGR8888 , +DRM_FORMAT_XRGB8888 , +DRM_FORMAT_XBGR2101010 , +DRM_FORMAT_ABGR2101010 , +DRM_FORMAT_XRGB2101010 , +DRM_FORMAT_ARGB2101010 , +DRM_FORMAT_YUYV , +DRM_FORMAT_YVYU , +DRM_FORMAT_UYVY , +DRM_FORMAT_VYUY , +}; +static const u32 skl_plane_formats[] = {DRM_FORMAT_C8 ,DRM_FORMAT_RGB565 ,
@@ -2241,6 +2263,8 @@ static bool vlv_sprite_format_mod_supported(struct drm_plane *_plane,case DRM_FORMAT_XRGB8888 :case DRM_FORMAT_XBGR2101010 :case DRM_FORMAT_ABGR2101010 : +case DRM_FORMAT_XRGB2101010 : +case DRM_FORMAT_ARGB2101010 :case DRM_FORMAT_YUYV :case DRM_FORMAT_YVYU :case DRM_FORMAT_UYVY :
@@ -2637,8 +2661,13 @@ intel_sprite_plane_create(struct drm_i915_private *dev_priv, plane->get_hw_state = vlv_plane_get_hw_state; plane->check_plane = vlv_sprite_check; - formats = vlv_plane_formats; - num_formats =ARRAY_SIZE (vlv_plane_formats); +if (IS_CHERRYVIEW (dev_priv) && pipe ==PIPE_B ) { + formats = chv_pipe_b_sprite_formats; + num_formats =ARRAY_SIZE (chv_pipe_b_sprite_formats); + }else { + formats = vlv_plane_formats; + num_formats =ARRAY_SIZE (vlv_plane_formats); + } modifiers = i9xx_plane_format_modifiers; plane_funcs = &vlv_sprite_funcs;
drivers/gpu/drm/i915/i915_reg.h +8 -6
@@ -6545,12 +6545,14 @@ enum {#define SP_ENABLE (1 << 31)#define SP_GAMMA_ENABLE (1 << 30)#define SP_PIXFORMAT_MASK (0xf << 26) -#define SP_FORMAT_YUV422 (0 << 26) -#define SP_FORMAT_BGR565 (5 << 26) -#define SP_FORMAT_BGRX8888 (6 << 26) -#define SP_FORMAT_BGRA8888 (7 << 26) -#define SP_FORMAT_RGBX1010102 (8 << 26) -#define SP_FORMAT_RGBA1010102 (9 << 26) +#define SP_FORMAT_YUV422 (0x0 << 26) +#define SP_FORMAT_BGR565 (0x5 << 26) +#define SP_FORMAT_BGRX8888 (0x6 << 26) +#define SP_FORMAT_BGRA8888 (0x7 << 26) +#define SP_FORMAT_RGBX1010102 (0x8 << 26) +#define SP_FORMAT_RGBA1010102 (0x9 << 26) +#define SP_FORMAT_BGRX1010102 (0xa << 26)/* CHV pipe B */ +#define SP_FORMAT_BGRA1010102 (0xb << 26)/* CHV pipe B */ #define SP_FORMAT_RGBX8888 (0xe << 26)#define SP_FORMAT_RGBA8888 (0xf << 26)#define SP_ALPHA_PREMULTIPLY (1 << 23)/* CHV pipe B */
Signature · 6 lines
2.21.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 3/9] drm/i915: Add missing 10bpc formats for pipe B sprites on CHV
Quoted 9 lines
-----Original Message-----
From: Intel-gfx <[email protected]> On Behalf Of Ville Syrjala
Sent: Tuesday, October 8, 2019 9:45 PM
To: [email protected]
Subject: [Intel-gfx] [PATCH 3/9] drm/i915: Add missing 10bpc formats for pipe B sprites on CHV
Quoted 4 lines
From: Ville Syrjälä <[email protected]>
CHV pipe B sprites gained support for the 10bpc X/ARGB pixel formats. On VLV and CHV pipe A/C these are only supported by the the primary plane. Add the
Drop the redundant "the".
CHV indeed has this additional capability on pipe B (MPO pipe) sprites.
Overall changes look good to me.
Quoted 105 lines
require bits to expose the new formats.
Signed-off-by Ville Syrjälä <[email protected]>---
drivers/gpu/drm/i915/display/intel_sprite.c| 33 +++++++++++++++++++--drivers/gpu/drm/i915/i915_reg.h| 14 +++++----2 files changed, 39 insertions(+), 8 deletions(-)drivers/gpu/drm/i915/display/intel_sprite.c +6
-0@@ -861,6 +861,12 @@ static u32 vlv_sprite_ctl(const struct intel_crtc_state *crtc_state, case DRM_FORMAT_ABGR2101010: sprctl |=SP_FORMAT_RGBA1010102 ;break ; +case DRM_FORMAT_XRGB2101010 : + sprctl |=SP_FORMAT_BGRX1010102 ; +break ; +case DRM_FORMAT_ARGB2101010 : + sprctl |=SP_FORMAT_BGRA1010102 ; +break ;case DRM_FORMAT_XBGR8888 : sprctl |=SP_FORMAT_RGBX8888 ;break;drivers/gpu/drm/i915/display/intel_sprite.c +18
-0@@ -2017,6 +2023,22 @@ static const u32 vlv_plane_formats[] = { DRM_FORMAT_VYUY, }; +static const u32 chv_pipe_b_sprite_formats[] = { +DRM_FORMAT_RGB565 , +DRM_FORMAT_ABGR8888 , +DRM_FORMAT_ARGB8888 , +DRM_FORMAT_XBGR8888 , +DRM_FORMAT_XRGB8888 , +DRM_FORMAT_XBGR2101010 , +DRM_FORMAT_ABGR2101010 , +DRM_FORMAT_XRGB2101010 , +DRM_FORMAT_ARGB2101010 , +DRM_FORMAT_YUYV , +DRM_FORMAT_YVYU , +DRM_FORMAT_UYVY , +DRM_FORMAT_VYUY , +}; +static const u32 skl_plane_formats[] = {DRM_FORMAT_C8 ,DRM_FORMAT_RGB565 ,@@ -2241,6 +2263,8 @@ static bool vlv_sprite_format_mod_supported(struct drm_plane *_plane, case DRM_FORMAT_XRGB8888:case DRM_FORMAT_XBGR2101010 :case DRM_FORMAT_ABGR2101010 : +case DRM_FORMAT_XRGB2101010 : +case DRM_FORMAT_ARGB2101010 :case DRM_FORMAT_YUYV :case DRM_FORMAT_YVYU :case
DRM_FORMAT_UYVY:drivers/gpu/drm/i915/display/intel_sprite.c +7
-2@@ -2637,8 +2661,13 @@ intel_sprite_plane_create(struct drm_i915_private *dev_priv, plane->get_hw_state = vlv_plane_get_hw_state; plane->check_plane = vlv_sprite_check; - formats = vlv_plane_formats; - num_formats =ARRAY_SIZE (vlv_plane_formats); +if (IS_CHERRYVIEW (dev_priv) && pipe ==PIPE_B ) { + formats = chv_pipe_b_sprite_formats; + num_formats =ARRAY_SIZE (chv_pipe_b_sprite_formats); + }else { + formats = vlv_plane_formats; + num_formats =ARRAY_SIZE (vlv_plane_formats); + } modifiers = i9xx_plane_format_modifiers;plane_funcs = &vlv_sprite_funcs;drivers/gpu/drm/i915/i915_reg.h index renamed from drivers/gpu/drm/i915/i915_reg.h +0
-0
8bd75eff1266..74bb5a6cbe4f100644drivers/gpu/drm/i915/i915_reg.h +8
-7@@ -6545,12 +6545,14 @@ enum {#define SP_ENABLE (1 << 31)#define SP_GAMMA_ENABLE (1 << 30)#define SP_PIXFORMAT_MASK (0xf << 26) -#define SP_FORMAT_YUV422 (0 << 26) -#define SP_FORMAT_BGR565 (5 << 26) -#define SP_FORMAT_BGRX8888 (6 << 26) -#define SP_FORMAT_BGRA8888 (7 << 26) -#define SP_FORMAT_RGBX1010102 (8 << 26) -#define SP_FORMAT_RGBA1010102 (9 << 26) +#define SP_FORMAT_YUV422 (0x0 << 26) +#define SP_FORMAT_BGR565 (0x5 << 26) +#define SP_FORMAT_BGRX8888 (0x6 << 26) +#define SP_FORMAT_BGRA8888 (0x7 << 26) +#define SP_FORMAT_RGBX1010102 (0x8 << 26) +#define SP_FORMAT_RGBA1010102 (0x9 << 26) +#define SP_FORMAT_BGRX1010102 (0xa << 26)/* CHV pipe B */ +#define SP_FORMAT_BGRA1010102 (0xb << 26)/* CHV pipe B */ #define SP_FORMAT_RGBX8888 (0xe << 26)#define SP_FORMAT_RGBA8888 (0xf << 26)#define SP_ALPHA_PREMULTIPLY (1 << 23)/* CHV pipe B */ --2.21.0
Quoted 4 lines
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 4/9 drm/i915: Expose C8 on VLV/CHV sprite planes
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
VLV/CHV sprite planes also support the C8 format. Let's expose that.
--- drivers/gpu/drm/i915/display/intel_sprite.c | 6 ++++++ drivers/gpu/drm/i915/i915_reg.h | 1 + 2 files changed, 7 insertions(+)
drivers/gpu/drm/i915/display/intel_sprite.c +6 -0
@@ -846,6 +846,9 @@ static u32 vlv_sprite_ctl(const struct intel_crtc_state *crtc_state,case DRM_FORMAT_VYUY : sprctl |=SP_FORMAT_YUV422 |SP_YUV_ORDER_VYUY ;break ; +case DRM_FORMAT_C8 : + sprctl |=SP_FORMAT_8BPP ; +break ;case DRM_FORMAT_RGB565 : sprctl |=SP_FORMAT_BGR565 ;break ;
@@ -2010,6 +2013,7 @@ static const u32 snb_plane_formats[] = { };static const u32 vlv_plane_formats[] = { +DRM_FORMAT_C8 ,DRM_FORMAT_RGB565 ,DRM_FORMAT_ABGR8888 ,DRM_FORMAT_ARGB8888 ,
@@ -2024,6 +2028,7 @@ static const u32 vlv_plane_formats[] = { };static const u32 chv_pipe_b_sprite_formats[] = { +DRM_FORMAT_C8 ,DRM_FORMAT_RGB565 ,DRM_FORMAT_ABGR8888 ,DRM_FORMAT_ARGB8888 ,
@@ -2256,6 +2261,7 @@ static bool vlv_sprite_format_mod_supported(struct drm_plane *_plane, }switch (format) { +case DRM_FORMAT_C8 :case DRM_FORMAT_RGB565 :case DRM_FORMAT_ABGR8888 :case DRM_FORMAT_ARGB8888 :
drivers/gpu/drm/i915/i915_reg.h +1 -0
@@ -6546,6 +6546,7 @@ enum {#define SP_GAMMA_ENABLE (1 << 30)#define SP_PIXFORMAT_MASK (0xf << 26)#define SP_FORMAT_YUV422 (0x0 << 26) +#define SP_FORMAT_8BPP (0x2 << 26)#define SP_FORMAT_BGR565 (0x5 << 26)#define SP_FORMAT_BGRX8888 (0x6 << 26)#define SP_FORMAT_BGRA8888 (0x7 << 26)
Signature · 6 lines
2.21.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 4/9] drm/i915: Expose C8 on VLV/CHV sprite planes
Quoted 11 lines
-----Original Message-----
From: Intel-gfx <[email protected]> On Behalf Of Ville Syrjala
Sent: Tuesday, October 8, 2019 9:45 PM
To: [email protected]
Subject: [Intel-gfx] [PATCH 4/9] drm/i915: Expose C8 on VLV/CHV sprite planesFrom: Ville Syrjälä <[email protected]>
VLV/CHV sprite planes also support the C8 format. Let's expose that.
Looks good to me.
Quoted 60 lines
Signed-off-by Ville Syrjälä <[email protected]>---
drivers/gpu/drm/i915/display/intel_sprite.c| 6 ++++++drivers/gpu/drm/i915/i915_reg.h| 1 +2 files changed, 7 insertions(+)drivers/gpu/drm/i915/display/intel_sprite.c +3
-0@@ -846,6 +846,9 @@ static u32 vlv_sprite_ctl(const struct intel_crtc_state *crtc_state, case DRM_FORMAT_VYUY: sprctl |=SP_FORMAT_YUV422 |SP_YUV_ORDER_VYUY ;break ; +case DRM_FORMAT_C8 : + sprctl |=SP_FORMAT_8BPP ; +break ;case DRM_FORMAT_RGB565 : sprctl |=SP_FORMAT_BGR565 ;break;drivers/gpu/drm/i915/display/intel_sprite.c +3
-0@@ -2010,6 +2013,7 @@ static const u32 snb_plane_formats[] = { };static const u32 vlv_plane_formats[] = { +DRM_FORMAT_C8 ,DRM_FORMAT_RGB565 ,DRM_FORMAT_ABGR8888 ,DRM_FORMAT_ARGB8888 ,@@ -2024,6 +2028,7 @@ static const u32 vlv_plane_formats[] = { };static const u32 chv_pipe_b_sprite_formats[] = { +DRM_FORMAT_C8 ,DRM_FORMAT_RGB565 ,DRM_FORMAT_ABGR8888 ,DRM_FORMAT_ARGB8888 ,@@ -2256,6 +2261,7 @@ static bool vlv_sprite_format_mod_supported(struct drm_plane *_plane, }switch (format) { +case DRM_FORMAT_C8 :case DRM_FORMAT_RGB565 :case DRM_FORMAT_ABGR8888 :case DRM_FORMAT_ARGB8888:drivers/gpu/drm/i915/i915_reg.h index renamed from drivers/gpu/drm/i915/i915_reg.h +0
-0
74bb5a6cbe4f..577468928ffa100644drivers/gpu/drm/i915/i915_reg.h +1
-1@@ -6546,6 +6546,7 @@ enum {#define SP_GAMMA_ENABLE (1 << 30)#define SP_PIXFORMAT_MASK (0xf << 26)#define SP_FORMAT_YUV422 (0x0 << 26) +#define SP_FORMAT_8BPP (0x2 << 26)#define SP_FORMAT_BGR565 (0x5 << 26)#define SP_FORMAT_BGRX8888 (0x6 << 26)#define SP_FORMAT_BGRA8888 (0x7 << 26) --2.21.0
Quoted 4 lines
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 5/9 drm/i915: Add 10bpc formats with alpha for icl+
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
ICL+ again supports alpha blending with 10bpc pixel formats. Expose them.
--- drivers/gpu/drm/i915/display/intel_sprite.c | 6 ++++++ 1 file changed, 6 insertions(+)
drivers/gpu/drm/i915/display/intel_sprite.c +6 -0
@@ -2103,6 +2103,8 @@ static const u32 icl_sdr_y_plane_formats[] = {DRM_FORMAT_ABGR8888 ,DRM_FORMAT_XRGB2101010 ,DRM_FORMAT_XBGR2101010 , +DRM_FORMAT_ARGB2101010 , +DRM_FORMAT_ABGR2101010 ,DRM_FORMAT_YUYV ,DRM_FORMAT_YVYU , DRM_FORMAT_UYVY,
@@ -2124,6 +2126,8 @@ static const u32 icl_sdr_uv_plane_formats[] = {DRM_FORMAT_ABGR8888 ,DRM_FORMAT_XRGB2101010 ,DRM_FORMAT_XBGR2101010 , +DRM_FORMAT_ARGB2101010 , +DRM_FORMAT_ABGR2101010 ,DRM_FORMAT_YUYV ,DRM_FORMAT_YVYU , DRM_FORMAT_UYVY,
@@ -2149,6 +2153,8 @@ static const u32 icl_hdr_plane_formats[] = {DRM_FORMAT_ABGR8888 ,DRM_FORMAT_XRGB2101010 ,DRM_FORMAT_XBGR2101010 , +DRM_FORMAT_ARGB2101010 , +DRM_FORMAT_ABGR2101010 ,DRM_FORMAT_XRGB16161616F ,DRM_FORMAT_XBGR16161616F , DRM_FORMAT_ARGB16161616F,
Signature · 6 lines
2.21.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v2 5/9 drm/i915: Add 10bpc formats with alpha for icl+
From: Ville Syrjälä <[email protected]>
ICL+ again supports alpha blending with 10bpc pixel formats. Expose them.
v2: Add all the stuff I missed earlier!
--- drivers/gpu/drm/i915/display/intel_display.c | 19 +++++++++++++++---- drivers/gpu/drm/i915/display/intel_sprite.c | 10 ++++++++++ 2 files changed, 25 insertions(+), 4 deletions(-)
drivers/gpu/drm/i915/display/intel_display.c +15 -4
@@ -3031,10 +3031,17 @@ int skl_format_to_fourcc(int format, bool rgb_order, bool alpha)return DRM_FORMAT_XRGB8888 ; }case PLANE_CTL_FORMAT_XRGB_2101010 : -if (rgb_order) -return DRM_FORMAT_XBGR2101010 ; -else -return DRM_FORMAT_XRGB2101010 ; +if (rgb_order) { +if (alpha) +return DRM_FORMAT_ABGR2101010 ; +else +return DRM_FORMAT_XBGR2101010 ; + }else { +if (alpha) +return DRM_FORMAT_ARGB2101010 ; +else +return DRM_FORMAT_XRGB2101010 ; + }case PLANE_CTL_FORMAT_XRGB_16161616F :if (rgb_order) {if (alpha)
@@ -4024,8 +4031,10 @@ static u32 skl_plane_ctl_format(u32 pixel_format)case DRM_FORMAT_ARGB8888 :return PLANE_CTL_FORMAT_XRGB_8888 ;case DRM_FORMAT_XBGR2101010 : +case DRM_FORMAT_ABGR2101010 :return PLANE_CTL_FORMAT_XRGB_2101010 |PLANE_CTL_ORDER_RGBX ;case DRM_FORMAT_XRGB2101010 : +case DRM_FORMAT_ARGB2101010 :return PLANE_CTL_FORMAT_XRGB_2101010 ;case DRM_FORMAT_XBGR16161616F :case DRM_FORMAT_ABGR16161616F :
@@ -5617,6 +5626,8 @@ static int skl_update_scaler_plane(struct intel_crtc_state *crtc_state,case DRM_FORMAT_ARGB8888 :case DRM_FORMAT_XRGB2101010 :case DRM_FORMAT_XBGR2101010 : +case DRM_FORMAT_ARGB2101010 : +case DRM_FORMAT_ABGR2101010 :case DRM_FORMAT_XBGR16161616F :case DRM_FORMAT_ABGR16161616F :case DRM_FORMAT_XRGB16161616F :
drivers/gpu/drm/i915/display/intel_sprite.c +10 -0
@@ -2103,6 +2103,8 @@ static const u32 icl_sdr_y_plane_formats[] = {DRM_FORMAT_ABGR8888 ,DRM_FORMAT_XRGB2101010 ,DRM_FORMAT_XBGR2101010 , +DRM_FORMAT_ARGB2101010 , +DRM_FORMAT_ABGR2101010 ,DRM_FORMAT_YUYV ,DRM_FORMAT_YVYU , DRM_FORMAT_UYVY,
@@ -2124,6 +2126,8 @@ static const u32 icl_sdr_uv_plane_formats[] = {DRM_FORMAT_ABGR8888 ,DRM_FORMAT_XRGB2101010 ,DRM_FORMAT_XBGR2101010 , +DRM_FORMAT_ARGB2101010 , +DRM_FORMAT_ABGR2101010 ,DRM_FORMAT_YUYV ,DRM_FORMAT_YVYU , DRM_FORMAT_UYVY,
@@ -2149,6 +2153,8 @@ static const u32 icl_hdr_plane_formats[] = {DRM_FORMAT_ABGR8888 ,DRM_FORMAT_XRGB2101010 ,DRM_FORMAT_XBGR2101010 , +DRM_FORMAT_ARGB2101010 , +DRM_FORMAT_ABGR2101010 ,DRM_FORMAT_XRGB16161616F ,DRM_FORMAT_XBGR16161616F , DRM_FORMAT_ARGB16161616F,
@@ -2315,6 +2321,8 @@ static bool skl_plane_format_mod_supported(struct drm_plane *_plane,case DRM_FORMAT_RGB565 :case DRM_FORMAT_XRGB2101010 :case DRM_FORMAT_XBGR2101010 : +case DRM_FORMAT_ARGB2101010 : +case DRM_FORMAT_ABGR2101010 :case DRM_FORMAT_YUYV :case DRM_FORMAT_YVYU :case DRM_FORMAT_UYVY :
@@ -2367,6 +2375,8 @@ static bool gen12_plane_format_mod_supported(struct drm_plane *_plane,case DRM_FORMAT_RGB565 :case DRM_FORMAT_XRGB2101010 :case DRM_FORMAT_XBGR2101010 : +case DRM_FORMAT_ARGB2101010 : +case DRM_FORMAT_ABGR2101010 :case DRM_FORMAT_YUYV :case DRM_FORMAT_YVYU :case DRM_FORMAT_UYVY :
Signature · 6 lines
2.21.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH v2 5/9] drm/i915: Add 10bpc formats with alpha for icl+
Quoted 8 lines
-----Original Message-----
From: Intel-gfx <[email protected]> On Behalf Of Ville Syrjala
Sent: Wednesday, October 9, 2019 4:14 PM
To: [email protected]
Subject: [Intel-gfx] [PATCH v2 5/9] drm/i915: Add 10bpc formats with alpha for icl+
Quoted 6 lines
From: Ville Syrjälä <[email protected]>
ICL+ again supports alpha blending with 10bpc pixel formats. Expose them.
v2: Add all the stuff I missed earlier!
Changes look good to me.
Quoted 111 lines
Signed-off-by Ville Syrjälä <[email protected]>---
drivers/gpu/drm/i915/display/intel_display.c| 19 +++++++++++++++----drivers/gpu/drm/i915/display/intel_sprite.c| 10 ++++++++++2 files changed, 25 insertions(+), 4 deletions(-)drivers/gpu/drm/i915/display/intel_display.c +11
-4@@ -3031,10 +3031,17 @@ int skl_format_to_fourcc(int format, bool rgb_order, bool alpha)return DRM_FORMAT_XRGB8888 ; }case PLANE_CTL_FORMAT_XRGB_2101010 : -if (rgb_order) -return DRM_FORMAT_XBGR2101010 ; -else -return DRM_FORMAT_XRGB2101010 ; +if (rgb_order) { +if (alpha) +return DRM_FORMAT_ABGR2101010 ; +else +return DRM_FORMAT_XBGR2101010 ; + }else { +if (alpha) +return DRM_FORMAT_ARGB2101010 ; +else +return DRM_FORMAT_XRGB2101010 ; + }case PLANE_CTL_FORMAT_XRGB_16161616F :if (rgb_order) {if (alpha)
drivers/gpu/drm/i915/display/intel_display.c +2
-0@@ -4024,8 +4031,10 @@ static u32 skl_plane_ctl_format(u32 pixel_format)case DRM_FORMAT_ARGB8888 :return PLANE_CTL_FORMAT_XRGB_8888 ;case DRM_FORMAT_XBGR2101010 : +case DRM_FORMAT_ABGR2101010 :return PLANE_CTL_FORMAT_XRGB_2101010 |PLANE_CTL_ORDER_RGBX ;case DRM_FORMAT_XRGB2101010 : +case DRM_FORMAT_ARGB2101010 :return PLANE_CTL_FORMAT_XRGB_2101010 ;case DRM_FORMAT_XBGR16161616F :case DRM_FORMAT_ABGR16161616F:drivers/gpu/drm/i915/display/intel_display.c +2
-0@@ -5617,6 +5626,8 @@ static int skl_update_scaler_plane(struct intel_crtc_state *crtc_state, case DRM_FORMAT_ARGB8888:case DRM_FORMAT_XRGB2101010 :case DRM_FORMAT_XBGR2101010 : +case DRM_FORMAT_ARGB2101010 : +case DRM_FORMAT_ABGR2101010 :case DRM_FORMAT_XBGR16161616F :case DRM_FORMAT_ABGR16161616F :case DRM_FORMAT_XRGB16161616F:drivers/gpu/drm/i915/display/intel_sprite.c +8
-0@@ -2103,6 +2103,8 @@ static const u32 icl_sdr_y_plane_formats[] = {DRM_FORMAT_ABGR8888 ,DRM_FORMAT_XRGB2101010 ,DRM_FORMAT_XBGR2101010 , +DRM_FORMAT_ARGB2101010 , +DRM_FORMAT_ABGR2101010 ,DRM_FORMAT_YUYV ,DRM_FORMAT_YVYU , DRM_FORMAT_UYVY,@@ -2124,6 +2126,8 @@ static const u32 icl_sdr_uv_plane_formats[] = {DRM_FORMAT_ABGR8888 ,DRM_FORMAT_XRGB2101010 ,DRM_FORMAT_XBGR2101010 , +DRM_FORMAT_ARGB2101010 , +DRM_FORMAT_ABGR2101010 ,DRM_FORMAT_YUYV ,DRM_FORMAT_YVYU , DRM_FORMAT_UYVY,@@ -2149,6 +2153,8 @@ static const u32 icl_hdr_plane_formats[] = {DRM_FORMAT_ABGR8888 ,DRM_FORMAT_XRGB2101010 ,DRM_FORMAT_XBGR2101010 , +DRM_FORMAT_ARGB2101010 , +DRM_FORMAT_ABGR2101010 ,DRM_FORMAT_XRGB16161616F ,DRM_FORMAT_XBGR16161616F , DRM_FORMAT_ARGB16161616F,@@ -2315,6 +2321,8 @@ static bool skl_plane_format_mod_supported(struct drm_plane *_plane, case DRM_FORMAT_RGB565:case DRM_FORMAT_XRGB2101010 :case DRM_FORMAT_XBGR2101010 : +case DRM_FORMAT_ARGB2101010 : +case DRM_FORMAT_ABGR2101010 :case DRM_FORMAT_YUYV :case DRM_FORMAT_YVYU :case
DRM_FORMAT_UYVY:drivers/gpu/drm/i915/display/intel_sprite.c +2
-0@@ -2367,6 +2375,8 @@ static bool gen12_plane_format_mod_supported(struct drm_plane *_plane, case DRM_FORMAT_RGB565:case DRM_FORMAT_XRGB2101010 :case DRM_FORMAT_XBGR2101010 : +case DRM_FORMAT_ARGB2101010 : +case DRM_FORMAT_ABGR2101010 :case DRM_FORMAT_YUYV :case DRM_FORMAT_YVYU :case
DRM_FORMAT_UYVY:
--
2.21.0
Quoted 4 lines
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 5/9] drm/i915: Add 10bpc formats with alpha for icl+
In reply to Ville SyrjalaQuoted 34 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
ICL+ again supports alpha blending with 10bpc pixel formats. Expose them.
Signed-off-by Ville Syrjälä <[email protected]>--- drivers/gpu/drm/i915/display/intel_sprite.c | 6 ++++++ 1 file changed, 6 insertions(+)drivers/gpu/drm/i915/display/intel_sprite.c +4
-0@@ -2103,6 +2103,8 @@ static const u32 icl_sdr_y_plane_formats[] = {DRM_FORMAT_ABGR8888 ,DRM_FORMAT_XRGB2101010 ,DRM_FORMAT_XBGR2101010 , +DRM_FORMAT_ARGB2101010 , +DRM_FORMAT_ABGR2101010 ,DRM_FORMAT_YUYV ,DRM_FORMAT_YVYU , DRM_FORMAT_UYVY,@@ -2124,6 +2126,8 @@ static const u32 icl_sdr_uv_plane_formats[] = {DRM_FORMAT_ABGR8888 ,DRM_FORMAT_XRGB2101010 ,DRM_FORMAT_XBGR2101010 , +DRM_FORMAT_ARGB2101010 , +DRM_FORMAT_ABGR2101010 ,DRM_FORMAT_YUYV ,DRM_FORMAT_YVYU , DRM_FORMAT_UYVY,
drivers/gpu/drm/i915/display/intel_sprite.c static const u32 icl_hdr_plane_formats[] = { · line 2160
Quoted 8 lines
drivers/gpu/drm/i915/display/intel_sprite.c +2
-0@@ -2149,6 +2153,8 @@ static const u32 icl_hdr_plane_formats[] = {DRM_FORMAT_ABGR8888 ,DRM_FORMAT_XRGB2101010 ,DRM_FORMAT_XBGR2101010 , +DRM_FORMAT_ARGB2101010 , +DRM_FORMAT_ABGR2101010 ,DRM_FORMAT_XRGB16161616F ,DRM_FORMAT_XBGR16161616F , DRM_FORMAT_ARGB16161616F,
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 6/9 drm/i915: Sort format arrays consistently
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
Let's try to keep the pixel format arrays somewhat sorted:
1. RGB before YUV
2. smaller bpp before larger bpp
3. X before A
4. RGB before BGR
--- drivers/gpu/drm/i915/display/intel_display.c | 2 +- drivers/gpu/drm/i915/display/intel_sprite.c | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-)
drivers/gpu/drm/i915/display/intel_display.c +1 -1
@@ -83,8 +83,8 @@/* Primary plane formats for gen <= 3 */ static const u32 i8xx_primary_formats[] = {DRM_FORMAT_C8 , -DRM_FORMAT_RGB565 ,DRM_FORMAT_XRGB1555 , +DRM_FORMAT_RGB565 ,DRM_FORMAT_XRGB8888 , };
drivers/gpu/drm/i915/display/intel_sprite.c +10 -10
@@ -2002,10 +2002,10 @@ static const u64 i9xx_plane_format_modifiers[] = { };static const u32 snb_plane_formats[] = { -DRM_FORMAT_XBGR8888 ,DRM_FORMAT_XRGB8888 , -DRM_FORMAT_XRGB2101010 , +DRM_FORMAT_XBGR8888 ,DRM_FORMAT_XBGR2101010 , +DRM_FORMAT_XRGB2101010 ,DRM_FORMAT_YUYV ,DRM_FORMAT_YVYU ,DRM_FORMAT_UYVY ,
@@ -2015,10 +2015,10 @@ static const u32 snb_plane_formats[] = {static const u32 vlv_plane_formats[] = {DRM_FORMAT_C8 ,DRM_FORMAT_RGB565 , -DRM_FORMAT_ABGR8888 , -DRM_FORMAT_ARGB8888 , -DRM_FORMAT_XBGR8888 ,DRM_FORMAT_XRGB8888 , +DRM_FORMAT_XBGR8888 , +DRM_FORMAT_ARGB8888 , +DRM_FORMAT_ABGR8888 ,DRM_FORMAT_XBGR2101010 ,DRM_FORMAT_ABGR2101010 ,DRM_FORMAT_YUYV ,
@@ -2030,14 +2030,14 @@ static const u32 vlv_plane_formats[] = {static const u32 chv_pipe_b_sprite_formats[] = {DRM_FORMAT_C8 ,DRM_FORMAT_RGB565 , -DRM_FORMAT_ABGR8888 , -DRM_FORMAT_ARGB8888 , -DRM_FORMAT_XBGR8888 ,DRM_FORMAT_XRGB8888 , -DRM_FORMAT_XBGR2101010 , -DRM_FORMAT_ABGR2101010 , +DRM_FORMAT_XBGR8888 , +DRM_FORMAT_ARGB8888 , +DRM_FORMAT_ABGR8888 ,DRM_FORMAT_XRGB2101010 , +DRM_FORMAT_XBGR2101010 ,DRM_FORMAT_ARGB2101010 , +DRM_FORMAT_ABGR2101010 ,DRM_FORMAT_YUYV ,DRM_FORMAT_YVYU ,DRM_FORMAT_UYVY ,
Signature · 6 lines
2.21.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 6/9] drm/i915: Sort format arrays consistently
Quoted 70 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
Let's try to keep the pixel format arrays somewhat sorted:
1. RGB before YUV
2. smaller bpp before larger bpp
3. X before A
4. RGB before BGRSigned-off-by Ville Syrjälä <[email protected]>--- drivers/gpu/drm/i915/display/intel_display.c | 2 +- drivers/gpu/drm/i915/display/intel_sprite.c | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-)drivers/gpu/drm/i915/display/intel_display.c +1
-1@@ -83,8 +83,8 @@/* Primary plane formats for gen <= 3 */ static const u32 i8xx_primary_formats[] = {DRM_FORMAT_C8 , -DRM_FORMAT_RGB565 ,DRM_FORMAT_XRGB1555 , +DRM_FORMAT_RGB565 ,DRM_FORMAT_XRGB8888 , };drivers/gpu/drm/i915/display/intel_sprite.c +5
-10@@ -2002,10 +2002,10 @@ static const u64 i9xx_plane_format_modifiers[] = { };static const u32 snb_plane_formats[] = { -DRM_FORMAT_XBGR8888 ,DRM_FORMAT_XRGB8888 , -DRM_FORMAT_XRGB2101010 , +DRM_FORMAT_XBGR8888 ,DRM_FORMAT_XBGR2101010 , +DRM_FORMAT_XRGB2101010 ,DRM_FORMAT_YUYV ,DRM_FORMAT_YVYU ,DRM_FORMAT_UYVY ,@@ -2015,10 +2015,10 @@ static const u32 snb_plane_formats[] = {static const u32 vlv_plane_formats[] = {DRM_FORMAT_C8 ,DRM_FORMAT_RGB565 , -DRM_FORMAT_ABGR8888 , -DRM_FORMAT_ARGB8888 , -DRM_FORMAT_XBGR8888 ,DRM_FORMAT_XRGB8888 , +DRM_FORMAT_XBGR8888 , +DRM_FORMAT_ARGB8888 , +DRM_FORMAT_ABGR8888 ,DRM_FORMAT_XBGR2101010 ,DRM_FORMAT_ABGR2101010 ,DRM_FORMAT_YUYV ,@@ -2030,14 +2030,14 @@ static const u32 vlv_plane_formats[] = {static const u32 chv_pipe_b_sprite_formats[] = {DRM_FORMAT_C8 ,DRM_FORMAT_RGB565 , -DRM_FORMAT_ABGR8888 , -DRM_FORMAT_ARGB8888 , -DRM_FORMAT_XBGR8888 ,DRM_FORMAT_XRGB8888 , -DRM_FORMAT_XBGR2101010 , -DRM_FORMAT_ABGR2101010 ,
drivers/gpu/drm/i915/display/intel_sprite.c static const u32 vlv_plane_formats[] = { · line 2043
Quoted 10 lines
drivers/gpu/drm/i915/display/intel_sprite.c +5
-0+DRM_FORMAT_XBGR8888 , +DRM_FORMAT_ARGB8888 , +DRM_FORMAT_ABGR8888 ,DRM_FORMAT_XRGB2101010 , +DRM_FORMAT_XBGR2101010 ,DRM_FORMAT_ARGB2101010 , +DRM_FORMAT_ABGR2101010 ,DRM_FORMAT_YUYV ,DRM_FORMAT_YVYU , DRM_FORMAT_UYVY,
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 6/9] drm/i915: Sort format arrays consistently
In reply to Ville SyrjalaQuoted 8 lines
-----Original Message-----
From: Intel-gfx <[email protected]> On Behalf Of Ville Syrjala
Sent: Tuesday, October 8, 2019 9:45 PM
To: [email protected]
Subject: [Intel-gfx] [PATCH 6/9] drm/i915: Sort format arrays consistently
Quoted 7 lines
From: Ville Syrjälä <[email protected]>
Let's try to keep the pixel format arrays somewhat sorted:
1. RGB before YUV
2. smaller bpp before larger bpp
3. X before A
4. RGB before BGR
Changes look good to me.
Quoted 74 lines
Signed-off-by Ville Syrjälä <[email protected]>---
drivers/gpu/drm/i915/display/intel_display.c| 2 +-drivers/gpu/drm/i915/display/intel_sprite.c| 20 ++++++++++----------2 files changed, 11 insertions(+), 11 deletions(-)drivers/gpu/drm/i915/display/intel_display.c +1
-1@@ -83,8 +83,8 @@/* Primary plane formats for gen <= 3 */ static const u32 i8xx_primary_formats[] = {DRM_FORMAT_C8 , -DRM_FORMAT_RGB565 ,DRM_FORMAT_XRGB1555 , +DRM_FORMAT_RGB565 ,DRM_FORMAT_XRGB8888 , };drivers/gpu/drm/i915/display/intel_sprite.c +10
-11@@ -2002,10 +2002,10 @@ static const u64 i9xx_plane_format_modifiers[] = { };static const u32 snb_plane_formats[] = { -DRM_FORMAT_XBGR8888 ,DRM_FORMAT_XRGB8888 , -DRM_FORMAT_XRGB2101010 , +DRM_FORMAT_XBGR8888 ,DRM_FORMAT_XBGR2101010 , +DRM_FORMAT_XRGB2101010 ,DRM_FORMAT_YUYV ,DRM_FORMAT_YVYU ,DRM_FORMAT_UYVY ,@@ -2015,10 +2015,10 @@ static const u32 snb_plane_formats[] = { static constu32 vlv_plane_formats[] = {DRM_FORMAT_C8 ,DRM_FORMAT_RGB565 , -DRM_FORMAT_ABGR8888 , -DRM_FORMAT_ARGB8888 , -DRM_FORMAT_XBGR8888 ,DRM_FORMAT_XRGB8888 , +DRM_FORMAT_XBGR8888 , +DRM_FORMAT_ARGB8888 , +DRM_FORMAT_ABGR8888 ,DRM_FORMAT_XBGR2101010 ,DRM_FORMAT_ABGR2101010 ,DRM_FORMAT_YUYV ,@@ -2030,14 +2030,14 @@ static const u32 vlv_plane_formats[] = { static const u32 chv_pipe_b_sprite_formats[] = {DRM_FORMAT_C8 ,DRM_FORMAT_RGB565 , -DRM_FORMAT_ABGR8888 , -DRM_FORMAT_ARGB8888 , -DRM_FORMAT_XBGR8888 ,DRM_FORMAT_XRGB8888 , -DRM_FORMAT_XBGR2101010 , -DRM_FORMAT_ABGR2101010 , +DRM_FORMAT_XBGR8888 , +DRM_FORMAT_ARGB8888 , +DRM_FORMAT_ABGR8888 ,DRM_FORMAT_XRGB2101010 , +DRM_FORMAT_XBGR2101010 ,DRM_FORMAT_ARGB2101010 , +DRM_FORMAT_ABGR2101010 ,DRM_FORMAT_YUYV ,DRM_FORMAT_YVYU , DRM_FORMAT_UYVY, --2.21.0
Quoted 4 lines
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 7/9 drm/i915: Reject ckey+fp16 on skl+
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
According to the spec color keying is not supported with fp16 pixel formats on skl+. Reject that combo.
--- drivers/gpu/drm/i915/display/intel_sprite.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+)
drivers/gpu/drm/i915/display/intel_sprite.c +18 -0
@@ -1689,6 +1689,19 @@ vlv_sprite_check(struct intel_crtc_state *crtc_state,return 0 ; } +static bool format_is_fp16 (u32 format) +{ +switch (format) { +case DRM_FORMAT_XRGB16161616F : +case DRM_FORMAT_XBGR16161616F : +case DRM_FORMAT_ARGB16161616F : +case DRM_FORMAT_ABGR16161616F : +return true; +default : +return false; + } +} +static int skl_plane_check_fb (const struct intel_crtc_state *crtc_state,const struct intel_plane_state *plane_state) {
@@ -1760,6 +1773,11 @@ static int skl_plane_check_fb(const struct intel_crtc_state *crtc_state,return -EINVAL ; } +if (plane_state->ckey.flags &&format_is_fp16 (fb->format->format)) { +DRM_DEBUG_KMS ("Color keying not supported with fp16 formats\n" ); +return -EINVAL ; + } +return 0 ; }
Signature · 6 lines
2.21.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 7/9] drm/i915: Reject ckey+fp16 on skl+
Quoted 49 lines
-----Original Message-----
From: Intel-gfx <[email protected]> On Behalf Of Ville Syrjala
Sent: Tuesday, October 8, 2019 9:45 PM
To: [email protected]
Subject: [Intel-gfx] [PATCH 7/9] drm/i915: Reject ckey+fp16 on skl+From: Ville Syrjälä <[email protected]>
According to the spec color keying is not supported with fp16 pixel formats on skl+. Reject that combo.
Signed-off-by Ville Syrjälä <[email protected]>---
drivers/gpu/drm/i915/display/intel_sprite.c| 18 ++++++++++++++++++1 file changed, 18 insertions(+)drivers/gpu/drm/i915/display/intel_sprite.c +13
-0@@ -1689,6 +1689,19 @@ vlv_sprite_check(struct intel_crtc_state *crtc_state,return 0 ; } +static bool format_is_fp16 (u32 format) +{ +switch (format) { +case DRM_FORMAT_XRGB16161616F : +case DRM_FORMAT_XBGR16161616F : +case DRM_FORMAT_ARGB16161616F : +case DRM_FORMAT_ABGR16161616F : +return true; +default : +return false; + } +} +static int skl_plane_check_fb (const struct intel_crtc_state *crtc_state, const struct intel_plane_state *plane_state) { @@ -1760,6 +1773,11 @@ static int skl_plane_check_fb(const struct
intel_crtc_state*crtc_state,return -EINVAL; }drivers/gpu/drm/i915/display/intel_sprite.c +2
-0+if (plane_state->ckey.flags &&format_is_fp16 (fb->format->format)) { + DRM_DEBUG_KMS("Color keying not supported with fp16
Quoted 1 line
formats\n");
It seems even "Indexed 8 bit formats" also don't support Color Keying. May be you can extend it to even C8.
Quoted 6 lines
drivers/gpu/drm/i915/display/intel_sprite.c +3
-0+return -EINVAL ; + } +return 0; }
Quoted 7 lines
--
2.21.0_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 7/9] drm/i915: Reject ckey+fp16 on skl+
Quoted 55 lines
-----Original Message-----
From: Shankar, Uma
Sent: Tuesday, October 29, 2019 6:38 PM
To: Ville Syrjala <[email protected]>; [email protected]
Subject: RE: [Intel-gfx] [PATCH 7/9] drm/i915: Reject ckey+fp16 on skl+Quoted 45 lines
-----Original Message-----
From: Intel-gfx <[email protected]> On Behalf Of Ville Syrjala
Sent: Tuesday, October 8, 2019 9:45 PM
To: [email protected]
Subject: [Intel-gfx] [PATCH 7/9] drm/i915: Reject ckey+fp16 on skl+From: Ville Syrjälä <[email protected]>
According to the spec color keying is not supported with fp16 pixel formats on skl+. Reject that combo.
Signed-off-by Ville Syrjälä <[email protected]>---
drivers/gpu/drm/i915/display/intel_sprite.c| 18 ++++++++++++++++++1 file changed, 18 insertions(+)drivers/gpu/drm/i915/display/intel_sprite.c +12
-0@@ -1689,6 +1689,19 @@ vlv_sprite_check(struct intel_crtc_state *crtc_state,return 0 ; } +static bool format_is_fp16 (u32 format) { +switch (format) { +case DRM_FORMAT_XRGB16161616F : +case DRM_FORMAT_XBGR16161616F : +case DRM_FORMAT_ARGB16161616F : +case DRM_FORMAT_ABGR16161616F : +return true; +default : +return false; + } +} +static int skl_plane_check_fb (const struct intel_crtc_state *crtc_state, const struct intel_plane_state *plane_state) { @@ -1760,6 +1773,11 @@ static int skl_plane_check_fb(const struct
intel_crtc_state*crtc_state,return -EINVAL; }
Quoted 6 lines
Quoted 3 lines
drivers/gpu/drm/i915/display/intel_sprite.c +2
-0+if (plane_state->ckey.flags &&format_is_fp16 (fb->format->format)) { + DRM_DEBUG_KMS("Color keying not supported with fp16formats\n");
It seems even "Indexed 8 bit formats" also don't support Color Keying. May be you can extend it to even C8.
wrt C8, at the bit definition of color keying on PLANE_CTL the description says "Plane color keying is not compatible with the Indexed 8-bit pixel format.", but on capability it do list C8. So not sure what is correct.
Quoted 7 lines
Quoted 7 lines
drivers/gpu/drm/i915/display/intel_sprite.c +3
-0+return -EINVAL ; + } +return 0; }
Quoted 7 lines
Quoted 7 lines
--
2.21.0_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 7/9] drm/i915: Reject ckey+fp16 on skl+
Quoted 62 lines · Uma
Quoted 55 lines
-----Original Message-----
From: Shankar, Uma
Sent: Tuesday, October 29, 2019 6:38 PM
To: Ville Syrjala <[email protected]>; [email protected]
Subject: RE: [Intel-gfx] [PATCH 7/9] drm/i915: Reject ckey+fp16 on skl+Quoted 45 lines
-----Original Message-----
From: Intel-gfx <[email protected]> On Behalf Of Ville Syrjala
Sent: Tuesday, October 8, 2019 9:45 PM
To: [email protected]
Subject: [Intel-gfx] [PATCH 7/9] drm/i915: Reject ckey+fp16 on skl+From: Ville Syrjälä <[email protected]>
According to the spec color keying is not supported with fp16 pixel formats on skl+. Reject that combo.
Signed-off-by Ville Syrjälä <[email protected]>---
drivers/gpu/drm/i915/display/intel_sprite.c| 18 ++++++++++++++++++1 file changed, 18 insertions(+)drivers/gpu/drm/i915/display/intel_sprite.c +12
-0@@ -1689,6 +1689,19 @@ vlv_sprite_check(struct intel_crtc_state *crtc_state,return 0 ; } +static bool format_is_fp16 (u32 format) { +switch (format) { +case DRM_FORMAT_XRGB16161616F : +case DRM_FORMAT_XBGR16161616F : +case DRM_FORMAT_ARGB16161616F : +case DRM_FORMAT_ABGR16161616F : +return true; +default : +return false; + } +} +static int skl_plane_check_fb (const struct intel_crtc_state *crtc_state, const struct intel_plane_state *plane_state) { @@ -1760,6 +1773,11 @@ static int skl_plane_check_fb(const struct
intel_crtc_state*crtc_state,return -EINVAL; }Quoted 6 lines
Quoted 3 lines
drivers/gpu/drm/i915/display/intel_sprite.c +2
-0+if (plane_state->ckey.flags &&format_is_fp16 (fb->format->format)) { + DRM_DEBUG_KMS("Color keying not supported with fp16formats\n");
It seems even "Indexed 8 bit formats" also don't support Color Keying. May be you can extend it to even C8.
Quoted 3 lines
wrt C8, at the bit definition of color keying on
PLANE_CTLthe description says "Plane color keying is not compatible with the Indexed 8-bit pixel format.", but on capability it do list C8. So not sure what is correct.
It works just fine, or at least it did on older platforms. So unless they broke it recently we should be good.
Regarding fp16 vs. colorkey, not sure what the deal really is. I should probably test it across the board now that we have fp16 for all gen4+.
Signature · 6 lines
Ville Syrjälä Intel _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 7/9] drm/i915: Reject ckey+fp16 on skl+
Quoted 53 lines
Quoted 53 lines
Quoted 52 lines
Quoted 48 lines
-----Original Message-----
From: Intel-gfx <[email protected]> On Behalf Of Ville Syrjala
Sent: Tuesday, October 8, 2019 9:45 PM
To: [email protected]
Subject: [Intel-gfx] [PATCH 7/9] drm/i915: Reject ckey+fp16 on skl+From: Ville Syrjälä <[email protected]>
According to the spec color keying is not supported with fp16 pixel formats on skl+. Reject that combo.
Signed-off-by Ville Syrjälä <[email protected]>---
drivers/gpu/drm/i915/display/intel_sprite.c| 18 ++++++++++++++++++1 file changed, 18 insertions(+)drivers/gpu/drm/i915/display/intel_sprite.c +12
-0@@ -1689,6 +1689,19 @@ vlv_sprite_check(struct intel_crtc_state *crtc_state,return 0 ; } +static bool format_is_fp16 (u32 format) { +switch (format) { +case DRM_FORMAT_XRGB16161616F : +case DRM_FORMAT_XBGR16161616F : +case DRM_FORMAT_ARGB16161616F : +case DRM_FORMAT_ABGR16161616F : +return true; +default : +return false; + } +} +static int skl_plane_check_fb (const struct intel_crtc_state *crtc_state, const struct intel_plane_state *plane_state) { @@ -1760,6 +1773,11 @@ static int skl_plane_check_fb(const struct
intel_crtc_state*crtc_state,return -EINVAL; }drivers/gpu/drm/i915/display/intel_sprite.c +2
-0+if (plane_state->ckey.flags &&format_is_fp16 (fb->format->format)) { + DRM_DEBUG_KMS("Color keying not supported with fp16Quoted 1 line
formats\n");
It seems even "Indexed 8 bit formats" also don't support Color Keying. May be you can extend it to even C8.
Quoted 7 lines
Quoted 3 lines
wrt C8, at the bit definition of color keying on
PLANE_CTLthe description says "Plane color keying is not compatible with the Indexed 8-bit pixel format.", but on capability it do list C8. So not sure what iscorrect.
It works just fine, or at least it did on older platforms. So unless they broke it recently we should be good.
Ok, yeah that description was misleading. Will try to get some clarification from hardware folks as well.
Quoted 3 lines
Regarding fp16 vs. colorkey, not sure what the deal really is. I should probably test it across the board now that we have fp16 for all gen4+.
That would be great and will confirm the behaviour.
Regards,
Uma Shankar
Quoted 3 lines
--
Ville Syrjälä
Intel
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 8/9 drm/i915: Do not enable HDR mode when color keying is active
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
The spec says that color keying and HDR mode are mutually exclusive. So let's not enable HDR mode when color keying is active.
--- drivers/gpu/drm/i915/display/intel_atomic_plane.c | 5 +++++ drivers/gpu/drm/i915/display/intel_display.c | 13 ++++++++++--- drivers/gpu/drm/i915/display/intel_display_types.h | 1 + 3 files changed, 16 insertions(+), 3 deletions(-)
drivers/gpu/drm/i915/display/intel_atomic_plane.c +5 -0
@@ -150,6 +150,7 @@ int intel_plane_atomic_check_with_state(const struct intel_crtc_state *old_crtc_ new_crtc_state->active_planes &= ~BIT (plane->id); new_crtc_state->nv12_planes &= ~BIT (plane->id); new_crtc_state->c8_planes &= ~BIT (plane->id); + new_crtc_state->ckey_planes &= ~BIT (plane->id); new_crtc_state->data_rate[plane->id] =0 ; new_plane_state->base.visible = false;
@@ -172,6 +173,10 @@ int intel_plane_atomic_check_with_state(const struct intel_crtc_state *old_crtc_ fb->format->format == DRM_FORMAT_C8) new_crtc_state->c8_planes |=BIT (plane->id); +if (new_plane_state->base.visible && + new_plane_state->ckey.flags) + new_crtc_state->ckey_planes |=BIT (plane->id); +if (new_plane_state->base.visible || old_plane_state->base.visible) new_crtc_state->update_planes |=BIT (plane->id);
drivers/gpu/drm/i915/display/intel_display.c +10 -3
@@ -9514,6 +9514,15 @@ static void haswell_set_pipeconf(const struct intel_crtc_state *crtc_state)POSTING_READ (PIPECONF (cpu_transcoder)); } +static bool icl_can_hdr_mode (const struct intel_crtc_state *crtc_state) +{ +u8 ckey_planes = crtc_state->ckey_planes; +u8 sdr_planes = crtc_state->active_planes & + ~(icl_hdr_plane_mask () |BIT (PLANE_CURSOR )); + +return !ckey_planes && !sdr_planes; +} +static void bdw_set_pipemisc (const struct intel_crtc_state *crtc_state) {struct intel_crtc *crtc =to_intel_crtc (crtc_state->base.crtc);
@@ -9549,9 +9558,7 @@ static void bdw_set_pipemisc(const struct intel_crtc_state *crtc_state) val |=PIPEMISC_YUV420_ENABLE |PIPEMISC_YUV420_MODE_FULL_BLEND ; -if (INTEL_GEN (dev_priv) >=11 && - (crtc_state->active_planes & ~(icl_hdr_plane_mask () | -BIT (PLANE_CURSOR ))) ==0 ) +if (INTEL_GEN (dev_priv) >=11 &&icl_can_hdr_mode (crtc_state)) val |=PIPEMISC_HDR_MODE_PRECISION ;I915_WRITE (PIPEMISC (crtc->pipe), val);
drivers/gpu/drm/i915/display/intel_display_types.h +1 -0
@@ -949,6 +949,7 @@ struct intel_crtc_state {u8 active_planes;u8 nv12_planes;u8 c8_planes; +u8 ckey_planes;/* bitmask of planes that will be updated during the commit */ u8 update_planes;
Signature · 6 lines
2.21.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 8/9] drm/i915: Do not enable HDR mode when color keying is active
Quoted 9 lines
-----Original Message-----
From: Intel-gfx <[email protected]> On Behalf Of Ville Syrjala
Sent: Tuesday, October 8, 2019 9:45 PM
To: [email protected]
Subject: [Intel-gfx] [PATCH 8/9] drm/i915: Do not enable HDR mode when color keying is active
Quoted 4 lines
From: Ville Syrjälä <[email protected]>
The spec says that color keying and HDR mode are mutually exclusive. So let's not enable HDR mode when color keying is active.
Looks good to me.
Quoted 82 lines
Signed-off-by Ville Syrjälä <[email protected]>---
drivers/gpu/drm/i915/display/intel_atomic_plane.c | 5 +++++ drivers/gpu/drm/i915/display/intel_display.c | 13 ++++++++++--- drivers/gpu/drm/i915/display/intel_display_types.h | 1 + 3 files changed, 16 insertions(+), 3 deletions(-)drivers/gpu/drm/i915/display/intel_atomic_plane.c +0
-0@@ -150,6 +150,7 @@ int intel_plane_atomic_check_with_state(const struct
intel_crtc_state*old_crtc_new_crtc_state->active_planes &= ~BIT(plane->id); new_crtc_state->nv12_planes &= ~BIT(plane->id); new_crtc_state->c8_planes &= ~BIT(plane->id);drivers/gpu/drm/i915/display/intel_atomic_plane.c +1
-0+ new_crtc_state->ckey_planes &= ~BIT (plane->id);new_crtc_state->data_rate[plane->id] = 0; new_plane_state->base.visible = false;drivers/gpu/drm/i915/display/intel_atomic_plane.c +0
-0@@ -172,6 +173,10 @@ int intel_plane_atomic_check_with_state(const struct
intel_crtc_state*old_crtc_fb->format->format == DRM_FORMAT_C8) new_crtc_state->c8_planes |= BIT(plane->id);drivers/gpu/drm/i915/display/intel_atomic_plane.c +4
-0+if (new_plane_state->base.visible && + new_plane_state->ckey.flags) + new_crtc_state->ckey_planes |=BIT (plane->id); +if (new_plane_state->base.visible || old_plane_state->base.visible) new_crtc_state->update_planes |= BIT(plane->id);drivers/gpu/drm/i915/display/intel_display.c +10
-3@@ -9514,6 +9514,15 @@ static void haswell_set_pipeconf(const struct intel_crtc_state *crtc_state)POSTING_READ (PIPECONF (cpu_transcoder )); } +static bool icl_can_hdr_mode (const struct intel_crtc_state *crtc_state) +{ +u8 ckey_planes = crtc_state->ckey_planes; +u8 sdr_planes = crtc_state->active_planes & + ~(icl_hdr_plane_mask () |BIT (PLANE_CURSOR )); + +return !ckey_planes && !sdr_planes; +} +static void bdw_set_pipemisc (const struct intel_crtc_state *crtc_state) {struct intel_crtc *crtc =to_intel_crtc (crtc_state->base.crtc);@@ -9549,9 +9558,7 @@ static void bdw_set_pipemisc(const struct intel_crtc_state *crtc_state) val |=PIPEMISC_YUV420_ENABLE |PIPEMISC_YUV420_MODE_FULL_BLEND ; -if (INTEL_GEN (dev_priv) >=11 && - (crtc_state->active_planes & ~(icl_hdr_plane_mask () | -BIT (PLANE_CURSOR ))) ==0 ) +if (INTEL_GEN (dev_priv) >=11 &&icl_can_hdr_mode (crtc_state)) val |=PIPEMISC_HDR_MODE_PRECISION ;I915_WRITE(PIPEMISC(crtc->pipe), val); diff --git
a/drivers/gpu/drm/i915/display/intel_display_types.hb/drivers/gpu/drm/i915/display/intel_display_types.hindex40390d855815..4935ea41d3e1100644drivers/gpu/drm/i915/display/intel_display_types.h +1
-1@@ -949,6 +949,7 @@ struct intel_crtc_state {u8 active_planes;u8 nv12_planes;u8 c8_planes; +u8 ckey_planes;/* bitmask of planes that will be updated during the commit */ u8 update_planes; --2.21.0
Quoted 4 lines
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 9/9 drm/i915: Eliminate redundancy in intel_primary_plane_create()
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
Lots of redundant assignments inside intel_primary_plane_create(). Get rid of them.
--- drivers/gpu/drm/i915/display/intel_display.c | 43 +++++++------------- 1 file changed, 14 insertions(+), 29 deletions(-)
drivers/gpu/drm/i915/display/intel_display.c +14 -29
@@ -14873,7 +14873,6 @@ intel_primary_plane_create(struct drm_i915_private *dev_priv, enum pipe pipe)const struct drm_plane_funcs *plane_funcs;unsigned int supported_rotations;unsigned int possible_crtcs; -const u64 *modifiers;const u32 *formats;int num_formats;int ret, zpos;
@@ -14908,53 +14907,39 @@ intel_primary_plane_create(struct drm_i915_private *dev_priv, enum pipe pipe)if (IS_VALLEYVIEW (dev_priv) ||IS_CHERRYVIEW (dev_priv)) { formats = vlv_primary_formats; num_formats =ARRAY_SIZE (vlv_primary_formats); - modifiers = i9xx_format_modifiers; - - plane->max_stride = i9xx_plane_max_stride; - plane->update_plane = i9xx_update_plane; - plane->disable_plane = i9xx_disable_plane; - plane->get_hw_state = i9xx_plane_get_hw_state; - plane->check_plane = i9xx_plane_check; - - plane_funcs = &i965_plane_funcs; }else if (INTEL_GEN (dev_priv) >=4 ) { formats = i965_primary_formats; num_formats =ARRAY_SIZE (i965_primary_formats); - modifiers = i9xx_format_modifiers; - - plane->max_stride = i9xx_plane_max_stride; - plane->update_plane = i9xx_update_plane; - plane->disable_plane = i9xx_disable_plane; - plane->get_hw_state = i9xx_plane_get_hw_state; - plane->check_plane = i9xx_plane_check; - - plane_funcs = &i965_plane_funcs; }else { formats = i8xx_primary_formats; num_formats =ARRAY_SIZE (i8xx_primary_formats); - modifiers = i9xx_format_modifiers; - - plane->max_stride = i9xx_plane_max_stride; - plane->update_plane = i9xx_update_plane; - plane->disable_plane = i9xx_disable_plane; - plane->get_hw_state = i9xx_plane_get_hw_state; - plane->check_plane = i9xx_plane_check; + } +if (INTEL_GEN (dev_priv) >=4 ) + plane_funcs = &i965_plane_funcs; +else plane_funcs = &i8xx_plane_funcs; - } + + plane->max_stride = i9xx_plane_max_stride; + plane->update_plane = i9xx_update_plane; + plane->disable_plane = i9xx_disable_plane; + plane->get_hw_state = i9xx_plane_get_hw_state; + plane->check_plane = i9xx_plane_check; possible_crtcs =BIT (pipe);if (INTEL_GEN (dev_priv) >=5 ||IS_G4X (dev_priv)) ret =drm_universal_plane_init (&dev_priv->drm, &plane->base, possible_crtcs, plane_funcs, - formats, num_formats, modifiers, + formats, num_formats, + i9xx_format_modifiers,DRM_PLANE_TYPE_PRIMARY ,"primary %c" ,pipe_name (pipe));else ret =drm_universal_plane_init (&dev_priv->drm, &plane->base, possible_crtcs, plane_funcs, - formats, num_formats, modifiers, + formats, num_formats, + i9xx_format_modifiers,DRM_PLANE_TYPE_PRIMARY ,"plane %c" ,plane_name (plane->i9xx_plane));
Signature · 6 lines
2.21.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 9/9] drm/i915: Eliminate redundancy in intel_primary_plane_create()
Quoted 81 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
Lots of redundant assignments inside
intel_primary_plane_create(). Get rid of them.Signed-off-by Ville Syrjälä <[email protected]>--- drivers/gpu/drm/i915/display/intel_display.c | 43 +++++++------------- 1 file changed, 14 insertions(+), 29 deletions(-)drivers/gpu/drm/i915/display/intel_display.c +12
-28@@ -14873,7 +14873,6 @@ intel_primary_plane_create(struct drm_i915_private *dev_priv, enum pipe pipe)const struct drm_plane_funcs *plane_funcs;unsigned int supported_rotations;unsigned int possible_crtcs; -const u64 *modifiers;const u32 *formats;int num_formats;int ret, zpos;@@ -14908,53 +14907,39 @@ intel_primary_plane_create(struct drm_i915_private *dev_priv, enum pipe pipe)if (IS_VALLEYVIEW (dev_priv) ||IS_CHERRYVIEW (dev_priv)) { formats = vlv_primary_formats; num_formats =ARRAY_SIZE (vlv_primary_formats); - modifiers = i9xx_format_modifiers; - - plane->max_stride = i9xx_plane_max_stride; - plane->update_plane = i9xx_update_plane; - plane->disable_plane = i9xx_disable_plane; - plane->get_hw_state = i9xx_plane_get_hw_state; - plane->check_plane = i9xx_plane_check; - - plane_funcs = &i965_plane_funcs; }else if (INTEL_GEN (dev_priv) >=4 ) { formats = i965_primary_formats; num_formats =ARRAY_SIZE (i965_primary_formats); - modifiers = i9xx_format_modifiers; - - plane->max_stride = i9xx_plane_max_stride; - plane->update_plane = i9xx_update_plane; - plane->disable_plane = i9xx_disable_plane; - plane->get_hw_state = i9xx_plane_get_hw_state; - plane->check_plane = i9xx_plane_check; - - plane_funcs = &i965_plane_funcs; }else { formats = i8xx_primary_formats; num_formats =ARRAY_SIZE (i8xx_primary_formats); - modifiers = i9xx_format_modifiers; - - plane->max_stride = i9xx_plane_max_stride; - plane->update_plane = i9xx_update_plane; - plane->disable_plane = i9xx_disable_plane; - plane->get_hw_state = i9xx_plane_get_hw_state; - plane->check_plane = i9xx_plane_check; + } +if (INTEL_GEN (dev_priv) >=4 ) + plane_funcs = &i965_plane_funcs; +else plane_funcs = &i8xx_plane_funcs; - } + + plane->max_stride = i9xx_plane_max_stride; + plane->update_plane = i9xx_update_plane; + plane->disable_plane = i9xx_disable_plane; + plane->get_hw_state = i9xx_plane_get_hw_state; + plane->check_plane = i9xx_plane_check; possible_crtcs =BIT (pipe);if (INTEL_GEN (dev_priv) >=5 ||IS_G4X (dev_priv)) ret = drm_universal_plane_init(&dev_priv->drm, &plane->base, possible_crtcs, plane_funcs, - formats, num_formats, modifiers, + formats, num_formats, + i9xx_format_modifiers, DRM_PLANE_TYPE_PRIMARY,
drivers/gpu/drm/i915/display/intel_display.c intel_primary_plane_create(struct drm_i915_private *dev_priv, enum pipe pipe) · line 14945
Quoted 10 lines
drivers/gpu/drm/i915/display/intel_display.c +2
-1"primary %c", pipe_name(pipe)); else ret =drm_universal_plane_init (&dev_priv->drm, &plane->base, possible_crtcs, plane_funcs, - formats, num_formats, modifiers, + formats, num_formats, + i9xx_format_modifiers,DRM_PLANE_TYPE_PRIMARY ,"plane %c" ,plane_name (plane->i9xx_plane));
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 9/9] drm/i915: Eliminate redundancy in intel_primary_plane_create()
In reply to Ville SyrjalaQuoted 9 lines
-----Original Message-----
From: Intel-gfx <[email protected]> On Behalf Of Ville Syrjala
Sent: Tuesday, October 8, 2019 9:45 PM
To: [email protected]
Subject: [Intel-gfx] [PATCH 9/9] drm/i915: Eliminate redundancy inintel_primary_plane_create()
Quoted 4 lines
From: Ville Syrjälä <[email protected]>
Lots of redundant assignments inside
intel_primary_plane_create(). Get rid of them.
Looks good to me.
Quoted 88 lines
Signed-off-by Ville Syrjälä <[email protected]>---
drivers/gpu/drm/i915/display/intel_display.c| 43 +++++++-------------1 file changed, 14 insertions(+), 29 deletions(-)drivers/gpu/drm/i915/display/intel_display.c +0
-1@@ -14873,7 +14873,6 @@ intel_primary_plane_create(struct drm_i915_private *dev_priv, enum pipe pipe)const struct drm_plane_funcs *plane_funcs;unsigned int supported_rotations;unsigned int possible_crtcs; -const u64 *modifiers;const u32 *formats;int num_formats;int ret, zpos;drivers/gpu/drm/i915/display/intel_display.c +14
-28@@ -14908,53 +14907,39 @@ intel_primary_plane_create(struct drm_i915_private *dev_priv, enum pipe pipe)if (IS_VALLEYVIEW (dev_priv) ||IS_CHERRYVIEW (dev_priv)) { formats = vlv_primary_formats; num_formats =ARRAY_SIZE (vlv_primary_formats); - modifiers = i9xx_format_modifiers; - - plane->max_stride = i9xx_plane_max_stride; - plane->update_plane = i9xx_update_plane; - plane->disable_plane = i9xx_disable_plane; - plane->get_hw_state = i9xx_plane_get_hw_state; - plane->check_plane = i9xx_plane_check; - - plane_funcs = &i965_plane_funcs; }else if (INTEL_GEN (dev_priv) >=4 ) { formats = i965_primary_formats; num_formats =ARRAY_SIZE (i965_primary_formats); - modifiers = i9xx_format_modifiers; - - plane->max_stride = i9xx_plane_max_stride; - plane->update_plane = i9xx_update_plane; - plane->disable_plane = i9xx_disable_plane; - plane->get_hw_state = i9xx_plane_get_hw_state; - plane->check_plane = i9xx_plane_check; - - plane_funcs = &i965_plane_funcs; }else { formats = i8xx_primary_formats; num_formats =ARRAY_SIZE (i8xx_primary_formats); - modifiers = i9xx_format_modifiers; - - plane->max_stride = i9xx_plane_max_stride; - plane->update_plane = i9xx_update_plane; - plane->disable_plane = i9xx_disable_plane; - plane->get_hw_state = i9xx_plane_get_hw_state; - plane->check_plane = i9xx_plane_check; + } +if (INTEL_GEN (dev_priv) >=4 ) + plane_funcs = &i965_plane_funcs; +else plane_funcs = &i8xx_plane_funcs; - } + + plane->max_stride = i9xx_plane_max_stride; + plane->update_plane = i9xx_update_plane; + plane->disable_plane = i9xx_disable_plane; + plane->get_hw_state = i9xx_plane_get_hw_state; + plane->check_plane = i9xx_plane_check; possible_crtcs =BIT (pipe);if (INTEL_GEN (dev_priv) >=5 ||IS_G4X (dev_priv)) ret =drm_universal_plane_init (&dev_priv->drm, &plane->base, possible_crtcs, plane_funcs, - formats, num_formats, modifiers, + formats, num_formats, + i9xx_format_modifiers,DRM_PLANE_TYPE_PRIMARY ,"primary %c" ,pipe_name (pipe));else ret = drm_universal_plane_init(&dev_priv->drm, &plane->base, possible_crtcs, plane_funcs, - formats, num_formats, modifiers, + formats, num_formats, + i9xx_format_modifiers, DRM_PLANE_TYPE_PRIMARY, "plane %c",plane_name(plane->i9xx_plane));
Quoted 7 lines
--
2.21.0_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.BAT: success for series starting with [1/9] drm/i915: Expose 10:10:10 XRGB formats on SNB-BDW sprites
In reply to Ville Syrjala== Series Details ==
== Series Details ==
Series: series starting with [1/9] drm/i915: Expose 10:10:10 XRGB formats on SNB-BDW sprites
URL : https://patchwork.freedesktop.org/series/67741/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_7035 -> Patchwork_14705
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/index.html
Known issues
------------
Here are the changes found in Patchwork_14705 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_suspend@basic-s3:
- fi-blb-e6850: [PASS][1] -> [INCOMPLETE][2] ([fdo#107718])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7035/fi-blb-e6850/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/fi-blb-e6850/igt@[email protected]
* igt@gem_exec_suspend@basic-s4-devices:
- fi-icl-u3: [PASS][3] -> [DMESG-WARN][4] ([fdo#107724]) +1 similar issue
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7035/fi-icl-u3/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/fi-icl-u3/igt@[email protected]
#### Possible fixes ####
* igt@gem_ctx_create@basic-files:
- fi-cml-u2: [INCOMPLETE][5] ([fdo#110566]) -> [PASS][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7035/fi-cml-u2/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/fi-cml-u2/igt@[email protected]
* igt@gem_ctx_switch@rcs0:
- {fi-icl-guc}: [INCOMPLETE][7] ([fdo#107713]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7035/fi-icl-guc/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/fi-icl-guc/igt@[email protected]
* igt@gem_flink_basic@double-flink:
- fi-icl-u3: [DMESG-WARN][9] ([fdo#107724]) -> [PASS][10] +1 similar issue
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7035/fi-icl-u3/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/fi-icl-u3/igt@[email protected]
* igt@i915_selftest@live_hangcheck:
- {fi-tgl-u}: [INCOMPLETE][11] ([fdo#111747]) -> [PASS][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7035/fi-tgl-u/igt@i915_selftest@live_hangcheck.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/fi-tgl-u/igt@i915_selftest@live_hangcheck.html
* igt@kms_chamelium@hdmi-hpd-fast:
- fi-kbl-7500u: [FAIL][13] ([fdo#111045] / [fdo#111096]) -> [PASS][14]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7035/fi-kbl-7500u/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/fi-kbl-7500u/igt@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
[fdo#107718]: https://bugs.freedesktop.org/show_bug.cgi?id=107718
[fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724
[fdo#110566]: https://bugs.freedesktop.org/show_bug.cgi?id=110566
[fdo#111045]: https://bugs.freedesktop.org/show_bug.cgi?id=111045
[fdo#111096]: https://bugs.freedesktop.org/show_bug.cgi?id=111096
[fdo#111747]: https://bugs.freedesktop.org/show_bug.cgi?id=111747
Participating hosts (51 -> 45)
------------------------------
Missing (6): fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-icl-y fi-byt-clapper fi-bdw-samus
Build changes
-------------
* CI: CI-20190529 -> None
* Linux: CI_DRM_7035 -> Patchwork_14705
CI-20190529: 20190529
CI_DRM_7035: 6256c298ba41f295206104fb6eaa067dde46a4d9 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5218: 869ed1ee0b71ce17f0a864512488f8b1a6cb8545 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_14705: cca2b959c9a9dd108b59504b3cceed096c61d162 @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
cca2b959c9a9 drm/i915: Eliminate redundancy in intel_primary_plane_create() 709d12b04c69 drm/i915: Do not enable HDR mode when color keying is active ce206c719838 drm/i915: Reject ckey+fp16 on skl+5c3dbeb08683 drm/i915: Sort format arrays consistently 13c5f2cb6cb3 drm/i915: Add 10bpc formats with alpha for icl+ 966514314aea drm/i915: Expose C8 on VLV/CHV sprite planes 5030b840ef0b drm/i915: Add missing 10bpc formats for pipe B sprites on CHV 0e88079e0ae0 drm/i915: Expose alpha formats on VLV/CHV primary planes c4acf9d20614 drm/i915: Expose 10:10:10 XRGB formats on SNB-BDW sprites
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/index.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✗ Fi.CI.IGT: failure for series starting with [1/9] drm/i915: Expose 10:10:10 XRGB formats on SNB-BDW sprites
In reply to Ville Syrjala== Series Details ==
== Series Details ==
Series: series starting with [1/9] drm/i915: Expose 10:10:10 XRGB formats on SNB-BDW sprites
URL : https://patchwork.freedesktop.org/series/67741/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_7035_full -> Patchwork_14705_full
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_14705_full absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_14705_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_14705_full:
### IGT changes ###
#### Possible regressions ####
* igt@kms_plane_scaling@pipe-a-scaler-with-clipping-clamping:
- shard-iclb: [PASS][1] -> [FAIL][2] +1 similar issue
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7035/shard-iclb6/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/shard-iclb6/igt@[email protected]
* igt@kms_plane_scaling@pipe-c-scaler-with-clipping-clamping:
- shard-iclb: NOTRUN -> [FAIL][3]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/shard-iclb7/igt@[email protected]
#### Suppressed ####
The following results come from untrusted machines, tests, or statuses. They do not affect the overall result.
* igt@kms_cursor_crc@pipe-b-cursor-128x42-offscreen:
- {shard-tglb}: [PASS][4] -> [INCOMPLETE][5]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7035/shard-tglb6/igt@[email protected]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/shard-tglb7/igt@[email protected]
* igt@kms_plane_scaling@pipe-b-scaler-with-clipping-clamping:
- {shard-tglb}: NOTRUN -> [FAIL][6] +1 similar issue
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/shard-tglb7/igt@[email protected]
* igt@kms_rotation_crc@primary-yf-tiled-reflect-x-0:
- {shard-tglb}: NOTRUN -> [SKIP][7] +1 similar issue
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/shard-tglb3/igt@[email protected]
Known issues
------------
Here are the changes found in Patchwork_14705_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_ctx_isolation@rcs0-s3:
- shard-apl: [PASS][8] -> [DMESG-WARN][9] ([fdo#108566]) +4 similar issues
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7035/shard-apl8/igt@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/shard-apl7/igt@[email protected]
* igt@gem_exec_balancer@smoke:
- shard-iclb: [PASS][10] -> [SKIP][11] ([fdo#110854])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7035/shard-iclb1/igt@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/shard-iclb6/igt@[email protected]
* igt@gem_exec_flush@basic-wb-pro-default:
- shard-apl: [PASS][12] -> [INCOMPLETE][13] ([fdo#103927])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7035/shard-apl3/igt@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/shard-apl4/igt@[email protected]
* igt@gem_exec_schedule@in-order-bsd:
- shard-iclb: [PASS][14] -> [SKIP][15] ([fdo#111325]) +4 similar issues
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7035/shard-iclb6/igt@[email protected]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/shard-iclb4/igt@[email protected]
* igt@gem_userptr_blits@sync-unmap-cycles:
- shard-snb: [PASS][16] -> [DMESG-WARN][17] ([fdo#111870])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7035/shard-snb1/igt@[email protected]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/shard-snb6/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-128x128-sliding:
- shard-apl: [PASS][18] -> [DMESG-WARN][19] ([fdo#103558] / [fdo#105602]) +30 similar issues
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7035/shard-apl6/igt@[email protected]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/shard-apl4/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-suspend:
- shard-apl: [PASS][20] -> [DMESG-WARN][21] ([fdo#103558] / [fdo#105602] / [fdo#108566])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7035/shard-apl6/igt@[email protected]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/shard-apl4/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-mmap-gtt:
- shard-iclb: [PASS][22] -> [FAIL][23] ([fdo#103167]) +6 similar issues
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7035/shard-iclb5/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-mmap-gtt.html
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/shard-iclb8/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-mmap-gtt.html
* igt@kms_psr@psr2_cursor_plane_move:
- shard-iclb: [PASS][24] -> [SKIP][25] ([fdo#109441]) +3 similar issues
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7035/shard-iclb2/igt@kms_psr@psr2_cursor_plane_move.html
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/shard-iclb8/igt@kms_psr@psr2_cursor_plane_move.html
* igt@kms_setmode@basic:
- shard-apl: [PASS][26] -> [FAIL][27] ([fdo#99912])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7035/shard-apl3/igt@[email protected]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/shard-apl1/igt@[email protected]
* igt@kms_vblank@pipe-c-wait-forked-busy-hang:
- shard-iclb: [PASS][28] -> [INCOMPLETE][29] ([fdo#107713])
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7035/shard-iclb3/igt@[email protected]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/shard-iclb1/igt@[email protected]
* igt@prime_busy@hang-bsd2:
- shard-iclb: [PASS][30] -> [SKIP][31] ([fdo#109276]) +25 similar issues
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7035/shard-iclb2/igt@[email protected]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/shard-iclb5/igt@[email protected]
#### Possible fixes ####
* igt@gem_ctx_shared@exec-single-timeline-bsd:
- shard-iclb: [SKIP][32] ([fdo#110841]) -> [PASS][33]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7035/shard-iclb4/igt@[email protected]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/shard-iclb6/igt@[email protected]
* igt@gem_eio@in-flight-contexts-immediate:
- shard-snb: [FAIL][34] ([fdo#111925]) -> [PASS][35]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7035/shard-snb5/igt@[email protected]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/shard-snb1/igt@[email protected]
* igt@gem_eio@unwedge-stress:
- shard-snb: [FAIL][36] ([fdo#109661]) -> [PASS][37] +1 similar issue
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7035/shard-snb2/igt@[email protected]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/shard-snb2/igt@[email protected]
* igt@gem_exec_schedule@preempt-other-chain-bsd:
- shard-iclb: [SKIP][38] ([fdo#111325]) -> [PASS][39] +3 similar issues
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7035/shard-iclb1/igt@[email protected]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/shard-iclb6/igt@[email protected]
* igt@gem_exec_schedule@preempt-queue-bsd1:
- shard-iclb: [SKIP][40] ([fdo#109276]) -> [PASS][41] +16 similar issues
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7035/shard-iclb8/igt@[email protected]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/shard-iclb1/igt@[email protected]
* igt@gem_userptr_blits@dmabuf-sync:
- shard-snb: [DMESG-WARN][42] ([fdo#111870]) -> [PASS][43]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7035/shard-snb2/igt@[email protected]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/shard-snb5/igt@[email protected]
- shard-hsw: [DMESG-WARN][44] ([fdo#111870]) -> [PASS][45]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7035/shard-hsw1/igt@[email protected]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/shard-hsw4/igt@[email protected]
* igt@i915_pm_rpm@system-suspend-execbuf:
- shard-skl: [INCOMPLETE][46] ([fdo#104108] / [fdo#107807]) -> [PASS][47]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7035/shard-skl10/igt@[email protected]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/shard-skl8/igt@[email protected]
* igt@i915_selftest@live_coherency:
- shard-skl: [TIMEOUT][48] -> [PASS][49]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7035/shard-skl2/igt@i915_selftest@live_coherency.html
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/shard-skl3/igt@i915_selftest@live_coherency.html
* igt@kms_cursor_legacy@flip-vs-cursor-legacy:
- shard-skl: [FAIL][50] ([fdo#102670]) -> [PASS][51]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7035/shard-skl7/igt@[email protected]
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/shard-skl1/igt@[email protected]
* igt@kms_flip@2x-plain-flip-ts-check:
- shard-glk: [FAIL][52] ([fdo#100368]) -> [PASS][53] +1 similar issue
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7035/shard-glk1/igt@[email protected]
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/shard-glk5/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank-interruptible:
- shard-skl: [FAIL][54] ([fdo#105363]) -> [PASS][55]
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7035/shard-skl8/igt@[email protected]
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/shard-skl1/igt@[email protected]
* igt@kms_flip@flip-vs-suspend:
- shard-hsw: [INCOMPLETE][56] ([fdo#103540]) -> [PASS][57]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7035/shard-hsw5/igt@[email protected]
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/shard-hsw2/igt@[email protected]
* igt@kms_flip@plain-flip-ts-check-interruptible:
- shard-skl: [FAIL][58] ([fdo#100368]) -> [PASS][59]
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7035/shard-skl9/igt@[email protected]
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/shard-skl8/igt@[email protected]
* igt@kms_flip_tiling@flip-to-y-tiled:
- shard-skl: [FAIL][60] ([fdo#107931] / [fdo#108134]) -> [PASS][61]
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7035/shard-skl9/igt@[email protected]
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/shard-skl8/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-render:
- shard-iclb: [FAIL][62] ([fdo#103167]) -> [PASS][63] +5 similar issues
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7035/shard-iclb8/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-render.html
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/shard-iclb1/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-render.html
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-spr-indfb-draw-pwrite:
- {shard-tglb}: [FAIL][64] ([fdo#103167]) -> [PASS][65]
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7035/shard-tglb3/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-spr-indfb-draw-pwrite.html
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/shard-tglb3/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-spr-indfb-draw-pwrite.html
* igt@kms_pipe_crc_basic@nonblocking-crc-pipe-c-frame-sequence:
- shard-skl: [FAIL][66] ([fdo#103191]) -> [PASS][67]
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7035/shard-skl9/igt@[email protected]
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/shard-skl8/igt@[email protected]
* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-c:
- shard-skl: [INCOMPLETE][68] ([fdo#104108]) -> [PASS][69]
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7035/shard-skl10/igt@[email protected]
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/shard-skl7/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-a-constant-alpha-min:
- shard-skl: [FAIL][70] ([fdo#108145]) -> [PASS][71]
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7035/shard-skl10/igt@[email protected]
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/shard-skl7/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-b-coverage-7efc:
- shard-skl: [FAIL][72] ([fdo#108145] / [fdo#110403]) -> [PASS][73]
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7035/shard-skl4/igt@[email protected]
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/shard-skl2/igt@[email protected]
* igt@kms_psr@psr2_primary_mmap_cpu:
- shard-iclb: [SKIP][74] ([fdo#109441]) -> [PASS][75] +1 similar issue
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7035/shard-iclb1/igt@kms_psr@psr2_primary_mmap_cpu.html
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/shard-iclb2/igt@kms_psr@psr2_primary_mmap_cpu.html
* igt@kms_setmode@basic:
- shard-kbl: [FAIL][76] ([fdo#99912]) -> [PASS][77]
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7035/shard-kbl6/igt@[email protected]
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/shard-kbl2/igt@[email protected]
* igt@kms_vblank@pipe-a-query-forked-busy-hang:
- {shard-tglb}: [INCOMPLETE][78] -> [PASS][79]
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7035/shard-tglb6/igt@[email protected]
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/shard-tglb5/igt@[email protected]
* igt@kms_vblank@pipe-c-ts-continuation-suspend:
- shard-apl: [DMESG-WARN][80] ([fdo#108566]) -> [PASS][81]
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7035/shard-apl2/igt@[email protected]
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/shard-apl6/igt@[email protected]
* igt@perf@polling:
- shard-skl: [FAIL][82] ([fdo#110728]) -> [PASS][83]
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7035/shard-skl5/igt@[email protected]
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/shard-skl2/igt@[email protected]
#### Warnings ####
* igt@gem_ctx_isolation@vcs1-nonpriv:
- shard-iclb: [SKIP][84] ([fdo#109276]) -> [FAIL][85] ([fdo#111329])
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7035/shard-iclb6/igt@[email protected]
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/shard-iclb4/igt@[email protected]
* igt@gem_mocs_settings@mocs-rc6-bsd2:
- shard-iclb: [FAIL][86] ([fdo#111330]) -> [SKIP][87] ([fdo#109276])
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7035/shard-iclb2/igt@[email protected]
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/shard-iclb5/igt@[email protected]
* igt@gem_mocs_settings@mocs-reset-bsd2:
- shard-iclb: [SKIP][88] ([fdo#109276]) -> [FAIL][89] ([fdo#111330])
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7035/shard-iclb7/igt@[email protected]
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/shard-iclb2/igt@[email protected]
* igt@kms_big_fb@yf-tiled-16bpp-rotate-270:
- shard-apl: [SKIP][90] ([fdo#109271]) -> [SKIP][91] ([fdo#105602] / [fdo#109271]) +23 similar issues
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7035/shard-apl6/igt@[email protected]
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/shard-apl4/igt@[email protected]
* igt@kms_busy@extended-modeset-hang-newfb-render-e:
- shard-apl: [SKIP][92] ([fdo#109271] / [fdo#109278]) -> [SKIP][93] ([fdo#105602] / [fdo#109271] / [fdo#109278]) +1 similar issue
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7035/shard-apl6/igt@[email protected]
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/shard-apl4/igt@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#100368]: https://bugs.freedesktop.org/show_bug.cgi?id=100368
[fdo#102670]: https://bugs.freedesktop.org/show_bug.cgi?id=102670
[fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
[fdo#103191]: https://bugs.freedesktop.org/show_bug.cgi?id=103191
[fdo#103540]: https://bugs.freedesktop.org/show_bug.cgi?id=103540
[fdo#103558]: https://bugs.freedesktop.org/show_bug.cgi?id=103558
[fdo#103927]: https://bugs.freedesktop.org/show_bug.cgi?id=103927
[fdo#104108]: https://bugs.freedesktop.org/show_bug.cgi?id=104108
[fdo#105363]: https://bugs.freedesktop.org/show_bug.cgi?id=105363
[fdo#105602]: https://bugs.freedesktop.org/show_bug.cgi?id=105602
[fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
[fdo#107807]: https://bugs.freedesktop.org/show_bug.cgi?id=107807
[fdo#107931]: https://bugs.freedesktop.org/show_bug.cgi?id=107931
[fdo#108134]: https://bugs.freedesktop.org/show_bug.cgi?id=108134
[fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
[fdo#108566]: https://bugs.freedesktop.org/show_bug.cgi?id=108566
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109276]: https://bugs.freedesktop.org/show_bug.cgi?id=109276
[fdo#109278]: https://bugs.freedesktop.org/show_bug.cgi?id=109278
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#109661]: https://bugs.freedesktop.org/show_bug.cgi?id=109661
[fdo#110403]: https://bugs.freedesktop.org/show_bug.cgi?id=110403
[fdo#110728]: https://
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14705/index.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.BAT: success for series starting with [1/9] drm/i915: Expose 10:10:10 XRGB formats on SNB-BDW sprites (rev2)
In reply to Ville Syrjala== Series Details ==
== Series Details ==
Series: series starting with [1/9] drm/i915: Expose 10:10:10 XRGB formats on SNB-BDW sprites (rev2)
URL : https://patchwork.freedesktop.org/series/67741/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_7042 -> Patchwork_14725
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/index.html
Known issues
------------
Here are the changes found in Patchwork_14725 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_mmap_gtt@basic-read-no-prefault:
- fi-icl-u3: [PASS][1] -> [DMESG-WARN][2] ([fdo#107724])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/fi-icl-u3/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/fi-icl-u3/igt@[email protected]
#### Possible fixes ####
* igt@gem_close_race@basic-process:
- {fi-icl-u4}: [INCOMPLETE][3] ([fdo#107713]) -> [PASS][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/fi-icl-u4/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/fi-icl-u4/igt@[email protected]
* igt@gem_ctx_create@basic-files:
- {fi-icl-guc}: [INCOMPLETE][5] ([fdo#107713] / [fdo#109100]) -> [PASS][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/fi-icl-guc/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/fi-icl-guc/igt@[email protected]
* igt@gem_exec_suspend@basic-s3:
- fi-glk-dsi: [INCOMPLETE][7] ([fdo#103359] / [k.org#198133]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/fi-glk-dsi/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/fi-glk-dsi/igt@[email protected]
* igt@gem_mmap_gtt@basic-short:
- fi-icl-u3: [DMESG-WARN][9] ([fdo#107724]) -> [PASS][10] +2 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/fi-icl-u3/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/fi-icl-u3/igt@[email protected]
* {igt@i915_selftest@live_gt_timelines}:
- {fi-tgl-u2}: [INCOMPLETE][11] ([fdo#111831]) -> [PASS][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/fi-tgl-u2/igt@i915_selftest@live_gt_timelines.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/fi-tgl-u2/igt@i915_selftest@live_gt_timelines.html
* igt@kms_busy@basic-flip-a:
- {fi-tgl-u2}: [DMESG-WARN][13] ([fdo#111600]) -> [PASS][14]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/fi-tgl-u2/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/fi-tgl-u2/igt@[email protected]
* igt@kms_chamelium@hdmi-hpd-fast:
- fi-icl-u2: [FAIL][15] ([fdo#109483]) -> [PASS][16]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/fi-icl-u2/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/fi-icl-u2/igt@[email protected]
#### Warnings ####
* igt@kms_chamelium@hdmi-hpd-fast:
- fi-kbl-7500u: [FAIL][17] ([fdo#111045] / [fdo#111096]) -> [FAIL][18] ([fdo#111407])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/fi-kbl-7500u/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/fi-kbl-7500u/igt@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#103359]: https://bugs.freedesktop.org/show_bug.cgi?id=103359
[fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
[fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724
[fdo#109100]: https://bugs.freedesktop.org/show_bug.cgi?id=109100
[fdo#109483]: https://bugs.freedesktop.org/show_bug.cgi?id=109483
[fdo#111045]: https://bugs.freedesktop.org/show_bug.cgi?id=111045
[fdo#111096]: https://bugs.freedesktop.org/show_bug.cgi?id=111096
[fdo#111407]: https://bugs.freedesktop.org/show_bug.cgi?id=111407
[fdo#111600]: https://bugs.freedesktop.org/show_bug.cgi?id=111600
[fdo#111831]: https://bugs.freedesktop.org/show_bug.cgi?id=111831
[k.org#198133]: https://bugzilla.kernel.org/show_bug.cgi?id=198133
Participating hosts (54 -> 47)
------------------------------
Additional (1): fi-apl-guc
Missing (8): fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-ctg-p8600 fi-icl-y fi-byt-clapper fi-bdw-samus
Build changes
-------------
* CI: CI-20190529 -> None
* Linux: CI_DRM_7042 -> Patchwork_14725
CI-20190529: 20190529
CI_DRM_7042: 22c41b8242975f09144e6f9eebc58ad357fbb8bc @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5219: e501741f2e2b086a8c55d9f278c630ce68ad5fe1 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_14725: 6023eea6b2c5424980f249126425f393ad2d040a @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
6023eea6b2c5 drm/i915: Eliminate redundancy in intel_primary_plane_create() ecc3b59e2f68 drm/i915: Do not enable HDR mode when color keying is active 9491d345e9c6 drm/i915: Reject ckey+fp16 on skl+7aaaa59bef45 drm/i915: Sort format arrays consistently 0769f7cbfca3 drm/i915: Add 10bpc formats with alpha for icl+ e345ec744411 drm/i915: Expose C8 on VLV/CHV sprite planes 5f6fe134ea69 drm/i915: Add missing 10bpc formats for pipe B sprites on CHV e19e32456928 drm/i915: Expose alpha formats on VLV/CHV primary planes a9ac7e6feb83 drm/i915: Expose 10:10:10 XRGB formats on SNB-BDW sprites
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/index.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✗ Fi.CI.IGT: failure for series starting with [1/9] drm/i915: Expose 10:10:10 XRGB formats on SNB-BDW sprites (rev2)
In reply to Ville Syrjala== Series Details ==
== Series Details ==
Series: series starting with [1/9] drm/i915: Expose 10:10:10 XRGB formats on SNB-BDW sprites (rev2)
URL : https://patchwork.freedesktop.org/series/67741/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_7042_full -> Patchwork_14725_full
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_14725_full absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_14725_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_14725_full:
### IGT changes ###
#### Possible regressions ####
* igt@gem_eio@in-flight-1us:
- shard-snb: [PASS][1] -> [FAIL][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/shard-snb7/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/shard-snb7/igt@[email protected]
* igt@kms_plane@pixel-format-pipe-a-planes:
- shard-iclb: [PASS][3] -> [FAIL][4] +13 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/shard-iclb7/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/shard-iclb8/igt@[email protected]
#### Suppressed ####
The following results come from untrusted machines, tests, or statuses. They do not affect the overall result.
* igt@kms_plane@pixel-format-pipe-a-planes:
- {shard-tglb}: [PASS][5] -> [FAIL][6] +1 similar issue
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/shard-tglb7/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/shard-tglb6/igt@[email protected]
* igt@kms_plane@pixel-format-pipe-c-planes:
- {shard-tglb}: NOTRUN -> [FAIL][7] +2 similar issues
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/shard-tglb1/igt@[email protected]
Known issues
------------
Here are the changes found in Patchwork_14725_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_eio@in-flight-contexts-immediate:
- shard-snb: [PASS][8] -> [FAIL][9] ([fdo#111925])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/shard-snb1/igt@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/shard-snb2/igt@[email protected]
* igt@gem_exec_schedule@promotion-bsd1:
- shard-iclb: [PASS][10] -> [SKIP][11] ([fdo#109276]) +11 similar issues
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/shard-iclb2/igt@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/shard-iclb7/igt@[email protected]
* igt@gem_exec_schedule@reorder-wide-bsd:
- shard-iclb: [PASS][12] -> [SKIP][13] ([fdo#111325]) +1 similar issue
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/shard-iclb3/igt@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/shard-iclb4/igt@[email protected]
* igt@gem_tiled_swapping@non-threaded:
- shard-glk: [PASS][14] -> [INCOMPLETE][15] ([fdo#103359] / [fdo#108686] / [k.org#198133])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/shard-glk8/igt@[email protected]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/shard-glk8/igt@[email protected]
* igt@gem_userptr_blits@map-fixed-invalidate-overlap-busy:
- shard-snb: [PASS][16] -> [DMESG-WARN][17] ([fdo#111870]) +1 similar issue
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/shard-snb4/igt@[email protected]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/shard-snb5/igt@[email protected]
* igt@gem_userptr_blits@sync-unmap-after-close:
- shard-hsw: [PASS][18] -> [DMESG-WARN][19] ([fdo#111870]) +2 similar issues
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/shard-hsw8/igt@[email protected]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/shard-hsw2/igt@[email protected]
* igt@gem_workarounds@suspend-resume-context:
- shard-apl: [PASS][20] -> [DMESG-WARN][21] ([fdo#108566]) +5 similar issues
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/shard-apl1/igt@[email protected]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/shard-apl1/igt@[email protected]
* igt@i915_selftest@live_hangcheck:
- shard-hsw: [PASS][22] -> [DMESG-FAIL][23] ([fdo#111872])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/shard-hsw1/igt@i915_selftest@live_hangcheck.html
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/shard-hsw5/igt@i915_selftest@live_hangcheck.html
* igt@kms_big_fb@x-tiled-64bpp-rotate-0:
- shard-iclb: [PASS][24] -> [INCOMPLETE][25] ([fdo#107713])
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/shard-iclb6/igt@[email protected]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/shard-iclb7/igt@[email protected]
* igt@kms_flip@flip-vs-suspend:
- shard-skl: [PASS][26] -> [INCOMPLETE][27] ([fdo#109507]) +1 similar issue
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/shard-skl9/igt@[email protected]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/shard-skl8/igt@[email protected]
* igt@kms_flip@plain-flip-ts-check-interruptible:
- shard-skl: [PASS][28] -> [FAIL][29] ([fdo#100368])
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/shard-skl10/igt@[email protected]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/shard-skl10/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-render:
- shard-iclb: [PASS][30] -> [FAIL][31] ([fdo#103167]) +3 similar issues
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/shard-iclb1/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-render.html
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/shard-iclb2/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-render.html
* igt@kms_psr@psr2_cursor_render:
- shard-iclb: [PASS][32] -> [SKIP][33] ([fdo#109441]) +3 similar issues
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/shard-iclb2/igt@kms_psr@psr2_cursor_render.html
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/shard-iclb7/igt@kms_psr@psr2_cursor_render.html
#### Possible fixes ####
* igt@gem_exec_schedule@pi-ringfull-bsd:
- shard-iclb: [SKIP][34] ([fdo#111325]) -> [PASS][35] +2 similar issues
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/shard-iclb1/igt@[email protected]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/shard-iclb6/igt@[email protected]
* igt@gem_exec_schedule@preempt-queue-contexts-bsd1:
- shard-iclb: [SKIP][36] ([fdo#109276]) -> [PASS][37] +7 similar issues
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/shard-iclb8/igt@[email protected]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/shard-iclb2/igt@[email protected]
* igt@gem_userptr_blits@sync-unmap:
- shard-snb: [DMESG-WARN][38] ([fdo#111870]) -> [PASS][39] +1 similar issue
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/shard-snb7/igt@[email protected]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/shard-snb6/igt@[email protected]
- shard-hsw: [DMESG-WARN][40] ([fdo#111870]) -> [PASS][41] +1 similar issue
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/shard-hsw6/igt@[email protected]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/shard-hsw7/igt@[email protected]
* igt@kms_atomic_interruptible@legacy-pageflip:
- shard-apl: [INCOMPLETE][42] ([fdo#103927]) -> [PASS][43]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/shard-apl2/igt@[email protected]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/shard-apl6/igt@[email protected]
* igt@kms_cursor_crc@pipe-b-cursor-suspend:
- shard-skl: [INCOMPLETE][44] ([fdo#110741]) -> [PASS][45]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/shard-skl4/igt@[email protected]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/shard-skl7/igt@[email protected]
* igt@kms_cursor_legacy@pipe-b-torture-move:
- shard-iclb: [INCOMPLETE][46] ([fdo#107713]) -> [PASS][47]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/shard-iclb1/igt@[email protected]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/shard-iclb4/igt@[email protected]
* igt@kms_flip@2x-flip-vs-expired-vblank-interruptible:
- shard-glk: [FAIL][48] ([fdo#105363]) -> [PASS][49]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/shard-glk5/igt@[email protected]
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/shard-glk2/igt@[email protected]
* igt@kms_flip@flip-vs-suspend:
- {shard-tglb}: [INCOMPLETE][50] ([fdo#111714]) -> [PASS][51]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/shard-tglb1/igt@[email protected]
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/shard-tglb6/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-blt:
- shard-iclb: [FAIL][52] ([fdo#103167]) -> [PASS][53] +4 similar issues
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/shard-iclb6/igt@[email protected]
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/shard-iclb2/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-shrfb-plflip-blt:
- {shard-tglb}: [FAIL][54] ([fdo#103167]) -> [PASS][55] +1 similar issue
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/shard-tglb7/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-shrfb-plflip-blt.html
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/shard-tglb6/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-shrfb-plflip-blt.html
* igt@kms_plane_alpha_blend@pipe-b-constant-alpha-min:
- shard-skl: [FAIL][56] ([fdo#108145]) -> [PASS][57]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/shard-skl8/igt@[email protected]
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/shard-skl3/igt@[email protected]
* igt@kms_plane_lowres@pipe-a-tiling-x:
- shard-iclb: [FAIL][58] ([fdo#103166]) -> [PASS][59]
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/shard-iclb7/igt@[email protected]
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/shard-iclb8/igt@[email protected]
* igt@kms_psr@psr2_sprite_plane_move:
- shard-iclb: [SKIP][60] ([fdo#109441]) -> [PASS][61]
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/shard-iclb6/igt@kms_psr@psr2_sprite_plane_move.html
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/shard-iclb2/igt@kms_psr@psr2_sprite_plane_move.html
* igt@kms_setmode@basic:
- shard-apl: [FAIL][62] ([fdo#99912]) -> [PASS][63]
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/shard-apl8/igt@[email protected]
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/shard-apl2/igt@[email protected]
* igt@kms_vblank@pipe-a-ts-continuation-suspend:
- shard-apl: [DMESG-WARN][64] ([fdo#108566]) -> [PASS][65] +3 similar issues
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/shard-apl7/igt@[email protected]
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/shard-apl1/igt@[email protected]
* igt@kms_vblank@pipe-c-ts-continuation-suspend:
- {shard-tglb}: [INCOMPLETE][66] ([fdo#111832]) -> [PASS][67]
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/shard-tglb7/igt@[email protected]
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/shard-tglb6/igt@[email protected]
#### Warnings ####
* igt@gem_mocs_settings@mocs-isolation-bsd2:
- shard-iclb: [SKIP][68] ([fdo#109276]) -> [FAIL][69] ([fdo#111330])
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/shard-iclb3/igt@[email protected]
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/shard-iclb4/igt@[email protected]
* igt@kms_psr@psr2_suspend:
- shard-iclb: [SKIP][70] ([fdo#109441]) -> [DMESG-WARN][71] ([fdo#107724])
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/shard-iclb8/igt@kms_psr@psr2_suspend.html
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/shard-iclb2/igt@kms_psr@psr2_suspend.html
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#100368]: https://bugs.freedesktop.org/show_bug.cgi?id=100368
[fdo#103166]: https://bugs.freedesktop.org/show_bug.cgi?id=103166
[fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
[fdo#103359]: https://bugs.freedesktop.org/show_bug.cgi?id=103359
[fdo#103927]: https://bugs.freedesktop.org/show_bug.cgi?id=103927
[fdo#105363]: https://bugs.freedesktop.org/show_bug.cgi?id=105363
[fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
[fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724
[fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
[fdo#108566]: https://bugs.freedesktop.org/show_bug.cgi?id=108566
[fdo#108686]: https://bugs.freedesktop.org/show_bug.cgi?id=108686
[fdo#109276]: https://bugs.freedesktop.org/show_bug.cgi?id=109276
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#109507]: https://bugs.freedesktop.org/show_bug.cgi?id=109507
[fdo#110741]: https://bugs.freedesktop.org/show_bug.cgi?id=110741
[fdo#111325]: https://bugs.freedesktop.org/show_bug.cgi?id=111325
[fdo#111330]: https://bugs.freedesktop.org/show_bug.cgi?id=111330
[fdo#111714]: https://bugs.freedesktop.org/show_bug.cgi?id=111714
[fdo#111832]: https://bugs.freedesktop.org/show_bug.cgi?id=111832
[fdo#111850]: https://bugs.freedesktop.org/show_bug.cgi?id=111850
[fdo#111870]: https://bugs.freedesktop.org/show_bug.cgi?id=111870
[fdo#111872]: https://bugs.freedesktop.org/show_bug.cgi?id=111872
[fdo#111925]: https://bugs.freedesktop.org/show_bug.cgi?id=111925
[fdo#99912]: https://bugs.freedesktop.org/show_bug.cgi?id=99912
[k.org#198133]: https://bugzilla.kernel.org/show_bug.cgi?id=198133
Participating hosts (11 -> 11)
------------------------------
No changes in participating hosts
Build changes
-------------
* CI: CI-20190529 -> None
* Linux: CI_DRM_7042 -> Patchwork_14725
CI-20190529: 20190529
CI_DRM_7042: 22c41b8242975f09144e6f9eebc58ad357fbb8bc @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5219: e501741f2e2b086a8c55d9f278c630ce68ad5fe1 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_14725: 6023eea6b2c5424980f249126425f393ad2d040a @ git://anongit.freedesktop.org/gfx-ci/linux
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/index.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: ✗ Fi.CI.IGT: failure for series starting with [1/9] drm/i915: Expose 10:10:10 XRGB formats on SNB-BDW sprites (rev2)
Quoted 39 lines · Patchwork
== Series Details ==
Series: series starting with [1/9] drm/i915: Expose 10:10:10 XRGB formats on SNB-BDW sprites (rev2)
URL : https://patchwork.freedesktop.org/series/67741/
State : failure== Summary ==
CI Bug Log - changes from
CI_DRM_7042_full->Patchwork_14725_full
====================================================Summary
-------**FAILURE**
Serious unknown changes coming with
Patchwork_14725_fullabsolutely need to be verified manually.If you think the reported changes have nothing to do with the changes introduced in
Patchwork_14725_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.Possible new issues
-------------------Here are the unknown changes that may have been introduced in
Patchwork_14725_full:### IGT changes ###
#### Possible regressions ####
* igt@gem_eio@in-flight-1us:
- shard-snb: [PASS][1] -> [FAIL][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/shard-snb7/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/shard-snb7/igt@[email protected]
Quoted 4 lines
* igt@kms_plane@pixel-format-pipe-a-planes:
- shard-iclb: [PASS][3] -> [FAIL][4] +13 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/shard-iclb7/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/shard-iclb8/igt@[email protected]
IGT-Version: 1.24-ge501741f
...
Testing format AR30(0x30335241) / modifier 0x100000000000003 on A.0 (kms_plane:1411) igt_fb-CRITICAL: Conversion not implemented (from format 0x30335241 to 0x78464749)
DRM_FORMAT_ARGB2101010 = 0x30335241IGT_FORMAT_FLOAT = 0x78464749
{ .name = "ARGB2101010", .depth = 30, .drm_id = DRM_FORMAT_ARGB2101010,
.pixman_id = PIXMAN_a2r10g10b10,
{ .name = "IGT-FLOAT", .depth = -1, .drm_id = IGT_FORMAT_FLOAT,
.pixman_id = PIXMAN_rgba_float,
if ((drm_format_to_pixman(cvt->src.fb->drm_format) != PIXMAN_invalid) &&
(drm_format_to_pixman(cvt->dst.fb->drm_format) != PIXMAN_invalid)) {
cnvert_pixman(cvt);
return;...igt_assert_f(false, "Conversion not implemented ...);
So wtf?
Are we somehow compiling igt with an old pixman causing
#if PIXMAN_VERSION < PIXMAN_VERSION_ENCODE(0, 36, 0) #define PIXMAN_rgba_float PIXMAN_invalid #endif
to happen?
But the reference run shows it testing all the fancy YUV formats so I don't think that can be the case.
And my CHV can run this test with ARGB2101010 just fine so the code can't be totally broken.
Signature · 6 lines
Ville Syrjälä Intel _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: ✗ Fi.CI.IGT: failure for series starting with [1/9] drm/i915: Expose 10:10:10 XRGB formats on SNB-BDW sprites (rev2)
Quoting Ville Syrjälä (2019-10-14 20:23:42)
Quoted 66 lines · Patchwork
Quoted 39 lines
== Series Details ==
Series: series starting with [1/9] drm/i915: Expose 10:10:10 XRGB formats on SNB-BDW sprites (rev2)
URL : https://patchwork.freedesktop.org/series/67741/
State : failure== Summary ==
CI Bug Log - changes from
CI_DRM_7042_full->Patchwork_14725_full
====================================================Summary
-------**FAILURE**
Serious unknown changes coming with
Patchwork_14725_fullabsolutely need to be verified manually.If you think the reported changes have nothing to do with the changes introduced in
Patchwork_14725_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.Possible new issues
-------------------Here are the unknown changes that may have been introduced in
Patchwork_14725_full:### IGT changes ###
#### Possible regressions ####
* igt@gem_eio@in-flight-1us:
- shard-snb: [PASS][1] -> [FAIL][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/shard-snb7/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/shard-snb7/igt@[email protected]Quoted 4 lines
* igt@kms_plane@pixel-format-pipe-a-planes:
- shard-iclb: [PASS][3] -> [FAIL][4] +13 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/shard-iclb7/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/shard-iclb8/igt@[email protected]IGT-Version: 1.24-ge501741f
...
Testing format AR30(0x30335241) / modifier0x100000000000003on A.0 (kms_plane:1411) igt_fb-CRITICAL: Conversion not implemented (from format0x30335241to0x78464749)
DRM_FORMAT_ARGB2101010=0x30335241IGT_FORMAT_FLOAT=0x78464749{ .name = "ARGB2101010", .depth = 30, .drm_id =
DRM_FORMAT_ARGB2101010,
.pixman_id =PIXMAN_a2r10g10b10,{ .name = "IGT-FLOAT", .depth = -1, .drm_id =
IGT_FORMAT_FLOAT,
.pixman_id =PIXMAN_rgba_float,if ((
drm_format_to_pixman(cvt->src.fb->drm_format)!=PIXMAN_invalid) &&(drm_format_to_pixman(cvt->dst.fb->drm_format) != PIXMAN_invalid)) { cnvert_pixman(cvt); return;...
igt_assert_f(false, "Conversion not implemented ...);
Quoted 7 lines
So wtf?
Are we somehow compiling igt with an old pixman causing
#ifPIXMAN_VERSION<PIXMAN_VERSION_ENCODE(0, 36, 0)#definePIXMAN_rgba_floatPIXMAN_invalid#endif
to happen?
That's the only way I can see, perhaps stick a #warn in there. -Chris
_______________________________________________
Intel-gfx mailing list [email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: ✗ Fi.CI.IGT: failure for series starting with [1/9] drm/i915: Expose 10:10:10 XRGB formats on SNB-BDW sprites (rev2)
In reply to Ville SyrjäläQuoted 66 lines · Ville Syrjälä
Quoted 39 lines · Patchwork
== Series Details ==
Series: series starting with [1/9] drm/i915: Expose 10:10:10 XRGB formats on SNB-BDW sprites (rev2)
URL : https://patchwork.freedesktop.org/series/67741/
State : failure== Summary ==
CI Bug Log - changes from
CI_DRM_7042_full->Patchwork_14725_full
====================================================Summary
-------**FAILURE**
Serious unknown changes coming with
Patchwork_14725_fullabsolutely need to be verified manually.If you think the reported changes have nothing to do with the changes introduced in
Patchwork_14725_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.Possible new issues
-------------------Here are the unknown changes that may have been introduced in
Patchwork_14725_full:### IGT changes ###
#### Possible regressions ####
* igt@gem_eio@in-flight-1us:
- shard-snb: [PASS][1] -> [FAIL][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/shard-snb7/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/shard-snb7/igt@[email protected]Quoted 4 lines
* igt@kms_plane@pixel-format-pipe-a-planes:
- shard-iclb: [PASS][3] -> [FAIL][4] +13 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/shard-iclb7/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/shard-iclb8/igt@[email protected]IGT-Version: 1.24-ge501741f
...
Testing format AR30(0x30335241) / modifier0x100000000000003on A.0 (kms_plane:1411) igt_fb-CRITICAL: Conversion not implemented (from format0x30335241to0x78464749)
DRM_FORMAT_ARGB2101010=0x30335241IGT_FORMAT_FLOAT=0x78464749{ .name = "ARGB2101010", .depth = 30, .drm_id =
DRM_FORMAT_ARGB2101010,
.pixman_id =PIXMAN_a2r10g10b10,{ .name = "IGT-FLOAT", .depth = -1, .drm_id =
IGT_FORMAT_FLOAT,
.pixman_id =PIXMAN_rgba_float,if ((
drm_format_to_pixman(cvt->src.fb->drm_format)!=PIXMAN_invalid) &&(drm_format_to_pixman(cvt->dst.fb->drm_format) != PIXMAN_invalid)) { cnvert_pixman(cvt); return;...
igt_assert_f(false, "Conversion not implemented ...);
Quoted 7 lines
So wtf?
Are we somehow compiling igt with an old pixman causing
#ifPIXMAN_VERSION<PIXMAN_VERSION_ENCODE(0, 36, 0)#definePIXMAN_rgba_floatPIXMAN_invalid#endif
to happen?
oof, seems like the building machine got downgraded somehow
ci-worker1:~$ dpkg -l '*pixman*' Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-===============================================-============================-============================-=================================================================================================== ii libpixman-1-0:amd64 0.34.0-2 amd64 pixel-manipulation library for X and cairo ii libpixman-1-dev:amd64 0.34.0-2 amd64 pixel-manipulation library for X and cairo (development files)
that's bad...
Quoted 2 lines
But the reference run shows it testing all the fancy YUV formats so I don't think that can be the case.
That's the weird bit...
Anyway the building machine needs updating and apt-mark hold. This can cause fallout and we need to file bugs to limit the noise.
There is quite some queue right now, but hopefully by tomorrow it will be drained. I'll do the necessary updates and force IGT run to see what is going to happen in the morning. Then I'll rerun this series.
Signature · 6 lines
Cheers, Arek _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: ✗ Fi.CI.IGT: failure for series starting with [1/9] drm/i915: Expose 10:10:10 XRGB formats on SNB-BDW sprites (rev2)
Quoted 91 lines · Arkadiusz Hiler
Quoted 66 lines · Ville Syrjälä
Quoted 39 lines · Patchwork
== Series Details ==
Series: series starting with [1/9] drm/i915: Expose 10:10:10 XRGB formats on SNB-BDW sprites (rev2)
URL : https://patchwork.freedesktop.org/series/67741/
State : failure== Summary ==
CI Bug Log - changes from
CI_DRM_7042_full->Patchwork_14725_full
====================================================Summary
-------**FAILURE**
Serious unknown changes coming with
Patchwork_14725_fullabsolutely need to be verified manually.If you think the reported changes have nothing to do with the changes introduced in
Patchwork_14725_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.Possible new issues
-------------------Here are the unknown changes that may have been introduced in
Patchwork_14725_full:### IGT changes ###
#### Possible regressions ####
* igt@gem_eio@in-flight-1us:
- shard-snb: [PASS][1] -> [FAIL][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/shard-snb7/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/shard-snb7/igt@[email protected]Quoted 4 lines
* igt@kms_plane@pixel-format-pipe-a-planes:
- shard-iclb: [PASS][3] -> [FAIL][4] +13 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/shard-iclb7/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/shard-iclb8/igt@[email protected]IGT-Version: 1.24-ge501741f
...
Testing format AR30(0x30335241) / modifier0x100000000000003on A.0 (kms_plane:1411) igt_fb-CRITICAL: Conversion not implemented (from format0x30335241to0x78464749)
DRM_FORMAT_ARGB2101010=0x30335241IGT_FORMAT_FLOAT=0x78464749{ .name = "ARGB2101010", .depth = 30, .drm_id =
DRM_FORMAT_ARGB2101010,
.pixman_id =PIXMAN_a2r10g10b10,{ .name = "IGT-FLOAT", .depth = -1, .drm_id =
IGT_FORMAT_FLOAT,
.pixman_id =PIXMAN_rgba_float,if ((
drm_format_to_pixman(cvt->src.fb->drm_format)!=PIXMAN_invalid) &&(drm_format_to_pixman(cvt->dst.fb->drm_format) != PIXMAN_invalid)) { cnvert_pixman(cvt); return;...
igt_assert_f(false, "Conversion not implemented ...);Quoted 7 lines
So wtf?
Are we somehow compiling igt with an old pixman causing
#ifPIXMAN_VERSION<PIXMAN_VERSION_ENCODE(0, 36, 0)#definePIXMAN_rgba_floatPIXMAN_invalid#endif
to happen?oof, seems like the building machine got downgraded somehow
ci-worker1:~$ dpkg -l '*pixman*' Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-===============================================-============================-============================-=================================================================================================== ii libpixman-1-0:amd64 0.34.0-2 amd64 pixel-manipulation library for X and cairo ii libpixman-1-dev:amd64 0.34.0-2 amd64 pixel-manipulation library for X and cairo (development files)that's bad...
Quoted 2 lines
But the reference run shows it testing all the fancy YUV formats so I don't think that can be the case.
Quoted 9 lines
That's the weird bit...
Anyway the building machine needs updating and apt-mark hold. This can cause fallout and we need to file bugs to limit the noise.
There is quite some queue right now, but hopefully by tomorrow it will be drained. I'll do the necessary updates and force IGT run to see what is going to happen in the morning. Then I'll rerun this series.
I don't think the builder ever had a higher version.
The fancy YUV formats work because the runtime lib is new enough, and the build-time checks for those are as such:
#if CAIRO_VERSION < CAIRO_VERSION_ENCODE(1, 17, 2)
/*
* We need cairo 1.17.2 to use HDR formats, but the only thing added is a value
* to cairo_format_t.
*
* To prevent going outside the enum, make cairo_format_t an int and define
* ourselves.
*/
#define CAIRO_FORMAT_RGB96F (6)
#define CAIRO_FORMAT_RGBA128F (7)
#define cairo_format_t int
#endif
and
igt_skip_on_f(status == CAIRO_STATUS_INVALID_FORMAT &&
cairo_version() < CAIRO_VERSION_ENCODE(1, 17, 2), "Cairo version too old, need 1.17.2, have %s\n", cairo_version_string());
igt_skip_on_f(status == CAIRO_STATUS_NO_MEMORY &&
pixman_version() < PIXMAN_VERSION_ENCODE(0, 36, 0), "Pixman version too old, need 0.36.0, have %s\n", pixman_version_string());
In other words, the backwards compatibility for the fancy YUV formats at build-time was easy to sneak in by defining some values, is that possible to do with the 10bpc stuff? PIXMAN_rgba_float seems to be just PIXMAN_FORMAT_BYTE(128, PIXMAN_TYPE_RGBA_FLOAT,32,32,32,32), where PIXMAN_TYPE_RGBA_FLOAT is 11.
Signature · 5 lines
Petri Latvala _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: ✗ Fi.CI.IGT: failure for series starting with [1/9] drm/i915: Expose 10:10:10 XRGB formats on SNB-BDW sprites (rev2)
Quoted 139 lines · Petri Latvala
Quoted 91 lines · Arkadiusz Hiler
Quoted 66 lines · Ville Syrjälä
Quoted 39 lines · Patchwork
== Series Details ==
Series: series starting with [1/9] drm/i915: Expose 10:10:10 XRGB formats on SNB-BDW sprites (rev2)
URL : https://patchwork.freedesktop.org/series/67741/
State : failure== Summary ==
CI Bug Log - changes from
CI_DRM_7042_full->Patchwork_14725_full
====================================================Summary
-------**FAILURE**
Serious unknown changes coming with
Patchwork_14725_fullabsolutely need to be verified manually.If you think the reported changes have nothing to do with the changes introduced in
Patchwork_14725_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.Possible new issues
-------------------Here are the unknown changes that may have been introduced in
Patchwork_14725_full:### IGT changes ###
#### Possible regressions ####
* igt@gem_eio@in-flight-1us:
- shard-snb: [PASS][1] -> [FAIL][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/shard-snb7/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/shard-snb7/igt@[email protected]Quoted 4 lines
* igt@kms_plane@pixel-format-pipe-a-planes:
- shard-iclb: [PASS][3] -> [FAIL][4] +13 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/shard-iclb7/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/shard-iclb8/igt@[email protected]IGT-Version: 1.24-ge501741f
...
Testing format AR30(0x30335241) / modifier0x100000000000003on A.0 (kms_plane:1411) igt_fb-CRITICAL: Conversion not implemented (from format0x30335241to0x78464749)
DRM_FORMAT_ARGB2101010=0x30335241IGT_FORMAT_FLOAT=0x78464749{ .name = "ARGB2101010", .depth = 30, .drm_id =
DRM_FORMAT_ARGB2101010,
.pixman_id =PIXMAN_a2r10g10b10,{ .name = "IGT-FLOAT", .depth = -1, .drm_id =
IGT_FORMAT_FLOAT,
.pixman_id =PIXMAN_rgba_float,if ((
drm_format_to_pixman(cvt->src.fb->drm_format)!=PIXMAN_invalid) &&(drm_format_to_pixman(cvt->dst.fb->drm_format) != PIXMAN_invalid)) { cnvert_pixman(cvt); return;...
igt_assert_f(false, "Conversion not implemented ...);Quoted 7 lines
So wtf?
Are we somehow compiling igt with an old pixman causing
#ifPIXMAN_VERSION<PIXMAN_VERSION_ENCODE(0, 36, 0)#definePIXMAN_rgba_floatPIXMAN_invalid#endif
to happen?oof, seems like the building machine got downgraded somehow
ci-worker1:~$ dpkg -l '*pixman*' Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-===============================================-============================-============================-=================================================================================================== ii libpixman-1-0:amd64 0.34.0-2 amd64 pixel-manipulation library for X and cairo ii libpixman-1-dev:amd64 0.34.0-2 amd64 pixel-manipulation library for X and cairo (development files)that's bad...
Quoted 2 lines
But the reference run shows it testing all the fancy YUV formats so I don't think that can be the case.
Quoted 9 lines
That's the weird bit...
Anyway the building machine needs updating and apt-mark hold. This can cause fallout and we need to file bugs to limit the noise.
There is quite some queue right now, but hopefully by tomorrow it will be drained. I'll do the necessary updates and force IGT run to see what is going to happen in the morning. Then I'll rerun this series.
I don't think the builder ever had a higher version.
The fancy YUV formats work because the runtime lib is new enough, and the build-time checks for those are as such:
#if
CAIRO_VERSION<CAIRO_VERSION_ENCODE(1, 17, 2)
/*
* We need cairo 1.17.2 to use HDR formats, but the only thing added is a value
* tocairo_format_t.
*
* To prevent going outside the enum, makecairo_format_tan int and define
* ourselves.
*/#define
CAIRO_FORMAT_RGB96F(6)
#defineCAIRO_FORMAT_RGBA128F(7)
#definecairo_format_tint
#endifand
igt_skip_on_f(status ==
CAIRO_STATUS_INVALID_FORMAT&&cairo_version() < CAIRO_VERSION_ENCODE(1, 17, 2), "Cairo version too old, need 1.17.2, have %s\n", cairo_version_string());igt_skip_on_f(status ==
CAIRO_STATUS_NO_MEMORY&&pixman_version() < PIXMAN_VERSION_ENCODE(0, 36, 0), "Pixman version too old, need 0.36.0, have %s\n", pixman_version_string());
Quoted 5 lines
In other words, the backwards compatibility for the fancy YUV formats at build-time was easy to sneak in by defining some values, is that possible to do with the 10bpc stuff?
PIXMAN_rgba_floatseems to be justPIXMAN_FORMAT_BYTE(128, PIXMAN_TYPE_RGBA_FLOAT,32,32,32,32), wherePIXMAN_TYPE_RGBA_FLOATis 11.
Hmm, yeah I suppose I can try to go that route instead.
Signature · 6 lines
Ville Syrjälä Intel _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: ✗ Fi.CI.IGT: failure for series starting with [1/9] drm/i915: Expose 10:10:10 XRGB formats on SNB-BDW sprites (rev2)
In reply to Petri LatvalaQuoted 127 lines · Petri Latvala
Quoted 91 lines · Arkadiusz Hiler
Quoted 66 lines · Ville Syrjälä
Quoted 39 lines · Patchwork
== Series Details ==
Series: series starting with [1/9] drm/i915: Expose 10:10:10 XRGB formats on SNB-BDW sprites (rev2)
URL : https://patchwork.freedesktop.org/series/67741/
State : failure== Summary ==
CI Bug Log - changes from
CI_DRM_7042_full->Patchwork_14725_full
====================================================Summary
-------**FAILURE**
Serious unknown changes coming with
Patchwork_14725_fullabsolutely need to be verified manually.If you think the reported changes have nothing to do with the changes introduced in
Patchwork_14725_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.Possible new issues
-------------------Here are the unknown changes that may have been introduced in
Patchwork_14725_full:### IGT changes ###
#### Possible regressions ####
* igt@gem_eio@in-flight-1us:
- shard-snb: [PASS][1] -> [FAIL][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/shard-snb7/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/shard-snb7/igt@[email protected]Quoted 4 lines
* igt@kms_plane@pixel-format-pipe-a-planes:
- shard-iclb: [PASS][3] -> [FAIL][4] +13 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7042/shard-iclb7/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14725/shard-iclb8/igt@[email protected]IGT-Version: 1.24-ge501741f
...
Testing format AR30(0x30335241) / modifier0x100000000000003on A.0 (kms_plane:1411) igt_fb-CRITICAL: Conversion not implemented (from format0x30335241to0x78464749)
DRM_FORMAT_ARGB2101010=0x30335241IGT_FORMAT_FLOAT=0x78464749{ .name = "ARGB2101010", .depth = 30, .drm_id =
DRM_FORMAT_ARGB2101010,
.pixman_id =PIXMAN_a2r10g10b10,{ .name = "IGT-FLOAT", .depth = -1, .drm_id =
IGT_FORMAT_FLOAT,
.pixman_id =PIXMAN_rgba_float,if ((
drm_format_to_pixman(cvt->src.fb->drm_format)!=PIXMAN_invalid) &&(drm_format_to_pixman(cvt->dst.fb->drm_format) != PIXMAN_invalid)) { cnvert_pixman(cvt); return;...
igt_assert_f(false, "Conversion not implemented ...);Quoted 7 lines
So wtf?
Are we somehow compiling igt with an old pixman causing
#ifPIXMAN_VERSION<PIXMAN_VERSION_ENCODE(0, 36, 0)#definePIXMAN_rgba_floatPIXMAN_invalid#endif
to happen?oof, seems like the building machine got downgraded somehow
ci-worker1:~$ dpkg -l '*pixman*' Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-===============================================-============================-============================-=================================================================================================== ii libpixman-1-0:amd64 0.34.0-2 amd64 pixel-manipulation library for X and cairo ii libpixman-1-dev:amd64 0.34.0-2 amd64 pixel-manipulation library for X and cairo (development files)that's bad...
Quoted 2 lines
But the reference run shows it testing all the fancy YUV formats so I don't think that can be the case.
Quoted 9 lines
That's the weird bit...
Anyway the building machine needs updating and apt-mark hold. This can cause fallout and we need to file bugs to limit the noise.
There is quite some queue right now, but hopefully by tomorrow it will be drained. I'll do the necessary updates and force IGT run to see what is going to happen in the morning. Then I'll rerun this series.
I don't think the builder ever had a higher version.
The fancy YUV formats work because the runtime lib is new enough, and the build-time checks for those are as such:
#if
CAIRO_VERSION<CAIRO_VERSION_ENCODE(1, 17, 2)
/*
* We need cairo 1.17.2 to use HDR formats, but the only thing added is a value
* tocairo_format_t.
*
* To prevent going outside the enum, makecairo_format_tan int and define
* ourselves.
*/#define
CAIRO_FORMAT_RGB96F(6)
#defineCAIRO_FORMAT_RGBA128F(7)
#definecairo_format_tint
#endifand
igt_skip_on_f(status ==
CAIRO_STATUS_INVALID_FORMAT&&
Quoted 8 lines
cairo_version() < CAIRO_VERSION_ENCODE(1, 17, 2), "Cairo version too old, need 1.17.2, have %s\n", cairo_version_string());igt_skip_on_f(status ==
CAIRO_STATUS_NO_MEMORY&&pixman_version() < PIXMAN_VERSION_ENCODE(0, 36, 0), "Pixman version too old, need 0.36.0, have %s\n", pixman_version_string());
I am not a fan of this approach as we nest skips pretty deep within functions that have neither 'require' nor 'skip' in the name. The issuing longjmp() can cause surprise short-circuiting of tests iterating through multiple formats...
Some of that would be solved by the "dynamic subsubtests", but the semantics still feels off.
Quoted 5 lines
In other words, the backwards compatibility for the fancy YUV formats at build-time was easy to sneak in by defining some values, is that possible to do with the 10bpc stuff?
PIXMAN_rgba_floatseems to be justPIXMAN_FORMAT_BYTE(128, PIXMAN_TYPE_RGBA_FLOAT,32,32,32,32), wherePIXMAN_TYPE_RGBA_FLOATis 11.
Yeah, let it be for now unless someone finds time to do the necessary reworks :-P
Signature · 6 lines
Cheers, Arek _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 53 lines
-----Original Message-----
From: Intel-gfx <[email protected]> On Behalf Of Ville Syrjala
Sent: Tuesday, October 8, 2019 9:45 PM
To: [email protected]
Subject: [Intel-gfx] [PATCH 1/9] drm/i915: Expose 10:10:10 XRGB formats on SNB- BDW spritesFrom: Ville Syrjälä <[email protected]>
SNB-BDW support 10:10:10 formats on the sprite planes. Let's expose them.
Signed-off-by Ville Syrjälä <[email protected]>---
drivers/gpu/drm/i915/display/intel_sprite.c| 16 ++++++++++++++++1 file changed, 16 insertions(+)drivers/gpu/drm/i915/display/intel_sprite.c +6
-0@@ -1054,6 +1054,12 @@ static u32 ivb_sprite_ctl(const struct intel_crtc_state *crtc_state, case DRM_FORMAT_XRGB8888: sprctl |=SPRITE_FORMAT_RGBX888 ;break ; +case DRM_FORMAT_XBGR2101010 : + sprctl |=SPRITE_FORMAT_RGBX101010 |SPRITE_RGB_ORDER_RGBX ; +break ; +case DRM_FORMAT_XRGB2101010 : + sprctl |=SPRITE_FORMAT_RGBX101010 ; +break ;case DRM_FORMAT_YUYV :sprctl |= SPRITE_FORMAT_YUV422 | SPRITE_YUV_ORDER_YUYV; break;drivers/gpu/drm/i915/display/intel_sprite.c +6
-0@@ -1288,6 +1294,12 @@ static u32 g4x_sprite_ctl(const struct intel_crtc_state *crtc_state, case DRM_FORMAT_XRGB8888: dvscntr |=DVS_FORMAT_RGBX888 ;break ; +case DRM_FORMAT_XBGR2101010 : + dvscntr |=DVS_FORMAT_RGBX101010 |DVS_RGB_ORDER_XBGR ; +break ; +case DRM_FORMAT_XRGB2101010 : + dvscntr |=DVS_FORMAT_RGBX101010 ; +break ;case DRM_FORMAT_YUYV : dvscntr |=DVS_FORMAT_YUV422 |DVS_YUV_ORDER_YUYV ;break;
drivers/gpu/drm/i915/display/intel_sprite.c static const u64 i9xx_plane_format_modifiers[] = { static · line 1999
Quoted 5 lines
drivers/gpu/drm/i915/display/intel_sprite.c +2
-0@@ -1983,6 +1995,8 @@ static const u64 i9xx_plane_format_modifiers[] = { staticconst u32 snb_plane_formats[] = {DRM_FORMAT_XBGR8888 ,DRM_FORMAT_XRGB8888 , +DRM_FORMAT_XRGB2101010 , +DRM_FORMAT_XBGR2101010 ,
The order seems inconsistent with 8888 but I guess you have a patch fixing the ordering, so should be ok.
Quoted 16 lines
drivers/gpu/drm/i915/display/intel_sprite.c +2
-0DRM_FORMAT_YUYV ,DRM_FORMAT_YVYU , DRM_FORMAT_UYVY,@@ -2193,6 +2207,8 @@ static bool snb_sprite_format_mod_supported(struct drm_plane *_plane, switch (format) {case DRM_FORMAT_XRGB8888 :case DRM_FORMAT_XBGR8888 : +case DRM_FORMAT_XRGB2101010 : +case DRM_FORMAT_XBGR2101010 :case DRM_FORMAT_YUYV :case DRM_FORMAT_YVYU :case
DRM_FORMAT_UYVY:
--
2.21.0
Quoted 4 lines
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 51 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
SNB-BDW support 10:10:10 formats on the sprite planes. Let's expose them.
Signed-off-by Ville Syrjälä <[email protected]>--- drivers/gpu/drm/i915/display/intel_sprite.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)drivers/gpu/drm/i915/display/intel_sprite.c +14
-0@@ -1054,6 +1054,12 @@ static u32 ivb_sprite_ctl(const struct intel_crtc_state *crtc_state,case DRM_FORMAT_XRGB8888 : sprctl |=SPRITE_FORMAT_RGBX888 ;break ; +case DRM_FORMAT_XBGR2101010 : + sprctl |=SPRITE_FORMAT_RGBX101010 |SPRITE_RGB_ORDER_RGBX ; +break ; +case DRM_FORMAT_XRGB2101010 : + sprctl |=SPRITE_FORMAT_RGBX101010 ; +break ;case DRM_FORMAT_YUYV : sprctl |=SPRITE_FORMAT_YUV422 |SPRITE_YUV_ORDER_YUYV ;break ;@@ -1288,6 +1294,12 @@ static u32 g4x_sprite_ctl(const struct intel_crtc_state *crtc_state,case DRM_FORMAT_XRGB8888 : dvscntr |=DVS_FORMAT_RGBX888 ;break ; +case DRM_FORMAT_XBGR2101010 : + dvscntr |=DVS_FORMAT_RGBX101010 |DVS_RGB_ORDER_XBGR ; +break ; +case DRM_FORMAT_XRGB2101010 : + dvscntr |=DVS_FORMAT_RGBX101010 ; +break ;case DRM_FORMAT_YUYV : dvscntr |=DVS_FORMAT_YUV422 |DVS_YUV_ORDER_YUYV ;break ;@@ -1983,6 +1995,8 @@ static const u64 i9xx_plane_format_modifiers[] = {static const u32 snb_plane_formats[] = {DRM_FORMAT_XBGR8888 ,DRM_FORMAT_XRGB8888 , +DRM_FORMAT_XRGB2101010 , +DRM_FORMAT_XBGR2101010 ,DRM_FORMAT_YUYV ,DRM_FORMAT_YVYU ,DRM_FORMAT_UYVY ,
drivers/gpu/drm/i915/display/intel_sprite.c static bool snb_sprite_format_mod_supported(struct drm_plane *_plane, · line 2214
Quoted 8 lines
drivers/gpu/drm/i915/display/intel_sprite.c +2
-0@@ -2193,6 +2207,8 @@ static bool snb_sprite_format_mod_supported(struct drm_plane *_plane,switch (format) {case DRM_FORMAT_XRGB8888 :case DRM_FORMAT_XBGR8888 : +case DRM_FORMAT_XRGB2101010 : +case DRM_FORMAT_XBGR2101010 :case DRM_FORMAT_YUYV :case DRM_FORMAT_YVYU :case DRM_FORMAT_UYVY :
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx