drm/i915/display/skl+: Drop frontbuffer rendering support
PATCH 1/2 drm/i915/display/skl+: Drop frontbuffer rendering support
By now all the userspace applications should have migrated to atomic or at least be calling DRM_IOCTL_MODE_DIRTYFB.
With that we can kill frontbuffer rendering support in i915 for modern platforms.
So here converting legacy APIs into atomic commits so it can be properly handled by driver i915.
Several IGT tests will fail with this changes, because some tests were stressing those frontbuffer rendering scenarios that no userspace should be using by now, fixes to IGT should be sent soon.
v2:
- return earlier to not set fb_tracking.busy/flip_bits
- added a warn on to make sure we are not setting the busy/flip_bits
--- drivers/gpu/drm/i915/display/intel_cursor.c | 6 ++---- drivers/gpu/drm/i915/display/intel_fb.c | 8 +++++++- .../gpu/drm/i915/display/intel_frontbuffer.c | 18 ++++++++++++++++++ drivers/gpu/drm/i915/i915_drv.h | 2 ++ 4 files changed, 29 insertions(+), 5 deletions(-)
drivers/gpu/drm/i915/display/intel_cursor.c +2 -4
@@ -617,6 +617,7 @@ intel_legacy_cursor_update(struct drm_plane *_plane, u32 src_w, u32 src_h, struct drm_modeset_acquire_ctx *ctx) { + struct drm_i915_private *i915 = to_i915(_crtc->dev);struct intel_plane *plane =to_intel_plane (_plane);struct intel_crtc *crtc =to_intel_crtc (_crtc); struct intel_plane_state *old_plane_state =
@@ -633,12 +634,9 @@ intel_legacy_cursor_update(struct drm_plane *_plane,* PSR2 selective fetch also requires the slow path as * PSR2 plane and transcoder registers can only be updated during * vblank. -* -* FIXME bigjoiner fastpath would be good */ if (!crtc_state->hw.active ||intel_crtc_needs_modeset (crtc_state) || - crtc_state->update_pipe || crtc_state->bigjoiner || - crtc_state->enable_psr2_sel_fetch) + crtc_state->update_pipe || !HAS_FRONTBUFFER_RENDERING (i915)) goto slow;/*
drivers/gpu/drm/i915/display/intel_fb.c +7 -1
@@ -3,6 +3,7 @@* Copyright © 2021 Intel Corporation */ +#include <drm/drm_damage_helper.h> #include <drm/drm_framebuffer.h> #include <drm/drm_modeset_helper.h>
@@ -1235,10 +1236,15 @@ static int intel_user_framebuffer_dirty(struct drm_framebuffer *fb, unsigned int num_clips) {struct drm_i915_gem_object *obj =intel_fb_obj (fb); +struct drm_i915_private *i915 =to_i915 (obj->base.dev);i915_gem_object_flush_if_display (obj); -intel_frontbuffer_flush (to_intel_frontbuffer (fb),ORIGIN_DIRTYFB ); +if (!HAS_FRONTBUFFER_RENDERING (i915)) +return drm_atomic_helper_dirtyfb (fb, file, flags, color, clips, + num_clips); + +intel_frontbuffer_flush (to_intel_frontbuffer (fb),ORIGIN_DIRTYFB );return 0 ; }
drivers/gpu/drm/i915/display/intel_frontbuffer.c +18 -0
@@ -112,6 +112,9 @@ static void frontbuffer_flush(struct drm_i915_private *i915,void intel_frontbuffer_flip_prepare (struct drm_i915_private *i915,unsigned frontbuffer_bits) { +if (!HAS_FRONTBUFFER_RENDERING (i915)) +return ; +spin_lock (&i915->fb_tracking.lock); i915->fb_tracking.flip_bits |= frontbuffer_bits;/* Remove stale busy bits due to the old buffer. */
@@ -132,6 +135,12 @@ void intel_frontbuffer_flip_prepare(struct drm_i915_private *i915,void intel_frontbuffer_flip_complete (struct drm_i915_private *i915,unsigned frontbuffer_bits) { +if (!HAS_FRONTBUFFER_RENDERING (i915)) { +drm_WARN_ON_ONCE (&i915->drm, i915->fb_tracking.flip_bits | + i915->fb_tracking.busy_bits); +return ; + } +spin_lock (&i915->fb_tracking.lock);/* Mask any cancelled flips. */ frontbuffer_bits &= i915->fb_tracking.flip_bits;
@@ -156,6 +165,9 @@ void intel_frontbuffer_flip_complete(struct drm_i915_private *i915,void intel_frontbuffer_flip (struct drm_i915_private *i915,unsigned frontbuffer_bits) { +if (!HAS_FRONTBUFFER_RENDERING (i915)) +return ; +spin_lock (&i915->fb_tracking.lock);/* Remove stale busy bits due to the old buffer. */ i915->fb_tracking.busy_bits &= ~frontbuffer_bits;
@@ -170,6 +182,9 @@ void __intel_fb_invalidate(struct intel_frontbuffer *front, {struct drm_i915_private *i915 =to_i915 (front->obj->base.dev); +if (!HAS_FRONTBUFFER_RENDERING (i915)) +return ; +if (origin ==ORIGIN_CS ) {spin_lock (&i915->fb_tracking.lock); i915->fb_tracking.busy_bits |= frontbuffer_bits;
@@ -191,6 +206,9 @@ void __intel_fb_flush(struct intel_frontbuffer *front, {struct drm_i915_private *i915 =to_i915 (front->obj->base.dev); +if (!HAS_FRONTBUFFER_RENDERING (i915)) +return ; +if (origin ==ORIGIN_CS ) {spin_lock (&i915->fb_tracking.lock);/* Filter out new bits since rendering started. */
drivers/gpu/drm/i915/i915_drv.h +2 -0
@@ -1699,6 +1699,8 @@ IS_SUBPLATFORM(const struct drm_i915_private *i915,#define HAS_ASYNC_FLIPS (i915) (DISPLAY_VER(i915) >= 5) +#define HAS_FRONTBUFFER_RENDERING (i915) (DISPLAY_VER(i915) < 9) +/* Only valid when HAS_DISPLAY() is true */ #define INTEL_DISPLAY_ENABLED (dev_priv) \ (drm_WARN_ON(&(dev_priv)->drm, !HAS_DISPLAY(dev_priv)), !(dev_priv)->params.disable_display)
Signature · 1 line
2.33.0
PATCH 2/2 drm/i915/display: Drop PSR frontbuffer rendering support
After commit "drm/i915/display/skl+: Drop frontbuffer rendering support" frontbuffer rendering is not supported for display 9 and newer and as PSR is only supported by default in display 9 and newer we can now drop all frontbuffer rendering support for PSR code.
Some DC3CO code was commented with a macro, because the function caller is being dropped. As DC3CO is already disabled by default because it requires changes in its sequences
Two DC3CO functions lost their callers while dropping frontbuffer rendering but as DC3CO is already disabled by default because it requires fixes, will leave this task to whoever will fix DC3CO.
--- .../drm/i915/display/intel_display_debugfs.c | 2 - .../drm/i915/display/intel_display_types.h | 2 - .../gpu/drm/i915/display/intel_frontbuffer.c | 2 - drivers/gpu/drm/i915/display/intel_psr.c | 186 ++---------------- drivers/gpu/drm/i915/display/intel_psr.h | 8 +- 5 files changed, 18 insertions(+), 182 deletions(-)
drivers/gpu/drm/i915/display/intel_display_debugfs.c +0 -2
@@ -374,8 +374,6 @@ static int intel_psr_status(struct seq_file *m, struct intel_dp *intel_dp)seq_printf (m,"Source PSR ctl: %s [0x%08x]\n" ,enableddisabled (enabled), val);psr_source_status (intel_dp, m); -seq_printf (m,"Busy frontbuffer bits: 0x%08x\n" , - psr->busy_frontbuffer_bits);/* * SKL+ Perf counter is reset to 0 everytime DC state is entered
drivers/gpu/drm/i915/display/intel_display_types.h +0 -2
@@ -1512,7 +1512,6 @@ struct intel_psr {enum transcoder transcoder;bool active;struct work_struct work; -unsigned int busy_frontbuffer_bits;bool sink_psr2_support;bool link_standby;bool colorimetry_support;
@@ -1523,7 +1522,6 @@ struct intel_psr {ktime_t last_entry_attempt;ktime_t last_exit;bool sink_not_reliable; -bool irq_aux_error;u16 su_w_granularity;u16 su_y_granularity;u32 dc3co_exitline;
drivers/gpu/drm/i915/display/intel_frontbuffer.c +0 -2
@@ -93,7 +93,6 @@ static void frontbuffer_flush(struct drm_i915_private *i915,might_sleep ();intel_drrs_flush (i915, frontbuffer_bits); -intel_psr_flush (i915, frontbuffer_bits, origin);intel_fbc_flush (i915, frontbuffer_bits, origin); }
@@ -195,7 +194,6 @@ void __intel_fb_invalidate(struct intel_frontbuffer *front,trace_intel_frontbuffer_invalidate (frontbuffer_bits, origin);might_sleep (); -intel_psr_invalidate (i915, frontbuffer_bits, origin);intel_drrs_invalidate (i915, frontbuffer_bits);intel_fbc_invalidate (i915, frontbuffer_bits, origin); }
drivers/gpu/drm/i915/display/intel_psr.c +17 -169
242 lines not on this page · raw message
drivers/gpu/drm/i915/display/intel_psr.h +1 -7
@@ -6,7 +6,7 @@#ifndef __INTEL_PSR_H__#define __INTEL_PSR_H__ -#include "intel_frontbuffer.h" +#include <linux/types.h> struct drm_connector ;struct drm_connector_state ;
@@ -29,12 +29,6 @@ void intel_psr_update(struct intel_dp *intel_dp,const struct intel_crtc_state *crtc_state, const struct drm_connector_state *conn_state);int intel_psr_debug_set (struct intel_dp *intel_dp,u64 value); -void intel_psr_invalidate (struct drm_i915_private *dev_priv, -unsigned frontbuffer_bits, -enum fb_op_origin origin); -void intel_psr_flush (struct drm_i915_private *dev_priv, -unsigned frontbuffer_bits, -enum fb_op_origin origin);void intel_psr_init (struct intel_dp *intel_dp);void intel_psr_compute_config (struct intel_dp *intel_dp,struct intel_crtc_state *crtc_state);
Signature · 1 line
2.33.0
Patchwork
CI[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [CI,1/2] drm/i915/display/skl+: Drop frontbuffer rendering support
In reply to José Roberto de Souza== Series Details ==
== Series Details ==
Series: series starting with [CI,1/2] drm/i915/display/skl+: Drop frontbuffer rendering support
URL : https://patchwork.freedesktop.org/series/94522/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip 8ed17fa41e37 drm/i915/display/skl+: Drop frontbuffer rendering support d1a6a5a3ecab drm/i915/display: Drop PSR frontbuffer rendering support -:251: WARNING:IF_0: Consider removing the code enclosed by this #if 0 and its #endif #251: FILE: drivers/gpu/drm/i915/display/intel_psr.c:1894: +#if 0
total: 0 errors, 1 warnings, 0 checks, 298 lines checked
Quoted 6 lines · José Roberto de Souza
By now all the userspace applications should have migrated to atomic or at least be calling
DRM_IOCTL_MODE_DIRTYFB.With that we can kill frontbuffer rendering support in i915 for modern platforms.
Quoted 7 lines
So here converting legacy APIs into atomic commits so it can be properly handled by driver i915.
Several IGT tests will fail with this changes, because some tests were stressing those frontbuffer rendering scenarios that no userspace should be using by now, fixes to IGT should be sent soon.
I just gave this a try here and it's unusable. glxgears went from 9000 to 120 fps (was expecting 60fps tbh, not sure why I get double), everything lags like mad, if I drag a window around glxgears/other windows stop updating entirely, etc. NAK
Quoted 145 lines
v2:
- return earlier to not set fb_tracking.busy/flip_bits
- added a warn on to make sure we are not setting the busy/flip_bitsReviewed-by Gwan-gyeong Mun <[email protected]>Cc Daniel Vetter <[email protected]>Cc Gwan-gyeong Mun <[email protected]>Cc Ville Syrjälä <[email protected]>Cc Jani Nikula <[email protected]>Cc Rodrigo Vivi <[email protected]>Signed-off-by José Roberto de Souza <[email protected]>--- drivers/gpu/drm/i915/display/intel_cursor.c | 6 ++---- drivers/gpu/drm/i915/display/intel_fb.c | 8 +++++++- .../gpu/drm/i915/display/intel_frontbuffer.c | 18 ++++++++++++++++++ drivers/gpu/drm/i915/i915_drv.h | 2 ++ 4 files changed, 29 insertions(+), 5 deletions(-)drivers/gpu/drm/i915/display/intel_cursor.c +2
-4@@ -617,6 +617,7 @@ intel_legacy_cursor_update(struct drm_plane *_plane, u32 src_w, u32 src_h, struct drm_modeset_acquire_ctx *ctx) { + struct drm_i915_private *i915 = to_i915(_crtc->dev);struct intel_plane *plane =to_intel_plane (_plane);struct intel_crtc *crtc =to_intel_crtc (_crtc); struct intel_plane_state *old_plane_state =@@ -633,12 +634,9 @@ intel_legacy_cursor_update(struct drm_plane *_plane,* PSR2 selective fetch also requires the slow path as * PSR2 plane and transcoder registers can only be updated during * vblank. -* -* FIXME bigjoiner fastpath would be good */ if (!crtc_state->hw.active ||intel_crtc_needs_modeset (crtc_state) || - crtc_state->update_pipe || crtc_state->bigjoiner || - crtc_state->enable_psr2_sel_fetch) + crtc_state->update_pipe || !HAS_FRONTBUFFER_RENDERING (i915)) goto slow;/* drivers/gpu/drm/i915/display/intel_fb.c +7
-1@@ -3,6 +3,7 @@* Copyright © 2021 Intel Corporation */ +#include <drm/drm_damage_helper.h> #include <drm/drm_framebuffer.h> #include <drm/drm_modeset_helper.h> @@ -1235,10 +1236,15 @@ static int intel_user_framebuffer_dirty(struct drm_framebuffer *fb, unsigned int num_clips) {struct drm_i915_gem_object *obj =intel_fb_obj (fb); +struct drm_i915_private *i915 =to_i915 (obj->base.dev);i915_gem_object_flush_if_display (obj); -intel_frontbuffer_flush (to_intel_frontbuffer (fb),ORIGIN_DIRTYFB ); +if (!HAS_FRONTBUFFER_RENDERING (i915)) +return drm_atomic_helper_dirtyfb (fb, file, flags, color, clips, + num_clips); + +intel_frontbuffer_flush (to_intel_frontbuffer (fb),ORIGIN_DIRTYFB );return 0 ; }drivers/gpu/drm/i915/display/intel_frontbuffer.c +18
-0@@ -112,6 +112,9 @@ static void frontbuffer_flush(struct drm_i915_private *i915,void intel_frontbuffer_flip_prepare (struct drm_i915_private *i915,unsigned frontbuffer_bits) { +if (!HAS_FRONTBUFFER_RENDERING (i915)) +return ; +spin_lock (&i915->fb_tracking.lock); i915->fb_tracking.flip_bits |= frontbuffer_bits;/* Remove stale busy bits due to the old buffer. */ @@ -132,6 +135,12 @@ void intel_frontbuffer_flip_prepare(struct drm_i915_private *i915,void intel_frontbuffer_flip_complete (struct drm_i915_private *i915,unsigned frontbuffer_bits) { +if (!HAS_FRONTBUFFER_RENDERING (i915)) { +drm_WARN_ON_ONCE (&i915->drm, i915->fb_tracking.flip_bits | + i915->fb_tracking.busy_bits); +return ; + } +spin_lock (&i915->fb_tracking.lock);/* Mask any cancelled flips. */ frontbuffer_bits &= i915->fb_tracking.flip_bits;@@ -156,6 +165,9 @@ void intel_frontbuffer_flip_complete(struct drm_i915_private *i915,void intel_frontbuffer_flip (struct drm_i915_private *i915,unsigned frontbuffer_bits) { +if (!HAS_FRONTBUFFER_RENDERING (i915)) +return ; +spin_lock (&i915->fb_tracking.lock);/* Remove stale busy bits due to the old buffer. */ i915->fb_tracking.busy_bits &= ~frontbuffer_bits;@@ -170,6 +182,9 @@ void __intel_fb_invalidate(struct intel_frontbuffer *front, {struct drm_i915_private *i915 =to_i915 (front->obj->base.dev); +if (!HAS_FRONTBUFFER_RENDERING (i915)) +return ; +if (origin ==ORIGIN_CS ) {spin_lock (&i915->fb_tracking.lock); i915->fb_tracking.busy_bits |= frontbuffer_bits;@@ -191,6 +206,9 @@ void __intel_fb_flush(struct intel_frontbuffer *front, {struct drm_i915_private *i915 =to_i915 (front->obj->base.dev); +if (!HAS_FRONTBUFFER_RENDERING (i915)) +return ; +if (origin ==ORIGIN_CS ) {spin_lock (&i915->fb_tracking.lock);/* Filter out new bits since rendering started. */ drivers/gpu/drm/i915/i915_drv.h +2
-0@@ -1699,6 +1699,8 @@ IS_SUBPLATFORM(const struct drm_i915_private *i915,#define HAS_ASYNC_FLIPS (i915) (DISPLAY_VER(i915) >= 5) +#define HAS_FRONTBUFFER_RENDERING (i915) (DISPLAY_VER(i915) < 9) +/* Only valid when HAS_DISPLAY() is true */ #define INTEL_DISPLAY_ENABLED (dev_priv) \ (drm_WARN_ON(&(dev_priv)->drm, !HAS_DISPLAY(dev_priv)), !(dev_priv)->params.disable_display)Signature · 1 line
2.33.0
Signature · 2 lines
Ville Syrjälä Intel
Quoted 15 lines · Ville Syrjälä
Quoted 6 lines · José Roberto de Souza
By now all the userspace applications should have migrated to atomic or at least be calling
DRM_IOCTL_MODE_DIRTYFB.With that we can kill frontbuffer rendering support in i915 for modern platforms.
Quoted 7 lines
So here converting legacy APIs into atomic commits so it can be properly handled by driver i915.
Several IGT tests will fail with this changes, because some tests were stressing those frontbuffer rendering scenarios that no userspace should be using by now, fixes to IGT should be sent soon.
Quoted 4 lines
I just gave this a try here and it's unusable. glxgears went from 9000 to 120 fps (was expecting 60fps tbh, not sure why I get double), everything lags like mad, if I drag a window around glxgears/other windows stop updating entirely, etc. NAK
Can you share your setup? What GPU? Desktop environment? Mesa version? resolutions of sinks? Will try it in my end.
Quoted 147 lines
Quoted 146 lines
v2:
- return earlier to not set fb_tracking.busy/flip_bits
- added a warn on to make sure we are not setting the busy/flip_bitsReviewed-by Gwan-gyeong Mun <[email protected]>Cc Daniel Vetter <[email protected]>Cc Gwan-gyeong Mun <[email protected]>Cc Ville Syrjälä <[email protected]>Cc Jani Nikula <[email protected]>Cc Rodrigo Vivi <[email protected]>Signed-off-by José Roberto de Souza <[email protected]>--- drivers/gpu/drm/i915/display/intel_cursor.c | 6 ++---- drivers/gpu/drm/i915/display/intel_fb.c | 8 +++++++- .../gpu/drm/i915/display/intel_frontbuffer.c | 18 ++++++++++++++++++ drivers/gpu/drm/i915/i915_drv.h | 2 ++ 4 files changed, 29 insertions(+), 5 deletions(-)drivers/gpu/drm/i915/display/intel_cursor.c +2
-4@@ -617,6 +617,7 @@ intel_legacy_cursor_update(struct drm_plane *_plane, u32 src_w, u32 src_h, struct drm_modeset_acquire_ctx *ctx) { + struct drm_i915_private *i915 = to_i915(_crtc->dev);struct intel_plane *plane =to_intel_plane (_plane);struct intel_crtc *crtc =to_intel_crtc (_crtc); struct intel_plane_state *old_plane_state =@@ -633,12 +634,9 @@ intel_legacy_cursor_update(struct drm_plane *_plane,* PSR2 selective fetch also requires the slow path as * PSR2 plane and transcoder registers can only be updated during * vblank. -* -* FIXME bigjoiner fastpath would be good */ if (!crtc_state->hw.active ||intel_crtc_needs_modeset (crtc_state) || - crtc_state->update_pipe || crtc_state->bigjoiner || - crtc_state->enable_psr2_sel_fetch) + crtc_state->update_pipe || !HAS_FRONTBUFFER_RENDERING (i915)) goto slow;/* drivers/gpu/drm/i915/display/intel_fb.c +7
-1@@ -3,6 +3,7 @@* Copyright © 2021 Intel Corporation */ +#include <drm/drm_damage_helper.h> #include <drm/drm_framebuffer.h> #include <drm/drm_modeset_helper.h> @@ -1235,10 +1236,15 @@ static int intel_user_framebuffer_dirty(struct drm_framebuffer *fb, unsigned int num_clips) {struct drm_i915_gem_object *obj =intel_fb_obj (fb); +struct drm_i915_private *i915 =to_i915 (obj->base.dev);i915_gem_object_flush_if_display (obj); -intel_frontbuffer_flush (to_intel_frontbuffer (fb),ORIGIN_DIRTYFB ); +if (!HAS_FRONTBUFFER_RENDERING (i915)) +return drm_atomic_helper_dirtyfb (fb, file, flags, color, clips, + num_clips); + +intel_frontbuffer_flush (to_intel_frontbuffer (fb),ORIGIN_DIRTYFB );return 0 ; }drivers/gpu/drm/i915/display/intel_frontbuffer.c +18
-0@@ -112,6 +112,9 @@ static void frontbuffer_flush(struct drm_i915_private *i915,void intel_frontbuffer_flip_prepare (struct drm_i915_private *i915,unsigned frontbuffer_bits) { +if (!HAS_FRONTBUFFER_RENDERING (i915)) +return ; +spin_lock (&i915->fb_tracking.lock); i915->fb_tracking.flip_bits |= frontbuffer_bits;/* Remove stale busy bits due to the old buffer. */ @@ -132,6 +135,12 @@ void intel_frontbuffer_flip_prepare(struct drm_i915_private *i915,void intel_frontbuffer_flip_complete (struct drm_i915_private *i915,unsigned frontbuffer_bits) { +if (!HAS_FRONTBUFFER_RENDERING (i915)) { +drm_WARN_ON_ONCE (&i915->drm, i915->fb_tracking.flip_bits | + i915->fb_tracking.busy_bits); +return ; + } +spin_lock (&i915->fb_tracking.lock);/* Mask any cancelled flips. */ frontbuffer_bits &= i915->fb_tracking.flip_bits;@@ -156,6 +165,9 @@ void intel_frontbuffer_flip_complete(struct drm_i915_private *i915,void intel_frontbuffer_flip (struct drm_i915_private *i915,unsigned frontbuffer_bits) { +if (!HAS_FRONTBUFFER_RENDERING (i915)) +return ; +spin_lock (&i915->fb_tracking.lock);/* Remove stale busy bits due to the old buffer. */ i915->fb_tracking.busy_bits &= ~frontbuffer_bits;@@ -170,6 +182,9 @@ void __intel_fb_invalidate(struct intel_frontbuffer *front, {struct drm_i915_private *i915 =to_i915 (front->obj->base.dev); +if (!HAS_FRONTBUFFER_RENDERING (i915)) +return ; +if (origin ==ORIGIN_CS ) {spin_lock (&i915->fb_tracking.lock); i915->fb_tracking.busy_bits |= frontbuffer_bits;@@ -191,6 +206,9 @@ void __intel_fb_flush(struct intel_frontbuffer *front, {struct drm_i915_private *i915 =to_i915 (front->obj->base.dev); +if (!HAS_FRONTBUFFER_RENDERING (i915)) +return ; +if (origin ==ORIGIN_CS ) {spin_lock (&i915->fb_tracking.lock);/* Filter out new bits since rendering started. */ drivers/gpu/drm/i915/i915_drv.h +2
-0@@ -1699,6 +1699,8 @@ IS_SUBPLATFORM(const struct drm_i915_private *i915,#define HAS_ASYNC_FLIPS (i915) (DISPLAY_VER(i915) >= 5) +#define HAS_FRONTBUFFER_RENDERING (i915) (DISPLAY_VER(i915) < 9) +/* Only valid when HAS_DISPLAY() is true */ #define INTEL_DISPLAY_ENABLED (dev_priv) \ (drm_WARN_ON(&(dev_priv)->drm, !HAS_DISPLAY(dev_priv)), !(dev_priv)->params.disable_display)Signature · 1 line
2.33.0
Quoted 16 lines · Jose
Quoted 15 lines · Ville Syrjälä
Quoted 13 lines · José Roberto de Souza
By now all the userspace applications should have migrated to atomic or at least be calling
DRM_IOCTL_MODE_DIRTYFB.With that we can kill frontbuffer rendering support in i915 for modern platforms.
So here converting legacy APIs into atomic commits so it can be properly handled by driver i915.
Several IGT tests will fail with this changes, because some tests were stressing those frontbuffer rendering scenarios that no userspace should be using by now, fixes to IGT should be sent soon.
Quoted 7 lines
Quoted 4 lines
I just gave this a try here and it's unusable. glxgears went from 9000 to 120 fps (was expecting 60fps tbh, not sure why I get double), everything lags like mad, if I drag a window around glxgears/other windows stop updating entirely, etc. NAK
Can you share your setup? What GPU? Desktop environment? Mesa version? resolutions of sinks? Will try it in my end.
Doesn't really matter as long as you don't have a compositor making a mess of things. This machine is a cfl running mate w/ compositor off, and some 1920x1200 display.
Signature · 2 lines
Ville Syrjälä Intel
Quoted 22 lines · Ville Syrjälä
Quoted 21 lines · Jose
Quoted 19 lines · Ville Syrjälä
Quoted 6 lines · José Roberto de Souza
By now all the userspace applications should have migrated to atomic or at least be calling
DRM_IOCTL_MODE_DIRTYFB.With that we can kill frontbuffer rendering support in i915 for modern platforms.
Quoted 7 lines
So here converting legacy APIs into atomic commits so it can be properly handled by driver i915.
Several IGT tests will fail with this changes, because some tests were stressing those frontbuffer rendering scenarios that no userspace should be using by now, fixes to IGT should be sent soon.
I just gave this a try here and it's unusable. glxgears went from 9000 to 120 fps (was expecting 60fps tbh, not sure why I get double), everything lags like mad, if I drag a window around glxgears/other windows stop updating entirely, etc. NAK
Quoted 7 lines
Quoted 2 lines
Can you share your setup? What GPU? Desktop environment? Mesa version? resolutions of sinks? Will try it in my end.
Doesn't really matter as long as you don't have a compositor making a mess of things. This machine is a cfl running mate w/ compositor off, and some 1920x1200 display.
Making drm_atomic_helper_dirtyfb() do a non-blocking atomic commit makes user experience pretty similar to the one with compositing enabled:drm_atomic_commit() + compositor off: https://youtu.be/NBt6smXs99Udrm_atomic_nonblocking_commit() + compositor off: https://youtu.be/QiMhkeGX_L8drm_atomic_nonblocking_commit() + compositor on: https://youtu.be/KdpJyJ5k6sQ
I do not completly agree with the comment in drm_atomic_helper_dirtyfb() about why it uses a blocking implementation. With frontbuffer rendering the registers are programmed but the content could only show up for user a whole frame later.
Perhaps if this solutions is accetable we could have a non-blocking version of drm_atomic_helper_dirtyfb() so the drivers current using it don't have their behavior changed.
From 47c5b1f918363686cd8cf51239a298dd78f9fae6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jos=C3=A9=20Roberto=20de=20Souza?= <[email protected]>
Date: Mon, 13 Sep 2021 14:16:31 -0700
Subject: [PATCH] HACK: Make drm_atomic_helper_dirtyfb() non-blocking
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Hack just to show up that making non-blocking atomic commits helps to compensate the performance regressions when converting frotbuffer dirty calls to drm_atomic_helper_dirtyfb() in desktop enviroments without compositing.
I know that this goes against the documentation in drm_atomic_helper_dirtyfb().
--- drivers/gpu/drm/drm_damage_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/drm_damage_helper.c +1 -1
@@ -177,7 +177,7 @@ int drm_atomic_helper_dirtyfb(struct drm_framebuffer *fb, damage); } - ret =drm_atomic_commit (state); + ret =drm_atomic_nonblocking_commit (state); out:if (ret == -EDEADLK ) {
Signature · 1 line
2.33.0
Quoted 37 lines · Jose
Quoted 22 lines · Ville Syrjälä
Quoted 21 lines · Jose
Quoted 19 lines · Ville Syrjälä
Quoted 6 lines · José Roberto de Souza
By now all the userspace applications should have migrated to atomic or at least be calling
DRM_IOCTL_MODE_DIRTYFB.With that we can kill frontbuffer rendering support in i915 for modern platforms.
Quoted 7 lines
So here converting legacy APIs into atomic commits so it can be properly handled by driver i915.
Several IGT tests will fail with this changes, because some tests were stressing those frontbuffer rendering scenarios that no userspace should be using by now, fixes to IGT should be sent soon.
I just gave this a try here and it's unusable. glxgears went from 9000 to 120 fps (was expecting 60fps tbh, not sure why I get double), everything lags like mad, if I drag a window around glxgears/other windows stop updating entirely, etc. NAK
Quoted 7 lines
Quoted 2 lines
Can you share your setup? What GPU? Desktop environment? Mesa version? resolutions of sinks? Will try it in my end.
Doesn't really matter as long as you don't have a compositor making a mess of things. This machine is a cfl running mate w/ compositor off, and some 1920x1200 display.
Making
drm_atomic_helper_dirtyfb()do a non-blocking atomic commit makes user experience pretty similar to the one with compositing enabled:drm_atomic_commit()+ compositor off: https://youtu.be/NBt6smXs99Udrm_atomic_nonblocking_commit()+ compositor off: https://youtu.be/QiMhkeGX_L8drm_atomic_nonblocking_commit()+ compositor on: https://youtu.be/KdpJyJ5k6sQ
Quoted 5 lines
I do not completly agree with the comment in
drm_atomic_helper_dirtyfb()about why it uses a blocking implementation. With frontbuffer rendering the registers are programmed but the content could only show up for user a whole frame later.Perhaps if this solutions is accetable we could have a non-blocking version of
drm_atomic_helper_dirtyfb()so the drivers current using it don't have their behavior changed.
Non-blocking update would make sense to me, whereas a blocking update makes no sense given how this is used by actual userspace.
But this still changes the whole approach to eg. FBC nukes, so it's going to require some actual thought and testing to make sure it actually works as intended. I think by just essentially page flipping to the same buffer we're going to depend on semi-undefined behaviour for FBC. So I'm a bit worried that this is going to introduce new bugs. I have verified on ancient platforms that FBC does in fact flip nuke when flipping to the same buffer (and now we even (ab)use that fact in the frontbuffer tracking code), but I've not done that for any new platforms.
The other concern is that introducing additional atomic commits this might trip up the page flip->-EBUSY stuff. Whether that is going to cause any real grief to userspace is unknown at this time. I guess we'd have to come up with a test that actually hits that and make sure the ddx doesn't get confused and instead just gracefully falls back to the blit path.
Signature · 2 lines
Ville Syrjälä Intel
Quoted 38 lines · Ville Syrjälä
Quoted 37 lines · Jose
Quoted 22 lines · Ville Syrjälä
Quoted 21 lines · Jose
Quoted 19 lines · Ville Syrjälä
Quoted 6 lines · José Roberto de Souza
By now all the userspace applications should have migrated to atomic or at least be calling
DRM_IOCTL_MODE_DIRTYFB.With that we can kill frontbuffer rendering support in i915 for modern platforms.
Quoted 7 lines
So here converting legacy APIs into atomic commits so it can be properly handled by driver i915.
Several IGT tests will fail with this changes, because some tests were stressing those frontbuffer rendering scenarios that no userspace should be using by now, fixes to IGT should be sent soon.
I just gave this a try here and it's unusable. glxgears went from 9000 to 120 fps (was expecting 60fps tbh, not sure why I get double), everything lags like mad, if I drag a window around glxgears/other windows stop updating entirely, etc. NAK
Quoted 7 lines
Quoted 2 lines
Can you share your setup? What GPU? Desktop environment? Mesa version? resolutions of sinks? Will try it in my end.
Doesn't really matter as long as you don't have a compositor making a mess of things. This machine is a cfl running mate w/ compositor off, and some 1920x1200 display.
Making
drm_atomic_helper_dirtyfb()do a non-blocking atomic commit makes user experience pretty similar to the one with compositing enabled:drm_atomic_commit()+ compositor off: https://youtu.be/NBt6smXs99Udrm_atomic_nonblocking_commit()+ compositor off: https://youtu.be/QiMhkeGX_L8drm_atomic_nonblocking_commit()+ compositor on: https://youtu.be/KdpJyJ5k6sQ
Quoted 8 lines
Quoted 5 lines
I do not completly agree with the comment in
drm_atomic_helper_dirtyfb()about why it uses a blocking implementation. With frontbuffer rendering the registers are programmed but the content could only show up for user a whole frame later.Perhaps if this solutions is accetable we could have a non-blocking version of
drm_atomic_helper_dirtyfb()so the drivers current using it don't have their behavior changed.Non-blocking update would make sense to me, whereas a blocking update makes no sense given how this is used by actual userspace.
Actually neither maybe makes total sense since userspace probably isn't expecting -EBUSY from dirtyfb. So we might end up with stale junk on the screen if no further updates come in after an -EBUSY.
The current frontbuffer stuff works much more like a mailbox style update so we don't lose stuff and neither do we block.
Signature · 2 lines
Ville Syrjälä Intel
Quoted 45 lines · Ville Syrjälä
Quoted 44 lines · Ville Syrjälä
Quoted 42 lines · Jose
Quoted 22 lines · Ville Syrjälä
Quoted 21 lines · Jose
Quoted 19 lines · Ville Syrjälä
Quoted 6 lines · José Roberto de Souza
By now all the userspace applications should have migrated to atomic or at least be calling
DRM_IOCTL_MODE_DIRTYFB.With that we can kill frontbuffer rendering support in i915 for modern platforms.
Quoted 7 lines
So here converting legacy APIs into atomic commits so it can be properly handled by driver i915.
Several IGT tests will fail with this changes, because some tests were stressing those frontbuffer rendering scenarios that no userspace should be using by now, fixes to IGT should be sent soon.
I just gave this a try here and it's unusable. glxgears went from 9000 to 120 fps (was expecting 60fps tbh, not sure why I get double), everything lags like mad, if I drag a window around glxgears/other windows stop updating entirely, etc. NAK
Quoted 7 lines
Quoted 2 lines
Can you share your setup? What GPU? Desktop environment? Mesa version? resolutions of sinks? Will try it in my end.
Doesn't really matter as long as you don't have a compositor making a mess of things. This machine is a cfl running mate w/ compositor off, and some 1920x1200 display.
Making
drm_atomic_helper_dirtyfb()do a non-blocking atomic commit makes user experience pretty similar to the one with compositing enabled:drm_atomic_commit()+ compositor off: https://youtu.be/NBt6smXs99Udrm_atomic_nonblocking_commit()+ compositor off: https://youtu.be/QiMhkeGX_L8drm_atomic_nonblocking_commit()+ compositor on: https://youtu.be/KdpJyJ5k6sQI do not completly agree with the comment in
drm_atomic_helper_dirtyfb()about why it uses a blocking implementation. With frontbuffer rendering the registers are programmed but the content could only show up for user a whole frame later.Perhaps if this solutions is accetable we could have a non-blocking version of
drm_atomic_helper_dirtyfb()so the drivers current using it don't have their behavior changed.
Quoted 6 lines
Quoted 2 lines
Non-blocking update would make sense to me, whereas a blocking update makes no sense given how this is used by actual userspace.
Actually neither maybe makes total sense since userspace probably isn't expecting
-EBUSYfrom dirtyfb. So we might end up with stale junk on the screen if no further updates come in after an-EBUSY.
One option would be to teach userspace to retry after an -EBUSY, but without a completion event from dirtyfb it's going to be hard to know when to retry.
Quoted 3 lines
The current frontbuffer stuff works much more like a mailbox style update so we don't lose stuff and neither do we block.
I suppose the obvious solution would be to teach kms to do proper mailbox updates. But that is not entirely trivial. One way to simplify the proposal a bit is to limit it to pure pageflips, which would suffice for dirtyfb as well obviously. That way watermarks and other potentially tricky stuff wouldn't change.
But actually figuring out the proper commit sequence for this might take some doing. The way I think it should work is that we just let each commit through without blocking on the previous one. A later commit may simply overwrite the hardware registers before the values written by the previous commit get latched. The vblank evasion stuff would make it perfectly safe.
The hardest thing there is probably figuring out how to handle all the pre/post_plane_update() stuff properly since we can't know ahead of time whether the flip gets latched or not, and so we can't really use the old state during state computation to make any decisions affecting our future behaviour. But given that async flips are more or less working today might mean that I'm worried about nothing. Either that or async flips are in fact broken in some funny ways I've not yet realized...
The other problem for actual mailbox page flips is completion events/out fences. The current out fence I think is not really suitable for cases where a flip ends up getting overwritten by a later one, and thus the fb rotation no longer follows the normal fifo order. But of we don't expose actual mailbox page flips through the uapi then we could avoid worrying about this stuff initially.
Signature · 2 lines
Ville Syrjälä Intel
Quoted 46 lines · Ville Syrjälä
Quoted 45 lines · Ville Syrjälä
Quoted 44 lines · Ville Syrjälä
Quoted 42 lines · Jose
Quoted 22 lines · Ville Syrjälä
Quoted 21 lines · Jose
Quoted 19 lines · Ville Syrjälä
Quoted 6 lines · José Roberto de Souza
By now all the userspace applications should have migrated to atomic or at least be calling
DRM_IOCTL_MODE_DIRTYFB.With that we can kill frontbuffer rendering support in i915 for modern platforms.
Quoted 7 lines
So here converting legacy APIs into atomic commits so it can be properly handled by driver i915.
Several IGT tests will fail with this changes, because some tests were stressing those frontbuffer rendering scenarios that no userspace should be using by now, fixes to IGT should be sent soon.
I just gave this a try here and it's unusable. glxgears went from 9000 to 120 fps (was expecting 60fps tbh, not sure why I get double), everything lags like mad, if I drag a window around glxgears/other windows stop updating entirely, etc. NAK
Quoted 7 lines
Quoted 2 lines
Can you share your setup? What GPU? Desktop environment? Mesa version? resolutions of sinks? Will try it in my end.
Doesn't really matter as long as you don't have a compositor making a mess of things. This machine is a cfl running mate w/ compositor off, and some 1920x1200 display.
Making
drm_atomic_helper_dirtyfb()do a non-blocking atomic commit makes user experience pretty similar to the one with compositing enabled:drm_atomic_commit()+ compositor off: https://youtu.be/NBt6smXs99Udrm_atomic_nonblocking_commit()+ compositor off: https://youtu.be/QiMhkeGX_L8drm_atomic_nonblocking_commit()+ compositor on: https://youtu.be/KdpJyJ5k6sQI do not completly agree with the comment in
drm_atomic_helper_dirtyfb()about why it uses a blocking implementation. With frontbuffer rendering the registers are programmed but the content could only show up for user a whole frame later.Perhaps if this solutions is accetable we could have a non-blocking version of
drm_atomic_helper_dirtyfb()so the drivers current using it don't have their behavior changed.
Quoted 6 lines
Quoted 6 lines
Quoted 2 lines
Non-blocking update would make sense to me, whereas a blocking update makes no sense given how this is used by actual userspace.
Actually neither maybe makes total sense since userspace probably isn't expecting
-EBUSYfrom dirtyfb. So we might end up with stale junk on the screen if no further updates come in after an-EBUSY.
1000 dirtyfb calls will only have a different dirty areas, when executing a dirtyfb atomic commit we could append all the pending dirty areas into this atomic commit and remove all the pending dirtyfb atomic commits.
I doubt that userspace will be able to fill WQ_MAX_ACTIVE dirtyfb calls in one single frame.
Quoted 38 lines
One option would be to teach userspace to retry after an
-EBUSY, but without a completion event from dirtyfb it's going to be hard to know when to retry.Quoted 3 lines
The current frontbuffer stuff works much more like a mailbox style update so we don't lose stuff and neither do we block.
I suppose the obvious solution would be to teach kms to do proper mailbox updates. But that is not entirely trivial. One way to simplify the proposal a bit is to limit it to pure pageflips, which would suffice for dirtyfb as well obviously. That way watermarks and other potentially tricky stuff wouldn't change.
But actually figuring out the proper commit sequence for this might take some doing. The way I think it should work is that we just let each commit through without blocking on the previous one. A later commit may simply overwrite the hardware registers before the values written by the previous commit get latched. The vblank evasion stuff would make it perfectly safe.
The hardest thing there is probably figuring out how to handle all the pre/post_plane_update() stuff properly since we can't know ahead of time whether the flip gets latched or not, and so we can't really use the old state during state computation to make any decisions affecting our future behaviour. But given that async flips are more or less working today might mean that I'm worried about nothing. Either that or async flips are in fact broken in some funny ways I've not yet realized...
The other problem for actual mailbox page flips is completion events/out fences. The current out fence I think is not really suitable for cases where a flip ends up getting overwritten by a later one, and thus the fb rotation no longer follows the normal fifo order. But of we don't expose actual mailbox page flips through the uapi then we could avoid worrying about this stuff initially.
Quoted 47 lines · Ville Syrjälä
Quoted 37 lines · Jose
Quoted 22 lines · Ville Syrjälä
Quoted 21 lines · Jose
Quoted 19 lines · Ville Syrjälä
Quoted 6 lines · José Roberto de Souza
By now all the userspace applications should have migrated to atomic or at least be calling
DRM_IOCTL_MODE_DIRTYFB.With that we can kill frontbuffer rendering support in i915 for modern platforms.
Quoted 7 lines
So here converting legacy APIs into atomic commits so it can be properly handled by driver i915.
Several IGT tests will fail with this changes, because some tests were stressing those frontbuffer rendering scenarios that no userspace should be using by now, fixes to IGT should be sent soon.
I just gave this a try here and it's unusable. glxgears went from 9000 to 120 fps (was expecting 60fps tbh, not sure why I get double), everything lags like mad, if I drag a window around glxgears/other windows stop updating entirely, etc. NAK
Quoted 7 lines
Quoted 2 lines
Can you share your setup? What GPU? Desktop environment? Mesa version? resolutions of sinks? Will try it in my end.
Doesn't really matter as long as you don't have a compositor making a mess of things. This machine is a cfl running mate w/ compositor off, and some 1920x1200 display.
Making
drm_atomic_helper_dirtyfb()do a non-blocking atomic commit makes user experience pretty similar to the one with compositing enabled:drm_atomic_commit()+ compositor off: https://youtu.be/NBt6smXs99Udrm_atomic_nonblocking_commit()+ compositor off: https://youtu.be/QiMhkeGX_L8drm_atomic_nonblocking_commit()+ compositor on: https://youtu.be/KdpJyJ5k6sQQuoted 5 lines
I do not completly agree with the comment in
drm_atomic_helper_dirtyfb()about why it uses a blocking implementation. With frontbuffer rendering the registers are programmed but the content could only show up for user a whole frame later.Perhaps if this solutions is accetable we could have a non-blocking version of
drm_atomic_helper_dirtyfb()so the drivers current using it don't have their behavior changed.Non-blocking update would make sense to me, whereas a blocking update makes no sense given how this is used by actual userspace.
Quoted 9 lines
But this still changes the whole approach to eg. FBC nukes, so it's going to require some actual thought and testing to make sure it actually works as intended. I think by just essentially page flipping to the same buffer we're going to depend on semi-undefined behaviour for FBC. So I'm a bit worried that this is going to introduce new bugs. I have verified on ancient platforms that FBC does in fact flip nuke when flipping to the same buffer (and now we even (ab)use that fact in the frontbuffer tracking code), but I've not done that for any new platforms.
I believe the current fbc tests in kms_frontbuffer_tracking already stress this.
For PSR2 hardware tracking in SKL and TGL I have validated(PSR2 is not covered by kms_frontbuffer_tracking due pipe CRC not work with it) this and flipping to the same buffer causes the hardware to properly update the screen.
Quoted 8 lines
The other concern is that introducing additional atomic commits this might trip up the page flip->-EBUSY stuff. Whether that is going to cause any real grief to userspace is unknown at this time. I guess we'd have to come up with a test that actually hits that and make sure the ddx doesn't get confused and instead just gracefully falls back to the blit path.
Patchwork
CI[Intel-gfx] ✗ Fi.CI.BAT: failure for series starting with [CI,1/2] drm/i915/display/skl+: Drop frontbuffer rendering support
In reply to José Roberto de Souza== Series Details ==
== Series Details ==
Series: series starting with [CI,1/2] drm/i915/display/skl+: Drop frontbuffer rendering support
URL : https://patchwork.freedesktop.org/series/94522/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_10565 -> Patchwork_21007
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_21007 absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_21007, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21007/index.html
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_21007:
### IGT changes ###
#### Possible regressions ####
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic:
- fi-skl-guc: [PASS][1] -> [FAIL][2] +3 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10565/fi-skl-guc/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21007/fi-skl-guc/igt@[email protected]
- fi-rkl-11600: [PASS][3] -> [FAIL][4] +3 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10565/fi-rkl-11600/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21007/fi-rkl-11600/igt@[email protected]
- fi-tgl-y: [PASS][5] -> [FAIL][6] +3 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10565/fi-tgl-y/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21007/fi-tgl-y/igt@[email protected]
- fi-cfl-guc: [PASS][7] -> [FAIL][8] +3 similar issues
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10565/fi-cfl-guc/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21007/fi-cfl-guc/igt@[email protected]
- fi-icl-y: [PASS][9] -> [FAIL][10] +3 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10565/fi-icl-y/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21007/fi-icl-y/igt@[email protected]
- fi-rkl-guc: [PASS][11] -> [FAIL][12] +3 similar issues
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10565/fi-rkl-guc/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21007/fi-rkl-guc/igt@[email protected]
- fi-skl-6700k2: [PASS][13] -> [FAIL][14] +3 similar issues
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10565/fi-skl-6700k2/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21007/fi-skl-6700k2/igt@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy:
- fi-icl-u2: [PASS][15] -> [FAIL][16] +3 similar issues
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10565/fi-icl-u2/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21007/fi-icl-u2/igt@[email protected]
- fi-cfl-8700k: [PASS][17] -> [FAIL][18] +3 similar issues
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10565/fi-cfl-8700k/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21007/fi-cfl-8700k/igt@[email protected]
- fi-cfl-8109u: [PASS][19] -> [FAIL][20] +3 similar issues
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10565/fi-cfl-8109u/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21007/fi-cfl-8109u/igt@[email protected]
- fi-glk-dsi: [PASS][21] -> [FAIL][22] +3 similar issues
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10565/fi-glk-dsi/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21007/fi-glk-dsi/igt@[email protected]
- fi-kbl-soraka: [PASS][23] -> [FAIL][24] +3 similar issues
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10565/fi-kbl-soraka/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21007/fi-kbl-soraka/igt@[email protected]
- fi-kbl-r: [PASS][25] -> [FAIL][26] +3 similar issues
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10565/fi-kbl-r/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21007/fi-kbl-r/igt@[email protected]
* igt@kms_cursor_legacy@basic-flip-before-cursor-atomic:
- fi-bxt-dsi: [PASS][27] -> [FAIL][28] +3 similar issues
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10565/fi-bxt-dsi/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21007/fi-bxt-dsi/igt@[email protected]
- fi-tgl-1115g4: [PASS][29] -> [FAIL][30] +3 similar issues
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10565/fi-tgl-1115g4/igt@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21007/fi-tgl-1115g4/igt@[email protected]
* igt@kms_cursor_legacy@basic-flip-before-cursor-legacy:
- fi-skl-6600u: [PASS][31] -> [FAIL][32] +3 similar issues
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10565/fi-skl-6600u/igt@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21007/fi-skl-6600u/igt@[email protected]
- fi-cml-u2: [PASS][33] -> [FAIL][34] +3 similar issues
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10565/fi-cml-u2/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21007/fi-cml-u2/igt@[email protected]
#### Suppressed ####
The following results come from untrusted machines, tests, or statuses. They do not affect the overall result.
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic:
- {fi-ehl-2}: [PASS][35] -> [FAIL][36] +3 similar issues
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10565/fi-ehl-2/igt@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21007/fi-ehl-2/igt@[email protected]
* igt@kms_cursor_legacy@basic-flip-before-cursor-atomic:
- {fi-tgl-dsi}: [PASS][37] -> [FAIL][38] +3 similar issues
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10565/fi-tgl-dsi/igt@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21007/fi-tgl-dsi/igt@[email protected]
* igt@kms_cursor_legacy@basic-flip-before-cursor-legacy:
- {fi-jsl-1}: [PASS][39] -> [FAIL][40] +3 similar issues
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10565/fi-jsl-1/igt@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21007/fi-jsl-1/igt@[email protected]
Known issues
------------
Here are the changes found in Patchwork_21007 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@amdgpu/amd_basic@semaphore:
- fi-bdw-5557u: NOTRUN -> [SKIP][41] ([fdo#109271]) +27 similar issues
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21007/fi-bdw-5557u/igt@amdgpu/[email protected]
* igt@core_hotunplug@unbind-rebind:
- fi-bdw-5557u: NOTRUN -> [WARN][42] ([i915#3718])
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21007/fi-bdw-5557u/igt@[email protected]
* igt@i915_pm_rpm@basic-pci-d3-state:
- fi-rkl-guc: [PASS][43] -> [SKIP][44] ([fdo#109308])
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10565/fi-rkl-guc/igt@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21007/fi-rkl-guc/igt@[email protected]
* igt@i915_selftest@live@gt_mocs:
- fi-tgl-1115g4: [PASS][45] -> [DMESG-WARN][46] ([i915#2867]) +14 similar issues
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10565/fi-tgl-1115g4/igt@i915_selftest@live@gt_mocs.html
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21007/fi-tgl-1115g4/igt@i915_selftest@live@gt_mocs.html
* igt@i915_selftest@live@hangcheck:
- fi-snb-2600: [PASS][47] -> [INCOMPLETE][48] ([i915#3921])
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10565/fi-snb-2600/igt@i915_selftest@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21007/fi-snb-2600/igt@i915_selftest@[email protected]
* igt@kms_chamelium@dp-crc-fast:
- fi-bdw-5557u: NOTRUN -> [SKIP][49] ([fdo#109271] / [fdo#111827]) +8 similar issues
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21007/fi-bdw-5557u/igt@[email protected]
#### Possible fixes ####
* igt@i915_selftest@live@gt_pm:
- {fi-jsl-1}: [DMESG-FAIL][50] ([i915#1886]) -> [PASS][51]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_10565/fi-jsl-1/igt@i915_selftest@live@gt_pm.html
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21007/fi-jsl-1/igt@i915_selftest@live@gt_pm.html
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109308]: https://bugs.freedesktop.org/show_bug.cgi?id=109308
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#1886]: https://gitlab.freedesktop.org/drm/intel/issues/1886
[i915#2867]: https://gitlab.freedesktop.org/drm/intel/issues/2867
[i915#3303]: https://gitlab.freedesktop.org/drm/intel/issues/3303
[i915#3718]: https://gitlab.freedesktop.org/drm/intel/issues/3718
[i915#3921]: https://gitlab.freedesktop.org/drm/intel/issues/3921
Participating hosts (47 -> 39)
------------------------------
Missing (8): fi-ilk-m540 bat-adls-5 bat-dg1-6 fi-bsw-cyan bat-adlp-4 fi-ctg-p8600 fi-bdw-samus bat-jsl-1
Build changes
-------------
* Linux: CI_DRM_10565 -> Patchwork_21007
CI-20190529: 20190529
CI_DRM_10565: 8c3cd60dcfa81a649b14f0705eb5e5c9336f1881 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_6201: be0d02ff0775235ead63ccb1e3a1e8c10f0209cf @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_21007: d1a6a5a3ecab2736feb7528f8ba7b32089c5a418 @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
d1a6a5a3ecab drm/i915/display: Drop PSR frontbuffer rendering support 8ed17fa41e37 drm/i915/display/skl+: Drop frontbuffer rendering support
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_21007/index.html
Patchwork
CI[Intel-gfx] ✗ Fi.CI.BUILD: failure for series starting with [CI,1/2] drm/i915/display/skl+: Drop frontbuffer rendering support (rev2)
In reply to José Roberto de Souza== Series Details ==
== Series Details ==
Series: series starting with [CI,1/2] drm/i915/display/skl+: Drop frontbuffer rendering support (rev2)
URL : https://patchwork.freedesktop.org/series/94522/
State : failure
== Summary ==
Patch is empty.
When you have resolved this problem, run "git am --continue". If you prefer to skip this patch, run "git am --skip" instead. To restore the original branch and stop patching, run "git am --abort".