Enable NV12 support
Subsystems (2)
v7 cover Enable NV12 support
Enabling NV12 support:
- Framebuffer creation
- Primary and Sprite plane support
Patch series depend on Enable display workaround 827 patch mentioned below submitted by Maarten
Removed BXT support for NV12 due to WA826
Changes from prev version:
Fixed a checkpatch warning in patch 1 of series Addressed review comments from Maarten about skl_mod_supported
Chandra Konduru (3):
drm/i915: Add NV12 support to intel_framebuffer_init drm/i915: Add NV12 as supported format for primary plane drm/i915: Add NV12 as supported format for sprite plane
Maarten Lankhorst (2):
drm/i915: Enable display workaround 827 for all planes, v2. drm/i915: Add skl_check_nv12_surface for NV12
Srinivas, Vidya (1):
drm/i915: Enable Display WA 0528
drivers/gpu/drm/i915/intel_atomic_plane.c | 7 +- drivers/gpu/drm/i915/intel_display.c | 173 ++++++++++++++++++++++++++---- drivers/gpu/drm/i915/intel_drv.h | 3 + drivers/gpu/drm/i915/intel_sprite.c | 25 ++++- 4 files changed, 184 insertions(+), 24 deletions(-)
Signature · 6 lines
2.7.4 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v7 1/6 drm/i915: Enable display workaround 827 for all planes, v2.
From: Maarten Lankhorst <[email protected]>
The workaround was applied only to the primary plane, but is required on all planes. Iterate over all planes in the crtc atomic check to see if the workaround is enabled, and only perform the actual toggling in the pre/post plane update functions.
Changes since v1:
- Track active NV12 planes in a nv12_planes bitmask. (Ville)
v2: Removing BROXTON support for NV12 due to WA826
--- drivers/gpu/drm/i915/intel_atomic_plane.c | 7 ++++- drivers/gpu/drm/i915/intel_display.c | 43 +++++++++++++++++++------------ drivers/gpu/drm/i915/intel_drv.h | 1 + 3 files changed, 33 insertions(+), 18 deletions(-)
drivers/gpu/drm/i915/intel_atomic_plane.c +6 -1
@@ -183,11 +183,16 @@ int intel_plane_atomic_check_with_state(const struct intel_crtc_state *old_crtc_ }/* FIXME pre-g4x don't work like this */ -if (intel_state->base.visible) +if (state->visible) crtc_state->active_planes |=BIT (intel_plane->id);else crtc_state->active_planes &= ~BIT (intel_plane->id); +if (state->visible && state->fb->format->format ==DRM_FORMAT_NV12 ) + crtc_state->nv12_planes |=BIT (intel_plane->id); +else + crtc_state->nv12_planes &= ~BIT (intel_plane->id); + return intel_plane_atomic_calc_changes(old_crtc_state, &crtc_state->base, old_plane_state,
drivers/gpu/drm/i915/intel_display.c +26 -17
74 lines not on this page · raw message
drivers/gpu/drm/i915/intel_drv.h +1 -0
@@ -890,6 +890,7 @@ struct intel_crtc_state {/* bitmask of visible planes (enum plane_id) */ u8 active_planes; +u8 nv12_planes;/* HDMI scrambling status */ bool hdmi_scrambling;
Signature · 6 lines
2.7.4 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v7 2/6 drm/i915: Enable Display WA 0528
In reply to Vidya SrinivasFrom: "Srinivas, Vidya" <[email protected]>
Possible hang with NV12 plane surface formats.
WA: When the plane source pixel format is NV12, the CHICKEN_PIPESL_* register bit 22 must be set to 1 and the render decompression must not be enabled on any of the planes in that pipe.
v2: removed unnecessary POSTING_READ
v3: Added RB from Maarten
v4: Removed support for NV12 for BROXTON
Credits-to: Maarten Lankhorst <[email protected]>
--- drivers/gpu/drm/i915/intel_display.c | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-)
drivers/gpu/drm/i915/intel_display.c +19 -3
@@ -489,9 +489,21 @@ static const struct intel_limit intel_limits_bxt = { };static void +skl_wa_528 (struct drm_i915_private *dev_priv,int pipe,bool enable) +{ +if (IS_SKYLAKE (dev_priv) ||IS_BROXTON (dev_priv)) +return ; + +if (enable) +I915_WRITE (CHICKEN_PIPESL_1 (pipe),HSW_FBCQ_DIS ); +else +I915_WRITE (CHICKEN_PIPESL_1 (pipe),0 ); +} + +static void skl_wa_clkgate (struct drm_i915_private *dev_priv,int pipe,bool enable) { -if (IS_SKYLAKE (dev_priv)) +if (IS_SKYLAKE (dev_priv) ||IS_BROXTON (dev_priv))return ;if (enable)
@@ -5193,8 +5205,10 @@ static void intel_post_plane_update(struct intel_crtc_state *old_crtc_state)/* Display WA 827 */ if (needs_nv12_wa (dev_priv, old_crtc_state) && - !needs_nv12_wa (dev_priv, pipe_config)) + !needs_nv12_wa (dev_priv, pipe_config)) {skl_wa_clkgate (dev_priv, crtc->pipe, false); +skl_wa_528 (dev_priv, crtc->pipe, false); + } } static void intel_pre_plane_update(struct intel_crtc_state *old_crtc_state,
@@ -5231,8 +5245,10 @@ static void intel_pre_plane_update(struct intel_crtc_state *old_crtc_state,/* Display WA 827 */ if (!needs_nv12_wa (dev_priv, old_crtc_state) && -needs_nv12_wa (dev_priv, pipe_config)) +needs_nv12_wa (dev_priv, pipe_config)) {skl_wa_clkgate (dev_priv, crtc->pipe, true); +skl_wa_528 (dev_priv, crtc->pipe, true); + }/* * Vblank time updates from the shadow to live plane control register
Signature · 6 lines
2.7.4 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v7 3/6 drm/i915: Add skl_check_nv12_surface for NV12
In reply to Vidya SrinivasFrom: Maarten Lankhorst <[email protected]>
We skip src trunction/adjustments for
NV12 case and handle the sizes directly. Without this, pipe fifo underruns are seen on APL/KBL.
v2: For NV12, making the src coordinates multiplier of 4
v3: Moving all the src coords handling code for NV12 to skl_check_nv12_surface
v4: Added RB from Mika
v5: Rebased the series. Removed checks of mult of 4 in skl_update_scaler, Added NV12 condition in intel_check_sprite_plane where src x/w is being checked for mult of 2 for yuv planes.
--- drivers/gpu/drm/i915/intel_display.c | 42 ++++++++++++++++++++++++++++++++++-- drivers/gpu/drm/i915/intel_sprite.c | 1 + 2 files changed, 41 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/intel_display.c +40 -2
@@ -3102,6 +3102,42 @@ static int skl_check_main_surface(const struct intel_crtc_state *crtc_state,return 0 ; } +static int +skl_check_nv12_surface (const struct intel_crtc_state *crtc_state, +struct intel_plane_state *plane_state) +{ +int crtc_x2 = plane_state->base.crtc_x + plane_state->base.crtc_w; +int crtc_y2 = plane_state->base.crtc_y + plane_state->base.crtc_h; + +if (((plane_state->base.src_x >>16 ) %4 ) !=0 || + ((plane_state->base.src_y >>16 ) %4 ) !=0 || + ((plane_state->base.src_w >>16 ) %4 ) !=0 || + ((plane_state->base.src_h >>16 ) %4 ) !=0 ) { +DRM_DEBUG_KMS ("src coords must be multiple of 4 for NV12\n" ); +return -EINVAL ; + } + +/* Clipping would cause a 1-3 pixel gap at the edge of the screen? */ +if ((crtc_x2 > crtc_state->pipe_src_w && crtc_state->pipe_src_w %4 ) || + (crtc_y2 > crtc_state->pipe_src_h && crtc_state->pipe_src_h %4 )) { +DRM_DEBUG_KMS ("It's not possible to clip %u,%u to %u,%u\n" , + crtc_x2, crtc_y2, + crtc_state->pipe_src_w, crtc_state->pipe_src_h); +return -EINVAL ; + } + + plane_state->base.src.x1 = +DIV_ROUND_CLOSEST (plane_state->base.src.x1,1 <<18 ) <<18 ; + plane_state->base.src.x2 = +DIV_ROUND_CLOSEST (plane_state->base.src.x2,1 <<18 ) <<18 ; + plane_state->base.src.y1 = +DIV_ROUND_CLOSEST (plane_state->base.src.y1,1 <<18 ) <<18 ; + plane_state->base.src.y2 = +DIV_ROUND_CLOSEST (plane_state->base.src.y2,1 <<18 ) <<18 ; + +return 0 ; +} +static int skl_check_nv12_aux_surface (struct intel_plane_state *plane_state) {const struct drm_framebuffer *fb = plane_state->base.fb;
@@ -3185,6 +3221,9 @@ int skl_check_plane_surface(const struct intel_crtc_state *crtc_state,* the main surface setup depends on it. */ if (fb->format->format ==DRM_FORMAT_NV12 ) { + ret =skl_check_nv12_surface (crtc_state, plane_state); +if (ret) +return ret; ret =skl_check_nv12_aux_surface (plane_state);if (ret)return ret;
@@ -4806,8 +4845,7 @@ skl_update_scaler(struct intel_crtc_state *crtc_state, bool force_detach, }if (plane_scaler_check && pixel_format ==DRM_FORMAT_NV12 && - (src_h <SKL_MIN_YUV_420_SRC_H || (src_w %4 ) !=0 || - (src_h %4 ) !=0 )) { + (src_h <SKL_MIN_YUV_420_SRC_H || src_w <SKL_MIN_YUV_420_SRC_W )) {DRM_DEBUG_KMS ("NV12: src dimensions not met\n" );return -EINVAL ; }
drivers/gpu/drm/i915/intel_sprite.c +1 -0
@@ -1011,6 +1011,7 @@ intel_check_sprite_plane(struct intel_plane *plane, src->y2 = (src_y + src_h) <<16 ;if (intel_format_is_yuv (fb->format->format) && + fb->format->format !=DRM_FORMAT_NV12 && (src_x %2 || src_w %2 )) {DRM_DEBUG_KMS ("src x/w (%u, %u) must be a multiple of 2 for YUV planes\n" , src_x, src_w);
Signature · 6 lines
2.7.4 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH v7 3/6] drm/i915: Add skl_check_nv12_surface for NV12
Op 10-05-18 om 10:31 schreef Vidya Srinivas:
Quoted 46 lines
From: Maarten Lankhorst <[email protected]>
We skip src trunction/adjustments for
NV12 case and handle the sizes directly. Without this, pipe fifo underruns are seen on APL/KBL.v2: For NV12, making the src coordinates multiplier of 4
v3: Moving all the src coords handling code for NV12 to
skl_check_nv12_surfacev4: Added RB from Mika
v5: Rebased the series. Removed checks of mult of 4 in
skl_update_scaler, Added NV12 condition inintel_check_sprite_planewhere src x/w is being checked for mult of 2 for yuv planes.Reviewed-by Mika Kahola <[email protected]>Signed-off-by Maarten Lankhorst <[email protected]>Signed-off-by Vidya Srinivas <[email protected]>--- drivers/gpu/drm/i915/intel_display.c | 42 ++++++++++++++++++++++++++++++++++-- drivers/gpu/drm/i915/intel_sprite.c | 1 + 2 files changed, 41 insertions(+), 2 deletions(-)drivers/gpu/drm/i915/intel_display.c +13
-0@@ -3102,6 +3102,42 @@ static int skl_check_main_surface(const struct intel_crtc_state *crtc_state,return 0 ; } +static int +skl_check_nv12_surface (const struct intel_crtc_state *crtc_state, +struct intel_plane_state *plane_state) +{ +int crtc_x2 = plane_state->base.crtc_x + plane_state->base.crtc_w; +int crtc_y2 = plane_state->base.crtc_y + plane_state->base.crtc_h; + +if (((plane_state->base.src_x >>16 ) %4 ) !=0 || + ((plane_state->base.src_y >>16 ) %4 ) !=0 || + ((plane_state->base.src_w >>16 ) %4 ) !=0 || + ((plane_state->base.src_h >>16 ) %4 ) !=0 ) { +DRM_DEBUG_KMS ("src coords must be multiple of 4 for NV12\n" ); +return -EINVAL ;
drivers/gpu/drm/i915/intel_display.c static int skl_check_main_surface(const struct intel_crtc_state *crtc_state, · line 3127
Quoted 10 lines
drivers/gpu/drm/i915/intel_display.c +10
-0+ } + +/* Clipping would cause a 1-3 pixel gap at the edge of the screen? */ +if ((crtc_x2 > crtc_state->pipe_src_w && crtc_state->pipe_src_w %4 ) || + (crtc_y2 > crtc_state->pipe_src_h && crtc_state->pipe_src_h %4 )) { +DRM_DEBUG_KMS ("It's not possible to clip %u,%u to %u,%u\n" , + crtc_x2, crtc_y2, + crtc_state->pipe_src_w, crtc_state->pipe_src_h); +return -EINVAL ; + }
Oops, wrong checks here..
skl_check_nv12_surface is only needed for Display WA #1106, so check might need to be something like:
static int
skl_check_nv12_surface(const struct intel_crtc_state *crtc_state,
struct intel_plane_state *plane_state)
{
/* Display WA #1106 */
if (plane_state->base.rotation != (DRM_MODE_REFLECT_X | DRM_MODE_ROTATE_90) &&
plane_state->base.rotation != DRM_MODE_ROTATE_270)
return 0;
/* src coordinates are rotated here. We check height but report it as width. */
if (((drm_rect_height(&plane_state->base.src) >> 16) % 4) != 0) {
DRM_DEBUG_KMS("src width must be multiple of 4 for rotated NV12\n");
return -EINVAL;
}
return 0;
}Would this hit FIFO underruns?
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH v7 3/6] drm/i915: Add skl_check_nv12_surface for NV12
Quoted 97 lines
-----Original Message-----
From: Maarten Lankhorst [mailto:[email protected]]
Sent: Monday, May 7, 2018 2:56 PM
To: Srinivas, Vidya <[email protected]>; intel- [email protected]
Subject: Re: [PATCH v7 3/6] drm/i915: Addskl_check_nv12_surfacefor NV12Op 10-05-18 om 10:31 schreef Vidya Srinivas:
drivers/gpu/drm/i915/intel_display.c static int skl_check_main_surface(const struct
Quoted 32 lines
From: Maarten Lankhorst <[email protected]>
We skip src trunction/adjustments for
NV12 case and handle the sizes directly. Without this, pipe fifo underruns are seen on APL/KBL.v2: For NV12, making the src coordinates multiplier of 4
v3: Moving all the src coords handling code for NV12 to
skl_check_nv12_surfacev4: Added RB from Mika
v5: Rebased the series. Removed checks of mult of 4 in
skl_update_scaler, Added NV12 condition inintel_check_sprite_planewhere src x/w is being checked for mult of 2 for yuv planes.Reviewed-by Mika Kahola <[email protected]>Signed-off-by Maarten Lankhorst <[email protected]>Signed-off-by Vidya Srinivas <[email protected]>--- drivers/gpu/drm/i915/intel_display.c | 42 ++++++++++++++++++++++++++++++++++-- drivers/gpu/drm/i915/intel_sprite.c | 1 + 2 files changed, 41 insertions(+), 2 deletions(-)drivers/gpu/drm/i915/intel_display.c +0
-0@@ -3102,6 +3102,42 @@ static int skl_check_main_surface(const struct
intel_crtc_state*crtc_state,Quoted 4 lines
drivers/gpu/drm/i915/intel_display.c +1
-0return 0 ; } +static intdrivers/gpu/drm/i915/intel_display.c static int skl_check_main_surface(const struct intel_crtc_state *crtc_state,
Quoted 10 lines
drivers/gpu/drm/i915/intel_display.c +10
-0+skl_check_nv12_surface(const struct intel_crtc_state *crtc_state, + struct intel_plane_state *plane_state) { + int crtc_x2 = plane_state->base.crtc_x + plane_state->base.crtc_w; +int crtc_y2 = plane_state->base.crtc_y + plane_state->base.crtc_h; + +if (((plane_state->base.src_x >>16 ) %4 ) !=0 || + ((plane_state->base.src_y >>16 ) %4 ) !=0 || + ((plane_state->base.src_w >>16 ) %4 ) !=0 || + ((plane_state->base.src_h >>16 ) %4 ) !=0 ) { + DRM_DEBUG_KMS("src coords must be multiple of 4 forNV12\n");
drivers/gpu/drm/i915/intel_display.c static int skl_check_main_surface(const struct intel_crtc_state *crtc_state,
Quoted 5 lines
drivers/gpu/drm/i915/intel_display.c +5
-0+return -EINVAL ; + } + +/* Clipping would cause a 1-3 pixel gap at the edge of the screen? */ + if ((crtc_x2 > crtc_state->pipe_src_w && crtc_state->pipe_src_w %4) ||
drivers/gpu/drm/i915/intel_display.c static int skl_check_main_surface(const struct · line 3121
Quoted 1 line
drivers/gpu/drm/i915/intel_display.c +1
-0+ (crtc_y2 > crtc_state->pipe_src_h && crtc_state->pipe_src_h % 4)){
drivers/gpu/drm/i915/intel_display.c static int skl_check_main_surface(const struct · line 3122
Quoted 1 line
drivers/gpu/drm/i915/intel_display.c +1
-0+ DRM_DEBUG_KMS("It's not possible to clip %u,%u to%u,%u\n",
drivers/gpu/drm/i915/intel_display.c static int skl_check_main_surface(const struct intel_crtc_state *crtc_state, · line 3127
Quoted 4 lines
drivers/gpu/drm/i915/intel_display.c +4
-0+ crtc_x2, crtc_y2, + crtc_state->pipe_src_w, crtc_state->pipe_src_h); +return -EINVAL ; + }Oops, wrong checks here..
skl_check_nv12_surfaceis only needed for Display WA #1106, so check might need to be something like:static int
skl_check_nv12_surface(const structintel_crtc_state*crtc_state,struct intel_plane_state *plane_state) { /* Display WA #1106 */ if (plane_state->base.rotation != (DRM_MODE_REFLECT_X | DRM_MODE_ROTATE_90) && plane_state->base.rotation != DRM_MODE_ROTATE_270) return 0; /* src coordinates are rotated here. We check height but report it as width. */ if (((drm_rect_height(&plane_state->base.src) >> 16) % 4) != 0) { DRM_DEBUG_KMS("src width must be multiple of 4 for rotated NV12\n"); return -EINVAL; } return 0; }
Quoted 1 line
Would this hit FIFO underruns?
Thank you. I have made the change and floated the series. Please have a check. When I tested It on my end on GLK, I did not observe any fifo underruns. Will wait for IGT test results from BAT.
Regards
Vidya
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH v7 3/6] drm/i915: Add skl_check_nv12_surface for NV12
Quoted 109 lines
-----Original Message-----
From: Srinivas, Vidya
Sent: Tuesday, May 8, 2018 8:36 AM
To: Maarten Lankhorst <[email protected]>; intel- [email protected]
Subject: RE: [PATCH v7 3/6] drm/i915: Addskl_check_nv12_surfacefor NV12Quoted 80 lines
-----Original Message-----
From: Maarten Lankhorst [mailto:[email protected]]
Sent: Monday, May 7, 2018 2:56 PM
To: Srinivas, Vidya <[email protected]>; intel- [email protected]
Subject: Re: [PATCH v7 3/6] drm/i915: Addskl_check_nv12_surfacefor NV12Op 10-05-18 om 10:31 schreef Vidya Srinivas:
Quoted 32 lines
From: Maarten Lankhorst <[email protected]>
We skip src trunction/adjustments for
NV12 case and handle the sizes directly. Without this, pipe fifo underruns are seen on APL/KBL.v2: For NV12, making the src coordinates multiplier of 4
v3: Moving all the src coords handling code for NV12 to
skl_check_nv12_surfacev4: Added RB from Mika
v5: Rebased the series. Removed checks of mult of 4 in
skl_update_scaler, Added NV12 condition inintel_check_sprite_planewhere src x/w is being checked for mult of 2 for yuv planes.Reviewed-by Mika Kahola <[email protected]>Signed-off-by Maarten Lankhorst <[email protected]>Signed-off-by Vidya Srinivas <[email protected]>--- drivers/gpu/drm/i915/intel_display.c | 42 ++++++++++++++++++++++++++++++++++-- drivers/gpu/drm/i915/intel_sprite.c | 1 + 2 files changed, 41 insertions(+), 2 deletions(-)drivers/gpu/drm/i915/intel_display.c +0
-0@@ -3102,6 +3102,42 @@ static int skl_check_main_surface(constQuoted 1 line
struct
intel_crtc_state*crtc_state,Quoted 4 lines
drivers/gpu/drm/i915/intel_display.c +1
-0return 0 ; } +static intdrivers/gpu/drm/i915/intel_display.c static int skl_check_main_surface(const struct intel_crtc_state *crtc_state,
Quoted 10 lines
drivers/gpu/drm/i915/intel_display.c +10
-0+skl_check_nv12_surface(const struct intel_crtc_state *crtc_state, + struct intel_plane_state *plane_state) { + int crtc_x2 = plane_state->base.crtc_x + plane_state->base.crtc_w; +int crtc_y2 = plane_state->base.crtc_y + plane_state->base.crtc_h; + +if (((plane_state->base.src_x >>16 ) %4 ) !=0 || + ((plane_state->base.src_y >>16 ) %4 ) !=0 || + ((plane_state->base.src_w >>16 ) %4 ) !=0 || + ((plane_state->base.src_h >>16 ) %4 ) !=0 ) { + DRM_DEBUG_KMS("src coords must be multiple of 4 forNV12\n");
drivers/gpu/drm/i915/intel_display.c static int skl_check_main_surface(const struct intel_crtc_state *crtc_state,
Quoted 5 lines
drivers/gpu/drm/i915/intel_display.c +5
-0+return -EINVAL ; + } + +/* Clipping would cause a 1-3 pixel gap at the edge of the screen? */ + if ((crtc_x2 > crtc_state->pipe_src_w && crtc_state->pipe_src_w %4) ||
drivers/gpu/drm/i915/intel_display.c
Quoted 2 lines
drivers/gpu/drm/i915/intel_display.c +2
-0+ (crtc_y2 > crtc_state->pipe_src_h && crtc_state->pipe_src_h % +4)){
drivers/gpu/drm/i915/intel_display.c
Quoted 1 line
drivers/gpu/drm/i915/intel_display.c +1
-0+ DRM_DEBUG_KMS("It's not possible to clip %u,%u to%u,%u\n",
drivers/gpu/drm/i915/intel_display.c static int skl_check_main_surface(const struct intel_crtc_state *crtc_state, · line 3127
Quoted 4 lines
drivers/gpu/drm/i915/intel_display.c +4
-0+ crtc_x2, crtc_y2, + crtc_state->pipe_src_w, crtc_state->pipe_src_h); +return -EINVAL ; + }Oops, wrong checks here..
skl_check_nv12_surfaceis only needed for Display WA #1106, so check might need to be something like:static int
skl_check_nv12_surface(const structintel_crtc_state*crtc_state,Quoted 11 lines
struct intel_plane_state *plane_state) { /* Display WA #1106 */ if (plane_state->base.rotation != (DRM_MODE_REFLECT_X | DRM_MODE_ROTATE_90) && plane_state->base.rotation != DRM_MODE_ROTATE_270) return 0; /* src coordinates are rotated here. We check height but report it as width. */ if (((drm_rect_height(&plane_state->base.src) >> 16) % 4) != 0) { DRM_DEBUG_KMS("src width must be multiple of 4 forrotated NV12\n");
Quoted 6 lines
return -EINVAL; } return 0; }
Quoted 7 lines
Quoted 1 line
Would this hit FIFO underruns?
Thank you. I have made the change and floated the series. Please have a check.
When I tested It on my end on GLK, I did not observe any fifo underruns. Will wait for IGT test results from BAT.
IGT BAT shows PASS on rev 6 of https://patchwork.freedesktop.org/series/41674/
This has the change for skl_check_nv12_surface. Can you please have a check? Thank you.
Regards
Vidya
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH v7 3/6] drm/i915: Add skl_check_nv12_surface for NV12
Quoted 132 lines
-----Original Message-----
From: Srinivas, Vidya
Sent: Tuesday, May 8, 2018 5:08 PM
To: 'Maarten Lankhorst' <[email protected]>; 'intel- [email protected]' <[email protected]>
Subject: RE: [PATCH v7 3/6] drm/i915: Addskl_check_nv12_surfacefor NV12Quoted 35 lines
-----Original Message-----
From: Srinivas, Vidya
Sent: Tuesday, May 8, 2018 8:36 AM
To: Maarten Lankhorst <[email protected]>; intel- [email protected]
Subject: RE: [PATCH v7 3/6] drm/i915: Addskl_check_nv12_surfacefor NV12Quoted 25 lines
-----Original Message-----
From: Maarten Lankhorst [mailto:[email protected]]
Sent: Monday, May 7, 2018 2:56 PM
To: Srinivas, Vidya <[email protected]>; intel- [email protected]
Subject: Re: [PATCH v7 3/6] drm/i915: Addskl_check_nv12_surfacefor NV12Op 10-05-18 om 10:31 schreef Vidya Srinivas:
Quoted 16 lines
From: Maarten Lankhorst <[email protected]>
We skip src trunction/adjustments for
NV12 case and handle the sizes directly. Without this, pipe fifo underruns are seen on APL/KBL.v2: For NV12, making the src coordinates multiplier of 4
v3: Moving all the src coords handling code for NV12 to
skl_check_nv12_surfacev4: Added RB from Mika
v5: Rebased the series. Removed checks of mult of 4 in
skl_update_scaler, Added NV12 condition inintel_check_sprite_planewhere src x/w is being checked for mult of 2for yuv planes.
Quoted 77 lines
Quoted 59 lines
Quoted 17 lines
Reviewed-by Mika Kahola <[email protected]>Signed-off-by Maarten LankhorstSigned-off-by Vidya Srinivas <[email protected]>--- drivers/gpu/drm/i915/intel_display.c | 42 ++++++++++++++++++++++++++++++++++-- drivers/gpu/drm/i915/intel_sprite.c | 1 + 2 files changed, 41 insertions(+), 2 deletions(-)drivers/gpu/drm/i915/intel_display.c +0
-0@@ -3102,6 +3102,42 @@ static int skl_check_main_surface(constQuoted 1 line
struct
intel_crtc_state*crtc_state,Quoted 5 lines
drivers/gpu/drm/i915/intel_display.c +2
-0return 0 ; } +static int +skl_check_nv12_surface(const struct intel_crtc_state *crtc_state,drivers/gpu/drm/i915/intel_display.c static int skl_check_main_surface(const struct intel_crtc_state *crtc_state,
Quoted 10 lines
drivers/gpu/drm/i915/intel_display.c +10
-0+ struct intel_plane_state *plane_state) { +int crtc_x2 = plane_state->base.crtc_x + plane_state->base.crtc_w; +int crtc_y2 = plane_state->base.crtc_y + +plane_state->base.crtc_h; + +if (((plane_state->base.src_x >>16 ) %4 ) !=0 || + ((plane_state->base.src_y >>16 ) %4 ) !=0 || + ((plane_state->base.src_w >>16 ) %4 ) !=0 || + ((plane_state->base.src_h >>16 ) %4 ) !=0 ) { + DRM_DEBUG_KMS("src coords must be multiple of 4 forNV12\n");
drivers/gpu/drm/i915/intel_display.c static int skl_check_main_surface(const struct intel_crtc_state *crtc_state,
Quoted 6 lines
drivers/gpu/drm/i915/intel_display.c +6
-0+return -EINVAL ; + } + +/* Clipping would cause a 1-3 pixel gap at the edge of the screen? */ + if ((crtc_x2 > crtc_state->pipe_src_w && crtc_state->pipe_src_w +%4) ||
drivers/gpu/drm/i915/intel_display.c
Quoted 3 lines
drivers/gpu/drm/i915/intel_display.c +3
-0+ (crtc_y2 > crtc_state->pipe_src_h && crtc_state->pipe_src_h +% +4)){
drivers/gpu/drm/i915/intel_display.c
Quoted 1 line
drivers/gpu/drm/i915/intel_display.c +1
-0+ DRM_DEBUG_KMS("It's not possible to clip %u,%u to%u,%u\n",
drivers/gpu/drm/i915/intel_display.c static int skl_check_main_surface(const struct intel_crtc_state *crtc_state, · line 3127
Quoted 4 lines
drivers/gpu/drm/i915/intel_display.c +4
-0+ crtc_x2, crtc_y2, + crtc_state->pipe_src_w, crtc_state->pipe_src_h); +return -EINVAL ; + }Oops, wrong checks here..
skl_check_nv12_surfaceis only needed for Display WA #1106, so check might need to be something like:static int
skl_check_nv12_surface(const structintel_crtc_state*crtc_state,Quoted 11 lines
struct intel_plane_state *plane_state) { /* Display WA #1106 */ if (plane_state->base.rotation != (DRM_MODE_REFLECT_X | DRM_MODE_ROTATE_90) && plane_state->base.rotation != DRM_MODE_ROTATE_270) return 0; /* src coordinates are rotated here. We check height but report it as width. */ if (((drm_rect_height(&plane_state->base.src) >> 16) % 4) != 0) { DRM_DEBUG_KMS("src width must be multiple of 4 forrotated NV12\n");
Quoted 6 lines
return -EINVAL; } return 0; }Quoted 7 lines
Quoted 1 line
Would this hit FIFO underruns?
Thank you. I have made the change and floated the series. Please have a check.
When I tested It on my end on GLK, I did not observe any fifo underruns. Will wait for IGT test results from BAT.
Quoted 5 lines
IGT BAT shows PASS on rev 6 of
https://patchwork.freedesktop.org/series/41674/
This has the change forskl_check_nv12_surface. Can you please have a check?
Thank you.
Sorry to ask. Can these go in for merge?
I mean after the drm-misc-next backmerge that you were mentioning.
Regards
Vidya
Quoted 3 lines
Regards
Vidya
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v7 4/6 drm/i915: Add NV12 support to intel_framebuffer_init
In reply to Vidya SrinivasFrom: Chandra Konduru <[email protected]>
This patch adds NV12 as supported format
to intel_framebuffer_init and performs various checks.
v2:
-Fix an issue in checks added (Chandra Konduru)
v3: rebased (me)
v4: Review comments by Ville addressed
Added platform check for NV12 in intel_framebuffer_init Removed offset checks for NV12 case
v5: Addressed review comments by Clinton A Taylor
This NV12 support only correctly works on SKL.
Plane color space conversion is different on GLK and later platforms causing the colors to display incorrectly.
Ville's plane color space property patch series
in review will fix this issue.
- Restricted the NV12 case in intel_framebuffer_init to SKL and BXT only.
v6: Rebased (me)
v7: Addressed review comments by Ville
Restricting the NV12 to BXT for now.
v8: Rebased (me)
Restricting the NV12 changes to BXT and KBL for now.
v9: Rebased (me)
v10: NV12 supported by all GEN >= 9.
Making this change in intel_framebuffer_init. This is part of addressing Maarten's review comments. Comment under v8 no longer applicable
v11: Addressed review comments from Shashank Sharma
v12: Adding Reviewed By from Shashank Sharma
v13: Addressed review comments from Juha-Pekka Heikkila "NV12 not to be supported by SKL"
v14: Addressed review comments from Maarten. Add checks for fb width height for NV12 and fail the fb creation if check fails. Added reviewed by from Juha-Pekka Heikkila
v15: Rebased the series
v16: Setting the minimum value during fb creating to 16 as per Bspec for NV12. Earlier minimum was expected to be > 16. Now changed it to >=16.
v17: Adding restriction to framebuffer_init - the fb width and height should be a multiplier of 4
v18: Added RB from Maarten. Included Maarten's review comments Dont allow CCS formats for fb creation of NV12
v19: Review comments from Maarten addressed -
Removing BROXTON support for NV12 due to WA826
Credits-to: Maarten Lankhorst <[email protected]>
--- drivers/gpu/drm/i915/intel_display.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+)
drivers/gpu/drm/i915/intel_display.c +22 -0
@@ -14304,6 +14304,20 @@ static int intel_framebuffer_init(struct intel_framebuffer *intel_fb, goto err; }break ; +case DRM_FORMAT_NV12 : +if (mode_cmd->modifier[0 ] ==I915_FORMAT_MOD_Y_TILED_CCS || + mode_cmd->modifier[0 ] == I915_FORMAT_MOD_Yf_TILED_CCS) { +DRM_DEBUG_KMS ("RC not to be enabled with NV12\n" ); + goto err; + } +if (INTEL_GEN (dev_priv) <9 ||IS_SKYLAKE (dev_priv) || +IS_BROXTON (dev_priv)) { +DRM_DEBUG_KMS ("unsupported pixel format: %s\n" , +drm_get_format_name (mode_cmd->pixel_format, + &format_name)); + goto err; + } +break ;default :DRM_DEBUG_KMS ("unsupported pixel format: %s\n" ,drm_get_format_name (mode_cmd->pixel_format, &format_name));
@@ -14316,6 +14330,14 @@ static int intel_framebuffer_init(struct intel_framebuffer *intel_fb,drm_helper_mode_fill_fb_struct (&dev_priv->drm, fb, mode_cmd); +if (fb->format->format ==DRM_FORMAT_NV12 && + (fb->width <SKL_MIN_YUV_420_SRC_W || + fb->height <SKL_MIN_YUV_420_SRC_H || + (fb->width %4 ) !=0 || (fb->height %4 ) !=0 )) { +DRM_DEBUG_KMS ("src dimensions not correct for NV12\n" ); +return -EINVAL ; + } +for (i =0 ; i < fb->format->num_planes; i++) {u32 stride_alignment;
Signature · 6 lines
2.7.4 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v7 5/6 drm/i915: Add NV12 as supported format for primary plane
In reply to Vidya SrinivasFrom: Chandra Konduru <[email protected]>
This patch adds NV12 to list of supported formats for primary plane
v2: Rebased (Chandra Konduru)
v3: Rebased (me)
v4: Review comments by Ville addressed
Removed the skl_primary_formats_with_nv12 and
added NV12 case in existing skl_primary_formats
v5: Rebased (me)
v6: Missed the Tested-by/Reviewed-by in the previous series Adding the same to commit message in this version.
v7: Review comments by Ville addressed
Restricting the NV12 for BXT and on PIPE A and B
Rebased (me)
v8: Rebased (me)
Modified restricting the NV12 support for both BXT and KBL.
v9: Rebased (me)
v10: Addressed review comments from Maarten.
Adding NV12 inside skl_primary_formats itself.
v11: Adding Reviewed By tag from Shashank Sharma
v12: Addressed review comments from Juha-Pekka Heikkila "NV12 not to be supported by SKL"
v13: Addressed review comments from Ville
Added skl_pri_planar_formats to include NV12
and skl_plane_has_planar function to check for
NV12 support on plane. Added NV12 format toskl_mod_supported. These were review comments
from Kristian Høgsberg <[email protected]>
v14: Added reviewed by from Juha-Pekka Heikkila
v15: Rebased the series
v16: Added all tiling support under mod supported
for NV12. Credits to Megha Aggarwal
v17: Added RB by Maarten and Kristian
v18: Review comments from Maarten addressed -
Removing BROXTON support for NV12 due to WA826
v19: Addressed review comments from Maarten
Make changes to skl_mod_supported
Credits-to: Megha Aggarwal [email protected]
Credits-to: Maarten Lankhorst <[email protected]>
--- drivers/gpu/drm/i915/intel_display.c | 50 ++++++++++++++++++++++++++++++++++-- drivers/gpu/drm/i915/intel_drv.h | 2 ++ 2 files changed, 50 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/intel_display.c +48 -2
@@ -88,6 +88,22 @@ static const uint32_t skl_primary_formats[] = { DRM_FORMAT_VYUY, }; +static const uint32_t skl_pri_planar_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_YUYV , +DRM_FORMAT_YVYU , +DRM_FORMAT_UYVY , +DRM_FORMAT_VYUY , +DRM_FORMAT_NV12 , +}; +static const uint64_t skl_format_modifiers_noccs[] = { I915_FORMAT_MOD_Yf_TILED,I915_FORMAT_MOD_Y_TILED ,
@@ -13215,6 +13231,7 @@ static bool skl_mod_supported(uint32_t format, uint64_t modifier)case DRM_FORMAT_YVYU :case DRM_FORMAT_UYVY :case DRM_FORMAT_VYUY : +case DRM_FORMAT_NV12 :if (modifier == I915_FORMAT_MOD_Yf_TILED)return true;/* fall through */
@@ -13422,6 +13439,30 @@ static bool skl_plane_has_fbc(struct drm_i915_private *dev_priv,return pipe ==PIPE_A && plane_id ==PLANE_PRIMARY ; } +bool skl_plane_has_planar (struct drm_i915_private *dev_priv, +enum pipe pipe,enum plane_id plane_id) +{ +if (plane_id ==PLANE_PRIMARY ) { +if (IS_SKYLAKE (dev_priv) ||IS_BROXTON (dev_priv)) +return false; +else if ((INTEL_GEN (dev_priv) ==9 && pipe ==PIPE_C ) && + !IS_GEMINILAKE (dev_priv)) +return false; + }else if (plane_id >=PLANE_SPRITE0 ) { +if (plane_id ==PLANE_CURSOR ) +return false; +if (IS_GEMINILAKE (dev_priv) ||INTEL_GEN (dev_priv) ==10 ) { +if (plane_id !=PLANE_SPRITE0 ) +return false; + }else { +if (plane_id !=PLANE_SPRITE0 || pipe ==PIPE_C || +IS_SKYLAKE (dev_priv) ||IS_BROXTON (dev_priv)) +return false; + } + } +return true; +} +static struct intel_plane *intel_primary_plane_create (struct drm_i915_private *dev_priv,enum pipe pipe) {
@@ -13482,8 +13523,13 @@ intel_primary_plane_create(struct drm_i915_private *dev_priv, enum pipe pipe) primary->check_plane = intel_check_primary_plane;if (INTEL_GEN (dev_priv) >=9 ) { - intel_primary_formats = skl_primary_formats; - num_formats =ARRAY_SIZE (skl_primary_formats); +if (skl_plane_has_planar (dev_priv, pipe,PLANE_PRIMARY )) { + intel_primary_formats = skl_pri_planar_formats; + num_formats =ARRAY_SIZE (skl_pri_planar_formats); + }else { + intel_primary_formats = skl_primary_formats; + num_formats =ARRAY_SIZE (skl_primary_formats); + }if (skl_plane_has_ccs (dev_priv, pipe,PLANE_PRIMARY )) modifiers = skl_format_modifiers_ccs;
drivers/gpu/drm/i915/intel_drv.h +2 -0
@@ -2076,6 +2076,8 @@ bool skl_plane_get_hw_state(struct intel_plane *plane);bool skl_plane_has_ccs (struct drm_i915_private *dev_priv,enum pipe pipe,enum plane_id plane_id);bool intel_format_is_yuv (uint32_t format); +bool skl_plane_has_planar (struct drm_i915_private *dev_priv, +enum pipe pipe,enum plane_id plane_id);/* intel_tv.c */ void intel_tv_init (struct drm_i915_private *dev_priv);
Signature · 6 lines
2.7.4 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v7 6/6 drm/i915: Add NV12 as supported format for sprite plane
In reply to Vidya SrinivasFrom: Chandra Konduru <[email protected]>
This patch adds NV12 to list of supported formats for sprite plane.
v2: Rebased (me)
v3: Review comments by Ville addressed
- Removed skl_plane_formats_with_nv12 and added
NV12 case in existing skl_plane_formats
- Added the 10bpc RGB formats
v4: Addressed review comments from Clinton A Taylor
"Why are we adding 10 bit RGB formats with the NV12 series patches? Trying to set XR30 or AB30 results in error returned even though the modes are advertised for the planes"
- Removed 10bit RGB formats added previously with NV12 series
v5: Missed the Tested-by/Reviewed-by in the previous series Adding the same to commit message in this version. Addressed review comments from Clinton A Taylor
"Why are we adding 10 bit RGB formats with the NV12 series patches? Trying to set XR30 or AB30 results in error returned even though the modes are advertised for the planes"
- Previous version has 10bit RGB format removed from VLV formats by mistake. Fixing that in this version.
Removed 10bit RGB formats added previously with NV12 series for SKL.
v6: Addressed review comments by Ville
Restricting the NV12 to BXT and PIPE A and B
v7: Rebased (me)
v8: Rebased (me)
Restricting NV12 changes to BXT and KBL
Restricting NV12 changes for plane 0 (overlay)
v9: Rebased (me)
v10: Addressed review comments from Maarten.
Adding NV12 to skl_plane_formats itself.
v11: Addressed review comments from Shashank Sharma
v12: Addressed review comments from Shashank Sharma Made the condition in intel_sprite_plane_create simple and easy to read as suggested.
v13: Adding reviewed by tag from Shashank Sharma Addressed review comments from Juha-Pekka Heikkila "NV12 not to be supported by SKL"
v14: Addressed review comments from Ville
Added skl_planar_formats to include NV12
and a check skl_plane_has_planar in sprite create Added NV12 format to skl_mod_supported. These were review comments from Kristian Høgsberg <[email protected]>
v15: Added reviewed by from Juha-Pekka Heikkila
v16: Rebased the series
v17: Added all tiling under mod supported for NV12 Credits to Megha Aggarwal
v18: Added RB by Maarten and Kristian
v19: Addressed review comments from Maarten
Made modification to skl_mod_supported
Credits-to: Megha Aggarwal <[email protected]>
Credits-to: Kristian Høgsberg <[email protected]>
--- drivers/gpu/drm/i915/intel_sprite.c | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/intel_sprite.c +22 -2
@@ -1180,6 +1180,19 @@ static uint32_t skl_plane_formats[] = { DRM_FORMAT_VYUY, }; +static uint32_t skl_planar_formats[] = { +DRM_FORMAT_RGB565 , +DRM_FORMAT_ABGR8888 , +DRM_FORMAT_ARGB8888 , +DRM_FORMAT_XBGR8888 , +DRM_FORMAT_XRGB8888 , +DRM_FORMAT_YUYV , +DRM_FORMAT_YVYU , +DRM_FORMAT_UYVY , +DRM_FORMAT_VYUY , +DRM_FORMAT_NV12 , +}; +static const uint64_t skl_plane_format_modifiers_noccs[] = { I915_FORMAT_MOD_Yf_TILED,I915_FORMAT_MOD_Y_TILED ,
@@ -1274,6 +1287,7 @@ static bool skl_mod_supported(uint32_t format, uint64_t modifier)case DRM_FORMAT_YVYU :case DRM_FORMAT_UYVY :case DRM_FORMAT_VYUY : +case DRM_FORMAT_NV12 :if (modifier == I915_FORMAT_MOD_Yf_TILED)return true;/* fall through */
@@ -1373,8 +1387,14 @@ intel_sprite_plane_create(struct drm_i915_private *dev_priv, intel_plane->disable_plane = skl_disable_plane; intel_plane->get_hw_state = skl_plane_get_hw_state; - plane_formats = skl_plane_formats; - num_plane_formats =ARRAY_SIZE (skl_plane_formats); +if (skl_plane_has_planar (dev_priv, pipe, +PLANE_SPRITE0 + plane)) { + plane_formats = skl_planar_formats; + num_plane_formats =ARRAY_SIZE (skl_planar_formats); + }else { + plane_formats = skl_plane_formats; + num_plane_formats =ARRAY_SIZE (skl_plane_formats); + }if (skl_plane_has_ccs (dev_priv, pipe,PLANE_SPRITE0 + plane)) modifiers = skl_plane_format_modifiers_ccs;
Signature · 6 lines
2.7.4 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.BAT: success for Enable NV12 support (rev5)
In reply to Vidya Srinivas== Series Details ==
== Series Details ==
Series: Enable NV12 support (rev5)
URL : https://patchwork.freedesktop.org/series/41674/
State : success
== Summary ==
= CI Bug Log - changes from CI_DRM_4150 -> Patchwork_8922 =
== Summary - SUCCESS ==
No regressions found.
External URL: https://patchwork.freedesktop.org/api/1.0/series/41674/revisions/5/mbox/
== Known issues ==
Here are the changes found in Patchwork_8922 that come from known issues:
=== IGT changes ===
==== Issues hit ====
igt@gem_exec_suspend@basic-s4-devices:
fi-skl-guc: PASS -> FAIL (fdo#105900, fdo#104699) +1
igt@gem_ringfill@basic-default-hang:
fi-pnv-d510: NOTRUN -> DMESG-WARN (fdo#101600)
igt@kms_pipe_crc_basic@nonblocking-crc-pipe-b-frame-sequence:
fi-hsw-4770r: PASS -> FAIL (fdo#103481)
==== Possible fixes ====
igt@kms_flip@basic-flip-vs-wf_vblank:
fi-skl-guc: FAIL (fdo#103928) -> PASS
igt@kms_frontbuffer_tracking@basic:
fi-hsw-4200u: DMESG-FAIL (fdo#102614, fdo#106103) -> PASS
igt@kms_pipe_crc_basic@read-crc-pipe-b:
fi-skl-6700k2: FAIL (fdo#103191, fdo#104724) -> PASS
igt@kms_pipe_crc_basic@suspend-read-crc-pipe-b:
fi-glk-j4005: DMESG-WARN (fdo#106097) -> PASS fdo#101600 https://bugs.freedesktop.org/show_bug.cgi?id=101600
fdo#102614 https://bugs.freedesktop.org/show_bug.cgi?id=102614
fdo#103191 https://bugs.freedesktop.org/show_bug.cgi?id=103191
fdo#103481 https://bugs.freedesktop.org/show_bug.cgi?id=103481
fdo#103928 https://bugs.freedesktop.org/show_bug.cgi?id=103928
fdo#104699 https://bugs.freedesktop.org/show_bug.cgi?id=104699
fdo#104724 https://bugs.freedesktop.org/show_bug.cgi?id=104724
fdo#105900 https://bugs.freedesktop.org/show_bug.cgi?id=105900
fdo#106097 https://bugs.freedesktop.org/show_bug.cgi?id=106097
fdo#106103 https://bugs.freedesktop.org/show_bug.cgi?id=106103
== Participating hosts (38 -> 36) ==
Additional (2): fi-kbl-7560u fi-pnv-d510
Missing (4): fi-byt-j1900 fi-ctg-p8600 fi-ilk-m540 fi-skl-6700hq
== Build changes ==
* Linux: CI_DRM_4150 -> Patchwork_8922
CI_DRM_4150: 93d32416ba4b1dae9451fec28aaa71915d770f51 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_4463: 91b5a3ef5516b29584ea4567b0f5ffa18219b29f @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_8922: f016aabaa90d06bf1e8864e8be93af778aec8f3b @ git://anongit.freedesktop.org/gfx-ci/linux
piglit_4463: 33e58d5583eb7ed3966a1b905f875a1dfa959f6b @ git://anongit.freedesktop.org/piglit
== Linux commits ==
f016aabaa90d drm/i915: Add NV12 as supported format for sprite plane 13186f16b914 drm/i915: Add NV12 as supported format for primary plane 55476785ac40 drm/i915: Add NV12 support to intel_framebuffer_init b20488dc6d37 drm/i915: Add skl_check_nv12_surface for NV12 d34c1535d7c0 drm/i915: Enable Display WA 05288c98580b339e drm/i915: Enable display workaround 827 for all planes, v2.
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_8922/issues.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.IGT: success for Enable NV12 support (rev5)
In reply to Vidya Srinivas== Series Details ==
== Series Details ==
Series: Enable NV12 support (rev5)
URL : https://patchwork.freedesktop.org/series/41674/
State : success
== Summary ==
= CI Bug Log - changes from CI_DRM_4150_full -> Patchwork_8922_full =
== Summary - WARNING ==
Minor unknown changes coming with Patchwork_8922_full need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_8922_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
External URL: https://patchwork.freedesktop.org/api/1.0/series/41674/revisions/5/mbox/
== Possible new issues ==
Here are the unknown changes that may have been introduced in Patchwork_8922_full:
=== IGT changes ===
==== Warnings ====
igt@gem_mocs_settings@mocs-rc6-render:
shard-kbl: SKIP -> PASS== Known issues ==
Here are the changes found in Patchwork_8922_full that come from known issues:
=== IGT changes ===
==== Issues hit ====
igt@kms_cursor_crc@cursor-128x128-suspend:
shard-kbl: PASS -> DMESG-WARN (fdo#103313)
igt@kms_flip@2x-flip-vs-absolute-wf_vblank:
shard-hsw: PASS -> FAIL (fdo#100368) +1
igt@kms_rotation_crc@primary-rotation-270:
shard-apl: PASS -> DMESG-WARN (fdo#105127)
igt@kms_universal_plane@cursor-fb-leak-pipe-b:
shard-kbl: PASS -> DMESG-WARN (fdo#103558, fdo#105602) +18
==== Possible fixes ====
igt@kms_flip@flip-vs-absolute-wf_vblank-interruptible:
shard-kbl: FAIL (fdo#100368) -> PASS
igt@kms_flip@flip-vs-expired-vblank-interruptible:
shard-glk: FAIL (fdo#105363) -> PASS
igt@kms_frontbuffer_tracking@fbc-farfromfence:
shard-kbl: DMESG-WARN (fdo#103558, fdo#105602) -> PASS +7
igt@kms_plane@plane-panning-bottom-right-suspend-pipe-a-planes:
shard-apl: FAIL (fdo#103166, fdo#104724) -> PASS
igt@kms_rotation_crc@primary-rotation-90:
shard-apl: FAIL (fdo#103925, fdo#104724) -> PASS fdo#100368 https://bugs.freedesktop.org/show_bug.cgi?id=100368
fdo#103166 https://bugs.freedesktop.org/show_bug.cgi?id=103166
fdo#103313 https://bugs.freedesktop.org/show_bug.cgi?id=103313
fdo#103558 https://bugs.freedesktop.org/show_bug.cgi?id=103558
fdo#103925 https://bugs.freedesktop.org/show_bug.cgi?id=103925
fdo#104724 https://bugs.freedesktop.org/show_bug.cgi?id=104724
fdo#105127 https://bugs.freedesktop.org/show_bug.cgi?id=105127
fdo#105363 https://bugs.freedesktop.org/show_bug.cgi?id=105363
fdo#105602 https://bugs.freedesktop.org/show_bug.cgi?id=105602
== Participating hosts (6 -> 6) ==
No changes in participating hosts
== Build changes ==
* Linux: CI_DRM_4150 -> Patchwork_8922
CI_DRM_4150: 93d32416ba4b1dae9451fec28aaa71915d770f51 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_4463: 91b5a3ef5516b29584ea4567b0f5ffa18219b29f @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_8922: f016aabaa90d06bf1e8864e8be93af778aec8f3b @ git://anongit.freedesktop.org/gfx-ci/linux
piglit_4463: 33e58d5583eb7ed3966a1b905f875a1dfa959f6b @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_8922/shards.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx