drm/i915: Remainder of dbuf state stuff
Subsystems (3)
cover drm/i915: Remainder of dbuf state stuff
From: Ville Syrjälä <[email protected]>
The remainder of my original dbuf state series. We merged most of it in but would be good to get rid of the remaining warts as some of those have been causing grief to actual users.
Ville Syrjälä (8):
drm/i915: Extract intel_crtc_ddb_weight() drm/i915: Pass the crtc to skl_compute_dbuf_slices() drm/i915: Introduce intel_dbuf_slice_size() drm/i915: Introduce skl_ddb_entry_for_slices() drm/i915: Move pipe ddb entries into the dbuf state drm/i915: Extract intel_crtc_dbuf_weights() drm/i915: Encapsulate dbuf state handling harder drm/i915: Do a bit more initial readout for dbuf
drivers/gpu/drm/i915/display/intel_display.c | 40 +- .../drm/i915/display/intel_display_debugfs.c | 1 - .../drm/i915/display/intel_display_types.h | 1 - drivers/gpu/drm/i915/i915_drv.h | 9 - drivers/gpu/drm/i915/intel_pm.c | 539 ++++++++---------- drivers/gpu/drm/i915/intel_pm.h | 7 +- 6 files changed, 269 insertions(+), 328 deletions(-)
Signature · 6 lines
2.26.2 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 1/8 drm/i915: Extract intel_crtc_ddb_weight()
From: Ville Syrjälä <[email protected]>
skl_ddb_get_pipe_allocation_limits() doesn't care how the weights for distributing the ddb are caclculated for each pipe. Put that calculation into a separate function so that such mundane details are hidden from view.
--- drivers/gpu/drm/i915/intel_pm.c | 46 ++++++++++++++++++++------------- 1 file changed, 28 insertions(+), 18 deletions(-)
drivers/gpu/drm/i915/intel_pm.c +28 -18
@@ -4084,6 +4084,25 @@ u32 skl_ddb_dbuf_slice_mask(struct drm_i915_private *dev_priv,return slice_mask; } +static unsigned int intel_crtc_ddb_weight (const struct intel_crtc_state *crtc_state) +{ +const struct drm_display_mode *adjusted_mode = + &crtc_state->hw.adjusted_mode; +int hdisplay, vdisplay; + +if (!crtc_state->hw.active) +return 0 ; + +/* +* Watermark/ddb requirement highly depends upon width of the +* framebuffer, So instead of allocating DDB equally among pipes +* distribute DDB based on resolution/width of the display. +*/ +drm_mode_get_hv_timing (adjusted_mode, &hdisplay, &vdisplay); + +return hdisplay; +} +static u8 skl_compute_dbuf_slices (const struct intel_crtc_state *crtc_state,u8 active_pipes);
@@ -4098,7 +4117,7 @@ skl_ddb_get_pipe_allocation_limits(struct drm_i915_private *dev_priv,struct intel_atomic_state *intel_state =to_intel_atomic_state (state);struct drm_crtc *for_crtc = crtc_state->uapi.crtc;const struct intel_crtc *crtc; -u32 pipe_width =0 , total_width_in_range =0 , width_before_pipe_in_range =0 ; +unsigned int pipe_weight =0 , total_weight =0 , weight_before_pipe =0 ;enum pipe for_pipe =to_intel_crtc (for_crtc)->pipe;struct intel_dbuf_state *new_dbuf_state =intel_atomic_get_new_dbuf_state (intel_state);
@@ -4167,18 +4186,11 @@ skl_ddb_get_pipe_allocation_limits(struct drm_i915_private *dev_priv,*/ ddb_range_size =hweight8 (dbuf_slice_mask) * slice_size; -/* -* Watermark/ddb requirement highly depends upon width of the -* framebuffer, So instead of allocating DDB equally among pipes -* distribute DDB based on resolution/width of the display. -*/ total_slice_mask = dbuf_slice_mask;for_each_new_intel_crtc_in_state (intel_state, crtc, crtc_state, i) { -const struct drm_display_mode *adjusted_mode = - &crtc_state->hw.adjusted_mode;enum pipe pipe = crtc->pipe; -int hdisplay, vdisplay; -u32 pipe_dbuf_slice_mask; +unsigned int weight; +u8 pipe_dbuf_slice_mask;if (!crtc_state->hw.active)continue ;
@@ -4205,14 +4217,13 @@ skl_ddb_get_pipe_allocation_limits(struct drm_i915_private *dev_priv,if (dbuf_slice_mask != pipe_dbuf_slice_mask)continue ; -drm_mode_get_hv_timing (adjusted_mode, &hdisplay, &vdisplay); - - total_width_in_range += hdisplay; + weight =intel_crtc_ddb_weight (crtc_state); + total_weight += weight;if (pipe < for_pipe) - width_before_pipe_in_range += hdisplay; + weight_before_pipe += weight;else if (pipe == for_pipe) - pipe_width = hdisplay; + pipe_weight = weight; }/*
@@ -4227,9 +4238,8 @@ skl_ddb_get_pipe_allocation_limits(struct drm_i915_private *dev_priv,return ret; } - start = ddb_range_size * width_before_pipe_in_range / total_width_in_range; - end = ddb_range_size * - (width_before_pipe_in_range + pipe_width) / total_width_in_range; + start = ddb_range_size * weight_before_pipe / total_weight; + end = ddb_range_size * (weight_before_pipe + pipe_weight) / total_weight; alloc->start = offset + start; alloc->end = offset + end;
Signature · 6 lines
2.26.2 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [Intel-gfx] [PATCH 1/8] drm/i915: Extract intel_crtc_ddb_weight()
Quoted 9 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
skl_ddb_get_pipe_allocation_limits()doesn't care how the weights for distributing the ddb are caclculated for each pipe. Put that calculation into a separate function so that such mundane details are hidden from view.Cc Stanislav Lisovskiy <[email protected]>Signed-off-by Ville Syrjälä <[email protected]>
Quoted 98 lines
--- drivers/gpu/drm/i915/intel_pm.c | 46 ++++++++++++++++++++------------- 1 file changed, 28 insertions(+), 18 deletions(-)drivers/gpu/drm/i915/intel_pm.c +28
-18@@ -4084,6 +4084,25 @@ u32 skl_ddb_dbuf_slice_mask(struct drm_i915_private *dev_priv,return slice_mask; } +static unsigned int intel_crtc_ddb_weight (const struct intel_crtc_state *crtc_state) +{ +const struct drm_display_mode *adjusted_mode = + &crtc_state->hw.adjusted_mode; +int hdisplay, vdisplay; + +if (!crtc_state->hw.active) +return 0 ; + +/* +* Watermark/ddb requirement highly depends upon width of the +* framebuffer, So instead of allocating DDB equally among pipes +* distribute DDB based on resolution/width of the display. +*/ +drm_mode_get_hv_timing (adjusted_mode, &hdisplay, &vdisplay); + +return hdisplay; +} +static u8 skl_compute_dbuf_slices (const struct intel_crtc_state *crtc_state,u8 active_pipes);@@ -4098,7 +4117,7 @@ skl_ddb_get_pipe_allocation_limits(struct drm_i915_private *dev_priv,struct intel_atomic_state *intel_state =to_intel_atomic_state (state);struct drm_crtc *for_crtc = crtc_state->uapi.crtc;const struct intel_crtc *crtc; -u32 pipe_width =0 , total_width_in_range =0 , width_before_pipe_in_range =0 ; +unsigned int pipe_weight =0 , total_weight =0 , weight_before_pipe =0 ;enum pipe for_pipe =to_intel_crtc (for_crtc)->pipe;struct intel_dbuf_state *new_dbuf_state =intel_atomic_get_new_dbuf_state (intel_state);@@ -4167,18 +4186,11 @@ skl_ddb_get_pipe_allocation_limits(struct drm_i915_private *dev_priv,*/ ddb_range_size =hweight8 (dbuf_slice_mask) * slice_size; -/* -* Watermark/ddb requirement highly depends upon width of the -* framebuffer, So instead of allocating DDB equally among pipes -* distribute DDB based on resolution/width of the display. -*/ total_slice_mask = dbuf_slice_mask;for_each_new_intel_crtc_in_state (intel_state, crtc, crtc_state, i) { -const struct drm_display_mode *adjusted_mode = - &crtc_state->hw.adjusted_mode;enum pipe pipe = crtc->pipe; -int hdisplay, vdisplay; -u32 pipe_dbuf_slice_mask; +unsigned int weight; +u8 pipe_dbuf_slice_mask;if (!crtc_state->hw.active)continue ;@@ -4205,14 +4217,13 @@ skl_ddb_get_pipe_allocation_limits(struct drm_i915_private *dev_priv,if (dbuf_slice_mask != pipe_dbuf_slice_mask)continue ; -drm_mode_get_hv_timing (adjusted_mode, &hdisplay, &vdisplay); - - total_width_in_range += hdisplay; + weight =intel_crtc_ddb_weight (crtc_state); + total_weight += weight;if (pipe < for_pipe) - width_before_pipe_in_range += hdisplay; + weight_before_pipe += weight;else if (pipe == for_pipe) - pipe_width = hdisplay; + pipe_weight = weight; }/* @@ -4227,9 +4238,8 @@ skl_ddb_get_pipe_allocation_limits(struct drm_i915_private *dev_priv,return ret; } - start = ddb_range_size * width_before_pipe_in_range / total_width_in_range; - end = ddb_range_size * - (width_before_pipe_in_range + pipe_width) / total_width_in_range; + start = ddb_range_size * weight_before_pipe / total_weight; + end = ddb_range_size * (weight_before_pipe + pipe_weight) / total_weight; alloc->start = offset + start; alloc->end = offset + end;Signature · 1 line
2.26.2
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 2/8 drm/i915: Pass the crtc to skl_compute_dbuf_slices()
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
skl_compute_dbuf_slices() has no use for the crtc state, so just pass the crtc itself.
--- drivers/gpu/drm/i915/intel_pm.c | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-)
drivers/gpu/drm/i915/intel_pm.c +10 -12
@@ -4103,7 +4103,7 @@ static unsigned int intel_crtc_ddb_weight(const struct intel_crtc_state *crtc_streturn hdisplay; } -static u8 skl_compute_dbuf_slices (const struct intel_crtc_state *crtc_state, +static u8 skl_compute_dbuf_slices (struct intel_crtc *crtc,u8 active_pipes); static int
@@ -4115,10 +4115,10 @@ skl_ddb_get_pipe_allocation_limits(struct drm_i915_private *dev_priv, {struct drm_atomic_state *state = crtc_state->uapi.state;struct intel_atomic_state *intel_state =to_intel_atomic_state (state); -struct drm_crtc *for_crtc = crtc_state->uapi.crtc; -const struct intel_crtc *crtc; +struct intel_crtc *for_crtc =to_intel_crtc (crtc_state->uapi.crtc); +struct intel_crtc *crtc;unsigned int pipe_weight =0 , total_weight =0 , weight_before_pipe =0 ; -enum pipe for_pipe =to_intel_crtc (for_crtc)->pipe; +enum pipe for_pipe = for_crtc->pipe;struct intel_dbuf_state *new_dbuf_state =intel_atomic_get_new_dbuf_state (intel_state); const struct intel_dbuf_state *old_dbuf_state =
@@ -4162,14 +4162,14 @@ skl_ddb_get_pipe_allocation_limits(struct drm_i915_private *dev_priv,* * FIXME get rid of this mess */ - *alloc =to_intel_crtc_state (for_crtc->state)->wm.skl.ddb; + *alloc =to_intel_crtc_state (for_crtc->base.state)->wm.skl.ddb;return 0 ; }/* * Get allowed DBuf slices for correspondent pipe and platform. */ - dbuf_slice_mask =skl_compute_dbuf_slices (crtc_state, active_pipes); + dbuf_slice_mask =skl_compute_dbuf_slices (for_crtc, active_pipes);/* * Figure out at which DBuf slice we start, i.e if we start at Dbuf S2
@@ -4195,8 +4195,8 @@ skl_ddb_get_pipe_allocation_limits(struct drm_i915_private *dev_priv,if (!crtc_state->hw.active)continue ; - pipe_dbuf_slice_mask =skl_compute_dbuf_slices (crtc_state, - active_pipes); + pipe_dbuf_slice_mask = +skl_compute_dbuf_slices (crtc, active_pipes);/* * According to BSpec pipe can share one dbuf slice with another
@@ -4246,7 +4246,7 @@ skl_ddb_get_pipe_allocation_limits(struct drm_i915_private *dev_priv,drm_dbg_kms (&dev_priv->drm,"[CRTC:%d:%s] dbuf slices 0x%x, ddb (%d - %d), active pipes 0x%x\n" , - for_crtc->base.id, for_crtc->name, + for_crtc->base.base.id, for_crtc->base.name, dbuf_slice_mask, alloc->start, alloc->end, active_pipes);return 0 ;
@@ -4649,10 +4649,8 @@ static u8 tgl_compute_dbuf_slices(enum pipe pipe, u8 active_pipes)return compute_dbuf_slices (pipe, active_pipes, tgl_allowed_dbufs); } -static u8 skl_compute_dbuf_slices (const struct intel_crtc_state *crtc_state, -u8 active_pipes) +static u8 skl_compute_dbuf_slices (struct intel_crtc *crtc,u8 active_pipes) { -struct intel_crtc *crtc =to_intel_crtc (crtc_state->uapi.crtc);struct drm_i915_private *dev_priv =to_i915 (crtc->base.dev);enum pipe pipe = crtc->pipe;
Signature · 6 lines
2.26.2 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 3/8 drm/i915: Introduce intel_dbuf_slice_size()
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
Put the code into a function with a descriptive name. Also relocate the code a bit help future work.
--- drivers/gpu/drm/i915/intel_pm.c | 36 +++++++++++++++++++-------------- drivers/gpu/drm/i915/intel_pm.h | 1 - 2 files changed, 21 insertions(+), 16 deletions(-)
drivers/gpu/drm/i915/intel_pm.c +21 -15
@@ -4024,6 +4024,24 @@ static int intel_compute_sagv_mask(struct intel_atomic_state *state)return 0 ; } +static int intel_dbuf_size (struct drm_i915_private *dev_priv) +{ +int ddb_size =INTEL_INFO (dev_priv)->ddb_size; + +drm_WARN_ON (&dev_priv->drm, ddb_size ==0 ); + +if (INTEL_GEN (dev_priv) <11 ) +return ddb_size -4 ;/* 4 blocks for bypass path allocation */ + +return ddb_size; +} + +static int intel_dbuf_slice_size (struct drm_i915_private *dev_priv) +{ +return intel_dbuf_size (dev_priv) / +INTEL_INFO (dev_priv)->num_supported_dbuf_slices; +} +/* * Calculate initial DBuf slice offset, based on slice size * and mask(i.e if slice size is 1024 and second slice is enabled
@@ -4045,22 +4063,11 @@ icl_get_first_dbuf_slice_offset(u32 dbuf_slice_mask,return offset; } -u16 intel_get_ddb_size (struct drm_i915_private *dev_priv) -{ -u16 ddb_size =INTEL_INFO (dev_priv)->ddb_size; -drm_WARN_ON (&dev_priv->drm, ddb_size ==0 ); - -if (INTEL_GEN (dev_priv) <11 ) -return ddb_size -4 ;/* 4 blocks for bypass path allocation */ - -return ddb_size; -} -u32 skl_ddb_dbuf_slice_mask (struct drm_i915_private *dev_priv,const struct skl_ddb_entry *entry) {u32 slice_mask =0 ; -u16 ddb_size =intel_get_ddb_size (dev_priv); +u16 ddb_size =intel_dbuf_size (dev_priv);u16 num_supported_slices =INTEL_INFO (dev_priv)->num_supported_dbuf_slices;u16 slice_size = ddb_size / num_supported_slices;u16 start_slice;
@@ -4142,9 +4149,8 @@ skl_ddb_get_pipe_allocation_limits(struct drm_i915_private *dev_priv,return 0 ; } - ddb_size =intel_get_ddb_size (dev_priv); - - slice_size = ddb_size /INTEL_INFO (dev_priv)->num_supported_dbuf_slices; + ddb_size =intel_dbuf_size (dev_priv); + slice_size =intel_dbuf_slice_size (dev_priv);/* * If the state doesn't change the active CRTC's or there is no
drivers/gpu/drm/i915/intel_pm.h +0 -1
@@ -40,7 +40,6 @@ void skl_pipe_ddb_get_hw_state(struct intel_crtc *crtc,struct skl_ddb_entry *ddb_y, struct skl_ddb_entry *ddb_uv);void skl_ddb_get_hw_state (struct drm_i915_private *dev_priv); -u16 intel_get_ddb_size (struct drm_i915_private *dev_priv);u32 skl_ddb_dbuf_slice_mask (struct drm_i915_private *dev_priv,const struct skl_ddb_entry *entry); void skl_pipe_wm_get_hw_state(struct intel_crtc *crtc,
Signature · 6 lines
2.26.2 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [Intel-gfx] [PATCH 3/8] drm/i915: Introduce intel_dbuf_slice_size()
Quoted 7 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
Put the code into a function with a descriptive name. Also relocate the code a bit help future work.
Cc Stanislav Lisovskiy <[email protected]>Signed-off-by Ville Syrjälä <[email protected]>
Quoted 85 lines
--- drivers/gpu/drm/i915/intel_pm.c | 36 +++++++++++++++++++-------------- drivers/gpu/drm/i915/intel_pm.h | 1 - 2 files changed, 21 insertions(+), 16 deletions(-)drivers/gpu/drm/i915/intel_pm.c +21
-15@@ -4024,6 +4024,24 @@ static int intel_compute_sagv_mask(struct intel_atomic_state *state)return 0 ; } +static int intel_dbuf_size (struct drm_i915_private *dev_priv) +{ +int ddb_size =INTEL_INFO (dev_priv)->ddb_size; + +drm_WARN_ON (&dev_priv->drm, ddb_size ==0 ); + +if (INTEL_GEN (dev_priv) <11 ) +return ddb_size -4 ;/* 4 blocks for bypass path allocation */ + +return ddb_size; +} + +static int intel_dbuf_slice_size (struct drm_i915_private *dev_priv) +{ +return intel_dbuf_size (dev_priv) / +INTEL_INFO (dev_priv)->num_supported_dbuf_slices; +} +/* * Calculate initial DBuf slice offset, based on slice size * and mask(i.e if slice size is 1024 and second slice is enabled @@ -4045,22 +4063,11 @@ icl_get_first_dbuf_slice_offset(u32 dbuf_slice_mask,return offset; } -u16 intel_get_ddb_size (struct drm_i915_private *dev_priv) -{ -u16 ddb_size =INTEL_INFO (dev_priv)->ddb_size; -drm_WARN_ON (&dev_priv->drm, ddb_size ==0 ); - -if (INTEL_GEN (dev_priv) <11 ) -return ddb_size -4 ;/* 4 blocks for bypass path allocation */ - -return ddb_size; -} -u32 skl_ddb_dbuf_slice_mask (struct drm_i915_private *dev_priv,const struct skl_ddb_entry *entry) {u32 slice_mask =0 ; -u16 ddb_size =intel_get_ddb_size (dev_priv); +u16 ddb_size =intel_dbuf_size (dev_priv);u16 num_supported_slices =INTEL_INFO (dev_priv)->num_supported_dbuf_slices;u16 slice_size = ddb_size / num_supported_slices;u16 start_slice;@@ -4142,9 +4149,8 @@ skl_ddb_get_pipe_allocation_limits(struct drm_i915_private *dev_priv,return 0 ; } - ddb_size =intel_get_ddb_size (dev_priv); - - slice_size = ddb_size /INTEL_INFO (dev_priv)->num_supported_dbuf_slices; + ddb_size =intel_dbuf_size (dev_priv); + slice_size =intel_dbuf_slice_size (dev_priv);/* * If the state doesn't change the active CRTC's or there is no drivers/gpu/drm/i915/intel_pm.h +0
-1@@ -40,7 +40,6 @@ void skl_pipe_ddb_get_hw_state(struct intel_crtc *crtc,struct skl_ddb_entry *ddb_y, struct skl_ddb_entry *ddb_uv);void skl_ddb_get_hw_state (struct drm_i915_private *dev_priv); -u16 intel_get_ddb_size (struct drm_i915_private *dev_priv);u32 skl_ddb_dbuf_slice_mask (struct drm_i915_private *dev_priv,const struct skl_ddb_entry *entry); void skl_pipe_wm_get_hw_state(struct intel_crtc *crtc,Signature · 1 line
2.26.2
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 4/8 drm/i915: Introduce skl_ddb_entry_for_slices()
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
Generalize icl_get_first_dbuf_slice_offset() into something that just gives us the start+end of the dbuf chunk covered by the specified slices as a standard ddb entry. Initial idea was to use it during readout as well, but we shall see.
--- drivers/gpu/drm/i915/intel_pm.c | 55 +++++++++++---------------------- 1 file changed, 18 insertions(+), 37 deletions(-)
drivers/gpu/drm/i915/intel_pm.c +18 -37
@@ -4042,25 +4042,23 @@ static int intel_dbuf_slice_size(struct drm_i915_private *dev_priv)INTEL_INFO (dev_priv)->num_supported_dbuf_slices; } -/* -* Calculate initial DBuf slice offset, based on slice size -* and mask(i.e if slice size is 1024 and second slice is enabled -* offset would be 1024) -*/ -static unsigned int -icl_get_first_dbuf_slice_offset (u32 dbuf_slice_mask, -u32 slice_size, -u32 ddb_size) +static void +skl_ddb_entry_for_slices (struct drm_i915_private *dev_priv,u8 slice_mask, +struct skl_ddb_entry *ddb) { -unsigned int offset =0 ; +int slice_size =intel_dbuf_slice_size (dev_priv); -if (!dbuf_slice_mask) -return 0 ; +if (!slice_mask) { + ddb->start =0 ; + ddb->end =0 ; +return ; + } - offset = (ffs (dbuf_slice_mask) -1 ) * slice_size; + ddb->start = (ffs (slice_mask) -1 ) * slice_size; + ddb->end =fls (slice_mask) * slice_size; -WARN_ON (offset >= ddb_size); -return offset; +WARN_ON (ddb->start >= ddb->end); +WARN_ON (ddb->end >intel_dbuf_size (dev_priv)); } u32 skl_ddb_dbuf_slice_mask(struct drm_i915_private *dev_priv,
@@ -4131,12 +4129,10 @@ skl_ddb_get_pipe_allocation_limits(struct drm_i915_private *dev_priv,const struct intel_dbuf_state *old_dbuf_state =intel_atomic_get_old_dbuf_state (intel_state);u8 active_pipes = new_dbuf_state->active_pipes; -u16 ddb_size; +struct skl_ddb_entry ddb_slices;u32 ddb_range_size;u32 i;u32 dbuf_slice_mask; -u32 offset; -u32 slice_size;u32 total_slice_mask;u32 start, end;int ret;
@@ -4149,9 +4145,6 @@ skl_ddb_get_pipe_allocation_limits(struct drm_i915_private *dev_priv,return 0 ; } - ddb_size =intel_dbuf_size (dev_priv); - slice_size =intel_dbuf_slice_size (dev_priv); -/* * If the state doesn't change the active CRTC's or there is no * modeset request, then there's no need to recalculate;
@@ -4177,20 +4170,8 @@ skl_ddb_get_pipe_allocation_limits(struct drm_i915_private *dev_priv,*/ dbuf_slice_mask =skl_compute_dbuf_slices (for_crtc, active_pipes); -/* -* Figure out at which DBuf slice we start, i.e if we start at Dbuf S2 -* and slice size is 1024, the offset would be 1024 -*/ - offset =icl_get_first_dbuf_slice_offset (dbuf_slice_mask, - slice_size, ddb_size); - -/* -* Figure out total size of allowed DBuf slices, which is basically -* a number of allowed slices for that pipe multiplied by slice size. -* Inside of this -* range ddb entries are still allocated in proportion to display width. -*/ - ddb_range_size =hweight8 (dbuf_slice_mask) * slice_size; +skl_ddb_entry_for_slices (dev_priv, dbuf_slice_mask, &ddb_slices); + ddb_range_size =skl_ddb_entry_size (&ddb_slices); total_slice_mask = dbuf_slice_mask;for_each_new_intel_crtc_in_state (intel_state, crtc, crtc_state, i) {
@@ -4247,8 +4228,8 @@ skl_ddb_get_pipe_allocation_limits(struct drm_i915_private *dev_priv, start = ddb_range_size * weight_before_pipe / total_weight; end = ddb_range_size * (weight_before_pipe + pipe_weight) / total_weight; - alloc->start = offset + start; - alloc->end = offset + end; + alloc->start = ddb_slices.start + start; + alloc->end = ddb_slices.start + end; drm_dbg_kms(&dev_priv->drm, "[CRTC:%d:%s] dbuf slices 0x%x, ddb (%d - %d), active pipes 0x%x\n",
Signature · 6 lines
2.26.2 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [Intel-gfx] [PATCH 4/8] drm/i915: Introduce skl_ddb_entry_for_slices()
Quoted 9 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
Generalize
icl_get_first_dbuf_slice_offset()into something that just gives us the start+end of the dbuf chunk covered by the specified slices as a standard ddb entry. Initial idea was to use it during readout as well, but we shall see.Cc Stanislav Lisovskiy <[email protected]>Signed-off-by Ville Syrjälä <[email protected]>
Quoted 108 lines
--- drivers/gpu/drm/i915/intel_pm.c | 55 +++++++++++---------------------- 1 file changed, 18 insertions(+), 37 deletions(-)drivers/gpu/drm/i915/intel_pm.c +18
-37@@ -4042,25 +4042,23 @@ static int intel_dbuf_slice_size(struct drm_i915_private *dev_priv)INTEL_INFO (dev_priv)->num_supported_dbuf_slices; } -/* -* Calculate initial DBuf slice offset, based on slice size -* and mask(i.e if slice size is 1024 and second slice is enabled -* offset would be 1024) -*/ -static unsigned int -icl_get_first_dbuf_slice_offset (u32 dbuf_slice_mask, -u32 slice_size, -u32 ddb_size) +static void +skl_ddb_entry_for_slices (struct drm_i915_private *dev_priv,u8 slice_mask, +struct skl_ddb_entry *ddb) { -unsigned int offset =0 ; +int slice_size =intel_dbuf_slice_size (dev_priv); -if (!dbuf_slice_mask) -return 0 ; +if (!slice_mask) { + ddb->start =0 ; + ddb->end =0 ; +return ; + } - offset = (ffs (dbuf_slice_mask) -1 ) * slice_size; + ddb->start = (ffs (slice_mask) -1 ) * slice_size; + ddb->end =fls (slice_mask) * slice_size; -WARN_ON (offset >= ddb_size); -return offset; +WARN_ON (ddb->start >= ddb->end); +WARN_ON (ddb->end >intel_dbuf_size (dev_priv)); } u32 skl_ddb_dbuf_slice_mask(struct drm_i915_private *dev_priv,@@ -4131,12 +4129,10 @@ skl_ddb_get_pipe_allocation_limits(struct drm_i915_private *dev_priv,const struct intel_dbuf_state *old_dbuf_state =intel_atomic_get_old_dbuf_state (intel_state);u8 active_pipes = new_dbuf_state->active_pipes; -u16 ddb_size; +struct skl_ddb_entry ddb_slices;u32 ddb_range_size;u32 i;u32 dbuf_slice_mask; -u32 offset; -u32 slice_size;u32 total_slice_mask;u32 start, end;int ret;@@ -4149,9 +4145,6 @@ skl_ddb_get_pipe_allocation_limits(struct drm_i915_private *dev_priv,return 0 ; } - ddb_size =intel_dbuf_size (dev_priv); - slice_size =intel_dbuf_slice_size (dev_priv); -/* * If the state doesn't change the active CRTC's or there is no * modeset request, then there's no need to recalculate; @@ -4177,20 +4170,8 @@ skl_ddb_get_pipe_allocation_limits(struct drm_i915_private *dev_priv,*/ dbuf_slice_mask =skl_compute_dbuf_slices (for_crtc, active_pipes); -/* -* Figure out at which DBuf slice we start, i.e if we start at Dbuf S2 -* and slice size is 1024, the offset would be 1024 -*/ - offset =icl_get_first_dbuf_slice_offset (dbuf_slice_mask, - slice_size, ddb_size); - -/* -* Figure out total size of allowed DBuf slices, which is basically -* a number of allowed slices for that pipe multiplied by slice size. -* Inside of this -* range ddb entries are still allocated in proportion to display width. -*/ - ddb_range_size =hweight8 (dbuf_slice_mask) * slice_size; +skl_ddb_entry_for_slices (dev_priv, dbuf_slice_mask, &ddb_slices); + ddb_range_size =skl_ddb_entry_size (&ddb_slices); total_slice_mask = dbuf_slice_mask;for_each_new_intel_crtc_in_state (intel_state, crtc, crtc_state, i) {@@ -4247,8 +4228,8 @@ skl_ddb_get_pipe_allocation_limits(struct drm_i915_private *dev_priv, start = ddb_range_size * weight_before_pipe / total_weight; end = ddb_range_size * (weight_before_pipe + pipe_weight) / total_weight; - alloc->start = offset + start; - alloc->end = offset + end; + alloc->start = ddb_slices.start + start; + alloc->end = ddb_slices.start + end; drm_dbg_kms(&dev_priv->drm, "[CRTC:%d:%s] dbuf slices 0x%x, ddb (%d - %d), active pipes 0x%x\n",Signature · 1 line
2.26.2
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 5/8 drm/i915: Move pipe ddb entries into the dbuf state
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
The dbuf state will be where we collect all the inter-pipe dbuf allocation stuff. Start by moving the actual per-pipe ddb entries there.
v2: Rebase
--- drivers/gpu/drm/i915/display/intel_display.c | 21 ++++++++++++------- .../drm/i915/display/intel_display_types.h | 1 - drivers/gpu/drm/i915/intel_pm.c | 16 ++++++-------- drivers/gpu/drm/i915/intel_pm.h | 4 ++++ 4 files changed, 23 insertions(+), 19 deletions(-)
drivers/gpu/drm/i915/display/intel_display.c +13 -8
@@ -15673,6 +15673,10 @@ static void intel_commit_modeset_enables(struct intel_atomic_state *state)static void skl_commit_modeset_enables (struct intel_atomic_state *state) {struct drm_i915_private *dev_priv =to_i915 (state->base.dev); +const struct intel_dbuf_state *old_dbuf_state = +intel_atomic_get_old_dbuf_state (state); +const struct intel_dbuf_state *new_dbuf_state = +intel_atomic_get_new_dbuf_state (state);struct intel_crtc *crtc;struct intel_crtc_state *old_crtc_state, *new_crtc_state;struct skl_ddb_entry entries[I915_MAX_PIPES ] = {};
@@ -15687,7 +15691,7 @@ static void skl_commit_modeset_enables(struct intel_atomic_state *state)/* ignore allocations for crtc's that have been turned off. */ if (!needs_modeset (new_crtc_state)) { - entries[pipe] = old_crtc_state->wm.skl.ddb; + entries[pipe] = old_dbuf_state->ddb[pipe]; update_pipes |=BIT (pipe); }else { modeset_pipes |=BIT (pipe);
@@ -15711,11 +15715,11 @@ static void skl_commit_modeset_enables(struct intel_atomic_state *state)if ((update_pipes &BIT (pipe)) ==0 )continue ; -if (skl_ddb_allocation_overlaps (&new_crtc_state->wm.skl.ddb, +if (skl_ddb_allocation_overlaps (&new_dbuf_state->ddb[pipe], entries,I915_MAX_PIPES , pipe))continue ; - entries[pipe] = new_crtc_state->wm.skl.ddb; + entries[pipe] = new_dbuf_state->ddb[pipe]; update_pipes &= ~BIT (pipe);intel_update_crtc (state, crtc);
@@ -15726,8 +15730,8 @@ static void skl_commit_modeset_enables(struct intel_atomic_state *state)* then we need to wait for a vblank to pass for the * new ddb allocation to take effect. */ -if (!skl_ddb_entry_equal (&new_crtc_state->wm.skl.ddb, - &old_crtc_state->wm.skl.ddb) && +if (!skl_ddb_entry_equal (&new_dbuf_state->ddb[pipe], + &old_dbuf_state->ddb[pipe]) && (update_pipes | modeset_pipes))intel_wait_for_vblank (dev_priv, pipe); }
@@ -15778,10 +15782,11 @@ static void skl_commit_modeset_enables(struct intel_atomic_state *state)if ((update_pipes &BIT (pipe)) ==0 )continue ; -drm_WARN_ON (&dev_priv->drm,skl_ddb_allocation_overlaps (&new_crtc_state->wm.skl.ddb, - entries,I915_MAX_PIPES , pipe)); +drm_WARN_ON (&dev_priv->drm, +skl_ddb_allocation_overlaps (&new_dbuf_state->ddb[pipe], + entries,I915_MAX_PIPES , pipe)); - entries[pipe] = new_crtc_state->wm.skl.ddb; + entries[pipe] = new_dbuf_state->ddb[pipe]; update_pipes &= ~BIT (pipe);intel_update_crtc (state, crtc);
drivers/gpu/drm/i915/display/intel_display_types.h +0 -1
@@ -757,7 +757,6 @@ struct intel_crtc_wm_state {struct {/* gen9+ only needs 1-step wm programming */ struct skl_pipe_wm optimal; -struct skl_ddb_entry ddb;struct skl_ddb_entry plane_ddb_y[I915_MAX_PLANES ];struct skl_ddb_entry plane_ddb_uv[I915_MAX_PLANES ]; } skl;
drivers/gpu/drm/i915/intel_pm.c +6 -10
@@ -4154,16 +4154,8 @@ skl_ddb_get_pipe_allocation_limits(struct drm_i915_private *dev_priv,* grab _all_ crtc locks, including the one we currently hold. */ if (old_dbuf_state->active_pipes == new_dbuf_state->active_pipes && - !dev_priv->wm.distrust_bios_wm) { -/* -* alloc may be cleared by clear_intel_crtc_state, -* copy from old state to be sure -* -* FIXME get rid of this mess -*/ - *alloc =to_intel_crtc_state (for_crtc->base.state)->wm.skl.ddb; + !dev_priv->wm.distrust_bios_wm)return 0 ; - }/* * Get allowed DBuf slices for correspondent pipe and platform.
@@ -4790,7 +4782,11 @@ skl_allocate_pipe_ddb(struct intel_crtc_state *crtc_state) {struct intel_crtc *crtc =to_intel_crtc (crtc_state->uapi.crtc);struct drm_i915_private *dev_priv =to_i915 (crtc->base.dev); -struct skl_ddb_entry *alloc = &crtc_state->wm.skl.ddb; +struct intel_atomic_state *state = +to_intel_atomic_state (crtc_state->uapi.state); +struct intel_dbuf_state *dbuf_state = +intel_atomic_get_new_dbuf_state (state); +struct skl_ddb_entry *alloc = &dbuf_state->ddb[crtc->pipe];u16 alloc_size, start =0 ;u16 total[I915_MAX_PLANES ] = {};u16 uv_total[I915_MAX_PLANES ] = {};
drivers/gpu/drm/i915/intel_pm.h +4 -0
@@ -9,8 +9,10 @@#include <linux/types.h> #include "display/intel_bw.h" +#include "display/intel_display.h" #include "display/intel_global_state.h" +#include "i915_drv.h" #include "i915_reg.h" struct drm_device ;
@@ -68,6 +70,8 @@ bool intel_set_memory_cxsr(struct drm_i915_private *dev_priv, bool enable);struct intel_dbuf_state {struct intel_global_state base; +struct skl_ddb_entry ddb[I915_MAX_PIPES ]; +u8 enabled_slices;u8 active_pipes; };
Signature · 6 lines
2.26.2 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [Intel-gfx] [PATCH 5/8] drm/i915: Move pipe ddb entries into the dbuf state
Quoted 10 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
The dbuf state will be where we collect all the inter-pipe dbuf allocation stuff. Start by moving the actual per-pipe ddb entries there.
v2: Rebase
Cc Stanislav Lisovskiy <[email protected]>Signed-off-by Ville Syrjälä <[email protected]>
Quoted 145 lines
--- drivers/gpu/drm/i915/display/intel_display.c | 21 ++++++++++++------- .../drm/i915/display/intel_display_types.h | 1 - drivers/gpu/drm/i915/intel_pm.c | 16 ++++++-------- drivers/gpu/drm/i915/intel_pm.h | 4 ++++ 4 files changed, 23 insertions(+), 19 deletions(-)drivers/gpu/drm/i915/display/intel_display.c +13
-8@@ -15673,6 +15673,10 @@ static void intel_commit_modeset_enables(struct intel_atomic_state *state)static void skl_commit_modeset_enables (struct intel_atomic_state *state) {struct drm_i915_private *dev_priv =to_i915 (state->base.dev); +const struct intel_dbuf_state *old_dbuf_state = +intel_atomic_get_old_dbuf_state (state); +const struct intel_dbuf_state *new_dbuf_state = +intel_atomic_get_new_dbuf_state (state);struct intel_crtc *crtc;struct intel_crtc_state *old_crtc_state, *new_crtc_state;struct skl_ddb_entry entries[I915_MAX_PIPES ] = {};@@ -15687,7 +15691,7 @@ static void skl_commit_modeset_enables(struct intel_atomic_state *state)/* ignore allocations for crtc's that have been turned off. */ if (!needs_modeset (new_crtc_state)) { - entries[pipe] = old_crtc_state->wm.skl.ddb; + entries[pipe] = old_dbuf_state->ddb[pipe]; update_pipes |=BIT (pipe); }else { modeset_pipes |=BIT (pipe);@@ -15711,11 +15715,11 @@ static void skl_commit_modeset_enables(struct intel_atomic_state *state)if ((update_pipes &BIT (pipe)) ==0 )continue ; -if (skl_ddb_allocation_overlaps (&new_crtc_state->wm.skl.ddb, +if (skl_ddb_allocation_overlaps (&new_dbuf_state->ddb[pipe], entries,I915_MAX_PIPES , pipe))continue ; - entries[pipe] = new_crtc_state->wm.skl.ddb; + entries[pipe] = new_dbuf_state->ddb[pipe]; update_pipes &= ~BIT (pipe);intel_update_crtc (state, crtc);@@ -15726,8 +15730,8 @@ static void skl_commit_modeset_enables(struct intel_atomic_state *state)* then we need to wait for a vblank to pass for the * new ddb allocation to take effect. */ -if (!skl_ddb_entry_equal (&new_crtc_state->wm.skl.ddb, - &old_crtc_state->wm.skl.ddb) && +if (!skl_ddb_entry_equal (&new_dbuf_state->ddb[pipe], + &old_dbuf_state->ddb[pipe]) && (update_pipes | modeset_pipes))intel_wait_for_vblank (dev_priv, pipe); }@@ -15778,10 +15782,11 @@ static void skl_commit_modeset_enables(struct intel_atomic_state *state)if ((update_pipes &BIT (pipe)) ==0 )continue ; -drm_WARN_ON (&dev_priv->drm,skl_ddb_allocation_overlaps (&new_crtc_state->wm.skl.ddb, - entries,I915_MAX_PIPES , pipe)); +drm_WARN_ON (&dev_priv->drm, +skl_ddb_allocation_overlaps (&new_dbuf_state->ddb[pipe], + entries,I915_MAX_PIPES , pipe)); - entries[pipe] = new_crtc_state->wm.skl.ddb; + entries[pipe] = new_dbuf_state->ddb[pipe]; update_pipes &= ~BIT (pipe);intel_update_crtc (state, crtc);drivers/gpu/drm/i915/display/intel_display_types.h +0
-1@@ -757,7 +757,6 @@ struct intel_crtc_wm_state {struct {/* gen9+ only needs 1-step wm programming */ struct skl_pipe_wm optimal; -struct skl_ddb_entry ddb;struct skl_ddb_entry plane_ddb_y[I915_MAX_PLANES ];struct skl_ddb_entry plane_ddb_uv[I915_MAX_PLANES ]; } skl;drivers/gpu/drm/i915/intel_pm.c +6
-10@@ -4154,16 +4154,8 @@ skl_ddb_get_pipe_allocation_limits(struct drm_i915_private *dev_priv,* grab _all_ crtc locks, including the one we currently hold. */ if (old_dbuf_state->active_pipes == new_dbuf_state->active_pipes && - !dev_priv->wm.distrust_bios_wm) { -/* -* alloc may be cleared by clear_intel_crtc_state, -* copy from old state to be sure -* -* FIXME get rid of this mess -*/ - *alloc =to_intel_crtc_state (for_crtc->base.state)->wm.skl.ddb; + !dev_priv->wm.distrust_bios_wm)return 0 ; - }/* * Get allowed DBuf slices for correspondent pipe and platform. @@ -4790,7 +4782,11 @@ skl_allocate_pipe_ddb(struct intel_crtc_state *crtc_state) {struct intel_crtc *crtc =to_intel_crtc (crtc_state->uapi.crtc);struct drm_i915_private *dev_priv =to_i915 (crtc->base.dev); -struct skl_ddb_entry *alloc = &crtc_state->wm.skl.ddb; +struct intel_atomic_state *state = +to_intel_atomic_state (crtc_state->uapi.state); +struct intel_dbuf_state *dbuf_state = +intel_atomic_get_new_dbuf_state (state); +struct skl_ddb_entry *alloc = &dbuf_state->ddb[crtc->pipe];u16 alloc_size, start =0 ;u16 total[I915_MAX_PLANES ] = {};u16 uv_total[I915_MAX_PLANES ] = {};drivers/gpu/drm/i915/intel_pm.h +4
-0@@ -9,8 +9,10 @@#include <linux/types.h> #include "display/intel_bw.h" +#include "display/intel_display.h" #include "display/intel_global_state.h" +#include "i915_drv.h" #include "i915_reg.h" struct drm_device ;@@ -68,6 +70,8 @@ bool intel_set_memory_cxsr(struct drm_i915_private *dev_priv, bool enable);struct intel_dbuf_state {struct intel_global_state base; +struct skl_ddb_entry ddb[I915_MAX_PIPES ]; +u8 enabled_slices;u8 active_pipes; };Signature · 1 line
2.26.2
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 6/8 drm/i915: Extract intel_crtc_dbuf_weights()
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
Extract the code to calculate the weights used to chunk up the dbuf between pipes. There's still extra stuff in there that shouldn't be there and must be moved out, but that requires a bit more state to be tracked in the dbuf state.
--- drivers/gpu/drm/i915/intel_pm.c | 145 ++++++++++++++++++++------------ 1 file changed, 89 insertions(+), 56 deletions(-)
drivers/gpu/drm/i915/intel_pm.c +89 -56
@@ -4111,62 +4111,35 @@ static unsigned int intel_crtc_ddb_weight(const struct intel_crtc_state *crtc_ststatic u8 skl_compute_dbuf_slices (struct intel_crtc *crtc,u8 active_pipes); -static int -skl_ddb_get_pipe_allocation_limits (struct drm_i915_private *dev_priv, -const struct intel_crtc_state *crtc_state, -const u64 total_data_rate, -struct skl_ddb_entry *alloc,/* out */ -int *num_active/* out */ ) +static int intel_crtc_dbuf_weights (struct intel_atomic_state *state, +struct intel_crtc *for_crtc, +unsigned int *weight_start, +unsigned int *weight_end, +unsigned int *weight_total) { -struct drm_atomic_state *state = crtc_state->uapi.state; -struct intel_atomic_state *intel_state =to_intel_atomic_state (state); -struct intel_crtc *for_crtc =to_intel_crtc (crtc_state->uapi.crtc); -struct intel_crtc *crtc; -unsigned int pipe_weight =0 , total_weight =0 , weight_before_pipe =0 ; +const struct intel_dbuf_state *old_dbuf_state = +intel_atomic_get_old_dbuf_state (state); +struct intel_dbuf_state *new_dbuf_state = +intel_atomic_get_new_dbuf_state (state); +u8 active_pipes = new_dbuf_state->active_pipes;enum pipe for_pipe = for_crtc->pipe; -struct intel_dbuf_state *new_dbuf_state = -intel_atomic_get_new_dbuf_state (intel_state); -const struct intel_dbuf_state *old_dbuf_state = -intel_atomic_get_old_dbuf_state (intel_state); -u8 active_pipes = new_dbuf_state->active_pipes; -struct skl_ddb_entry ddb_slices; -u32 ddb_range_size; -u32 i; -u32 dbuf_slice_mask; -u32 total_slice_mask; -u32 start, end; -int ret; - - *num_active =hweight8 (active_pipes); - -if (!crtc_state->hw.active) { - alloc->start =0 ; - alloc->end =0 ; -return 0 ; - } - -/* -* If the state doesn't change the active CRTC's or there is no -* modeset request, then there's no need to recalculate; -* the existing pipe allocation limits should remain unchanged. -* Note that we're safe from racing commits since any racing commit -* that changes the active CRTC list or do modeset would need to -* grab _all_ crtc locks, including the one we currently hold. -*/ -if (old_dbuf_state->active_pipes == new_dbuf_state->active_pipes && - !dev_priv->wm.distrust_bios_wm) -return 0 ; +const struct intel_crtc_state *crtc_state; +struct intel_crtc *crtc; +u8 dbuf_slice_mask; +u8 total_slice_mask; +int i, ret;/* * Get allowed DBuf slices for correspondent pipe and platform. */ dbuf_slice_mask =skl_compute_dbuf_slices (for_crtc, active_pipes); - -skl_ddb_entry_for_slices (dev_priv, dbuf_slice_mask, &ddb_slices); - ddb_range_size =skl_ddb_entry_size (&ddb_slices); - total_slice_mask = dbuf_slice_mask; -for_each_new_intel_crtc_in_state (intel_state, crtc, crtc_state, i) { + + *weight_start =0 ; + *weight_end =0 ; + *weight_total =0 ; + +for_each_new_intel_crtc_in_state (state, crtc, crtc_state, i) {enum pipe pipe = crtc->pipe;unsigned int weight;u8 pipe_dbuf_slice_mask;
@@ -4197,12 +4170,14 @@ skl_ddb_get_pipe_allocation_limits(struct drm_i915_private *dev_priv,continue ; weight =intel_crtc_ddb_weight (crtc_state); - total_weight += weight; + *weight_total += weight; -if (pipe < for_pipe) - weight_before_pipe += weight; -else if (pipe == for_pipe) - pipe_weight = weight; +if (pipe < for_pipe) { + *weight_start += weight; + *weight_end += weight; + }else if (pipe == for_pipe) { + *weight_end += weight; + } }/*
@@ -4217,15 +4192,73 @@ skl_ddb_get_pipe_allocation_limits(struct drm_i915_private *dev_priv,return ret; } - start = ddb_range_size * weight_before_pipe / total_weight; - end = ddb_range_size * (weight_before_pipe + pipe_weight) / total_weight; +return 0 ; +} + +static int +skl_ddb_get_pipe_allocation_limits (struct drm_i915_private *dev_priv, +const struct intel_crtc_state *crtc_state, +const u64 total_data_rate, +struct skl_ddb_entry *alloc,/* out */ +int *num_active/* out */ ) +{ +struct intel_atomic_state *state = +to_intel_atomic_state (crtc_state->uapi.state); +struct intel_crtc *crtc =to_intel_crtc (crtc_state->uapi.crtc); +unsigned int weight_start, weight_end, weight_total; +const struct intel_dbuf_state *old_dbuf_state = +intel_atomic_get_old_dbuf_state (state); +struct intel_dbuf_state *new_dbuf_state = +intel_atomic_get_new_dbuf_state (state); +u8 active_pipes = new_dbuf_state->active_pipes; +struct skl_ddb_entry ddb_slices; +u32 ddb_range_size; +u32 dbuf_slice_mask; +u32 start, end; +int ret; + + *num_active =hweight8 (active_pipes); + +if (!crtc_state->hw.active) { + alloc->start =0 ; + alloc->end =0 ; +return 0 ; + } + +/* +* If the state doesn't change the active CRTC's or there is no +* modeset request, then there's no need to recalculate; +* the existing pipe allocation limits should remain unchanged. +* Note that we're safe from racing commits since any racing commit +* that changes the active CRTC list or do modeset would need to +* grab _all_ crtc locks, including the one we currently hold. +*/ +if (old_dbuf_state->active_pipes == new_dbuf_state->active_pipes && + !dev_priv->wm.distrust_bios_wm) +return 0 ; + +/* +* Get allowed DBuf slices for correspondent pipe and platform. +*/ + dbuf_slice_mask =skl_compute_dbuf_slices (crtc, active_pipes); + +skl_ddb_entry_for_slices (dev_priv, dbuf_slice_mask, &ddb_slices); + ddb_range_size =skl_ddb_entry_size (&ddb_slices); + + ret =intel_crtc_dbuf_weights (state, crtc, + &weight_start, &weight_end, &weight_total); +if (ret) +return ret; + + start = ddb_range_size * weight_start / weight_total; + end = ddb_range_size * weight_end / weight_total; alloc->start = ddb_slices.start + start; alloc->end = ddb_slices.start + end;drm_dbg_kms (&dev_priv->drm,"[CRTC:%d:%s] dbuf slices 0x%x, ddb (%d - %d), active pipes 0x%x\n" , - for_crtc->base.base.id, for_crtc->base.name, + crtc->base.base.id, crtc->base.name, dbuf_slice_mask, alloc->start, alloc->end, active_pipes);return 0 ;
Signature · 6 lines
2.26.2 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [Intel-gfx] [PATCH 6/8] drm/i915: Extract intel_crtc_dbuf_weights()
Quoted 9 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
Extract the code to calculate the weights used to chunk up the dbuf between pipes. There's still extra stuff in there that shouldn't be there and must be moved out, but that requires a bit more state to be tracked in the dbuf state.
Cc Stanislav Lisovskiy <[email protected]>Signed-off-by Ville Syrjälä <[email protected]>
Quoted 192 lines
--- drivers/gpu/drm/i915/intel_pm.c | 145 ++++++++++++++++++++------------ 1 file changed, 89 insertions(+), 56 deletions(-)drivers/gpu/drm/i915/intel_pm.c +89
-56@@ -4111,62 +4111,35 @@ static unsigned int intel_crtc_ddb_weight(const struct intel_crtc_state *crtc_ststatic u8 skl_compute_dbuf_slices (struct intel_crtc *crtc,u8 active_pipes); -static int -skl_ddb_get_pipe_allocation_limits (struct drm_i915_private *dev_priv, -const struct intel_crtc_state *crtc_state, -const u64 total_data_rate, -struct skl_ddb_entry *alloc,/* out */ -int *num_active/* out */ ) +static int intel_crtc_dbuf_weights (struct intel_atomic_state *state, +struct intel_crtc *for_crtc, +unsigned int *weight_start, +unsigned int *weight_end, +unsigned int *weight_total) { -struct drm_atomic_state *state = crtc_state->uapi.state; -struct intel_atomic_state *intel_state =to_intel_atomic_state (state); -struct intel_crtc *for_crtc =to_intel_crtc (crtc_state->uapi.crtc); -struct intel_crtc *crtc; -unsigned int pipe_weight =0 , total_weight =0 , weight_before_pipe =0 ; +const struct intel_dbuf_state *old_dbuf_state = +intel_atomic_get_old_dbuf_state (state); +struct intel_dbuf_state *new_dbuf_state = +intel_atomic_get_new_dbuf_state (state); +u8 active_pipes = new_dbuf_state->active_pipes;enum pipe for_pipe = for_crtc->pipe; -struct intel_dbuf_state *new_dbuf_state = -intel_atomic_get_new_dbuf_state (intel_state); -const struct intel_dbuf_state *old_dbuf_state = -intel_atomic_get_old_dbuf_state (intel_state); -u8 active_pipes = new_dbuf_state->active_pipes; -struct skl_ddb_entry ddb_slices; -u32 ddb_range_size; -u32 i; -u32 dbuf_slice_mask; -u32 total_slice_mask; -u32 start, end; -int ret; - - *num_active =hweight8 (active_pipes); - -if (!crtc_state->hw.active) { - alloc->start =0 ; - alloc->end =0 ; -return 0 ; - } - -/* -* If the state doesn't change the active CRTC's or there is no -* modeset request, then there's no need to recalculate; -* the existing pipe allocation limits should remain unchanged. -* Note that we're safe from racing commits since any racing commit -* that changes the active CRTC list or do modeset would need to -* grab _all_ crtc locks, including the one we currently hold. -*/ -if (old_dbuf_state->active_pipes == new_dbuf_state->active_pipes && - !dev_priv->wm.distrust_bios_wm) -return 0 ; +const struct intel_crtc_state *crtc_state; +struct intel_crtc *crtc; +u8 dbuf_slice_mask; +u8 total_slice_mask; +int i, ret;/* * Get allowed DBuf slices for correspondent pipe and platform. */ dbuf_slice_mask =skl_compute_dbuf_slices (for_crtc, active_pipes); - -skl_ddb_entry_for_slices (dev_priv, dbuf_slice_mask, &ddb_slices); - ddb_range_size =skl_ddb_entry_size (&ddb_slices); - total_slice_mask = dbuf_slice_mask; -for_each_new_intel_crtc_in_state (intel_state, crtc, crtc_state, i) { + + *weight_start =0 ; + *weight_end =0 ; + *weight_total =0 ; + +for_each_new_intel_crtc_in_state (state, crtc, crtc_state, i) {enum pipe pipe = crtc->pipe;unsigned int weight;u8 pipe_dbuf_slice_mask;@@ -4197,12 +4170,14 @@ skl_ddb_get_pipe_allocation_limits(struct drm_i915_private *dev_priv,continue ; weight =intel_crtc_ddb_weight (crtc_state); - total_weight += weight; + *weight_total += weight; -if (pipe < for_pipe) - weight_before_pipe += weight; -else if (pipe == for_pipe) - pipe_weight = weight; +if (pipe < for_pipe) { + *weight_start += weight; + *weight_end += weight; + }else if (pipe == for_pipe) { + *weight_end += weight; + } }/* @@ -4217,15 +4192,73 @@ skl_ddb_get_pipe_allocation_limits(struct drm_i915_private *dev_priv,return ret; } - start = ddb_range_size * weight_before_pipe / total_weight; - end = ddb_range_size * (weight_before_pipe + pipe_weight) / total_weight; +return 0 ; +} + +static int +skl_ddb_get_pipe_allocation_limits (struct drm_i915_private *dev_priv, +const struct intel_crtc_state *crtc_state, +const u64 total_data_rate, +struct skl_ddb_entry *alloc,/* out */ +int *num_active/* out */ ) +{ +struct intel_atomic_state *state = +to_intel_atomic_state (crtc_state->uapi.state); +struct intel_crtc *crtc =to_intel_crtc (crtc_state->uapi.crtc); +unsigned int weight_start, weight_end, weight_total; +const struct intel_dbuf_state *old_dbuf_state = +intel_atomic_get_old_dbuf_state (state); +struct intel_dbuf_state *new_dbuf_state = +intel_atomic_get_new_dbuf_state (state); +u8 active_pipes = new_dbuf_state->active_pipes; +struct skl_ddb_entry ddb_slices; +u32 ddb_range_size; +u32 dbuf_slice_mask; +u32 start, end; +int ret; + + *num_active =hweight8 (active_pipes); + +if (!crtc_state->hw.active) { + alloc->start =0 ; + alloc->end =0 ; +return 0 ; + } + +/* +* If the state doesn't change the active CRTC's or there is no +* modeset request, then there's no need to recalculate; +* the existing pipe allocation limits should remain unchanged. +* Note that we're safe from racing commits since any racing commit +* that changes the active CRTC list or do modeset would need to +* grab _all_ crtc locks, including the one we currently hold. +*/ +if (old_dbuf_state->active_pipes == new_dbuf_state->active_pipes && + !dev_priv->wm.distrust_bios_wm) +return 0 ; + +/* +* Get allowed DBuf slices for correspondent pipe and platform. +*/ + dbuf_slice_mask =skl_compute_dbuf_slices (crtc, active_pipes); + +skl_ddb_entry_for_slices (dev_priv, dbuf_slice_mask, &ddb_slices); + ddb_range_size =skl_ddb_entry_size (&ddb_slices); + + ret =intel_crtc_dbuf_weights (state, crtc, + &weight_start, &weight_end, &weight_total); +if (ret) +return ret; + + start = ddb_range_size * weight_start / weight_total; + end = ddb_range_size * weight_end / weight_total; alloc->start = ddb_slices.start + start; alloc->end = ddb_slices.start + end;drm_dbg_kms (&dev_priv->drm,"[CRTC:%d:%s] dbuf slices 0x%x, ddb (%d - %d), active pipes 0x%x\n" , - for_crtc->base.base.id, for_crtc->base.name, + crtc->base.base.id, crtc->base.name, dbuf_slice_mask, alloc->start, alloc->end, active_pipes);return 0 ;Signature · 1 line
2.26.2
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 7/8 drm/i915: Encapsulate dbuf state handling harder
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
In order to make the dbuf state computation less fragile let's make it stand on its own feet by now requiring someone to peek into a crystall ball ahead of time to figure out which pipes need to be added to the state under which potential future conditions. Instead we compute each piece of the state as we go along, and if any fallout occurs that affects more than the current set of pipes we add the affected pipes to the state naturally.
That requires that we track a few extra thigns in the global dbuf state: dbuf slices for each pipe, and the weight each pipe has when distributing the same set of slice(s) between multiple pipes. Easy enough.
We do need to follow a somewhat careful sequence of computations though as there are several steps involved in cooking up the dbuf state. Thoguh we could avoid some of that by computing more things on demand instead of relying on earlier step of the algorithm to have filled it out. I think the end result is still reasonable as the entire sequence is pretty much consolidated into a single function instead of being spread around all over.
The rough sequence is this:
1. calculate active_pipes
2. calculate dbuf slices for every pipe
3. calculate total enabled slices
4. calculate new dbuf weights for any crtc in the state
5. calculate new ddb entry for every pipe based on the sets of slices and weights, and add any affected crtc to the state
6. calculate new plane ddb entries for all crtcs in the state, and add any affected plane to the state so that we'll perform the requisite hw reprogramming
And as a nice bonus we get to throw dev_priv->wm.distrust_bios_wm out the window.
--- drivers/gpu/drm/i915/display/intel_display.c | 15 - .../drm/i915/display/intel_display_debugfs.c | 1 - drivers/gpu/drm/i915/i915_drv.h | 9 - drivers/gpu/drm/i915/intel_pm.c | 379 +++++++----------- drivers/gpu/drm/i915/intel_pm.h | 2 + 5 files changed, 138 insertions(+), 268 deletions(-)
drivers/gpu/drm/i915/display/intel_display.c +0 -15
@@ -15308,20 +15308,6 @@ static int intel_atomic_check(struct drm_device *dev,if (ret) goto fail; -/* -* distrust_bios_wm will force a full dbuf recomputation -* but the hardware state will only get updated accordingly -* if state->modeset==true. Hence distrust_bios_wm==true && -* state->modeset==false is an invalid combination which -* would cause the hardware and software dbuf state to get -* out of sync. We must prevent that. -* -* FIXME clean up this mess and introduce better -* state tracking for dbuf. -*/ -if (dev_priv->wm.distrust_bios_wm) - any_ms = true; -intel_fbc_choose_crtc (dev_priv, state); ret =calc_watermark_data (state);if (ret)
@@ -16160,7 +16146,6 @@ static int intel_atomic_commit(struct drm_device *dev,intel_runtime_pm_put (&dev_priv->runtime_pm, state->wakeref);return ret; } - dev_priv->wm.distrust_bios_wm = false;intel_shared_dpll_swap_state (state);intel_atomic_track_fbs (state);
drivers/gpu/drm/i915/display/intel_display_debugfs.c +0 -1
@@ -1008,7 +1008,6 @@ static ssize_t i915_ipc_status_write(struct file *file, const char __user *ubuf,if (!dev_priv->ipc_enabled && enable)drm_info (&dev_priv->drm,"Enabling IPC: WM will be proper only after next commit\n" ); - dev_priv->wm.distrust_bios_wm = true; dev_priv->ipc_enabled = enable;intel_enable_ipc (dev_priv); }
drivers/gpu/drm/i915/i915_drv.h +0 -9
@@ -1126,15 +1126,6 @@ struct drm_i915_private {* crtc_state->wm.need_postvbl_update. */ struct mutex wm_mutex; - -/* -* Set during HW readout of watermarks/DDB. Some platforms -* need to know when we're still using BIOS-provided values -* (which we don't fully trust). -* -* FIXME get rid of this. -*/ -bool distrust_bios_wm; } wm;struct dram_info {
drivers/gpu/drm/i915/intel_pm.c +136 -243
510 lines not on this page · raw message
drivers/gpu/drm/i915/intel_pm.h +2 -0
@@ -71,6 +71,8 @@ struct intel_dbuf_state {struct intel_global_state base;struct skl_ddb_entry ddb[I915_MAX_PIPES ]; +unsigned int weight[I915_MAX_PIPES ]; +u8 slices[I915_MAX_PIPES ];u8 enabled_slices;u8 active_pipes;
Signature · 6 lines
2.26.2 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 8/8 drm/i915: Do a bit more initial readout for dbuf
In reply to Ville SyrjalaFrom: Ville Syrjälä <[email protected]>
Readout the dbuf related stuff during driver init/resume and stick it into our dbuf state.
--- drivers/gpu/drm/i915/display/intel_display.c | 4 -- drivers/gpu/drm/i915/intel_pm.c | 48 +++++++++++++++++++- 2 files changed, 46 insertions(+), 6 deletions(-)
drivers/gpu/drm/i915/display/intel_display.c +0 -4
@@ -17883,14 +17883,10 @@ void intel_modeset_init_hw(struct drm_i915_private *i915) {struct intel_cdclk_state *cdclk_state =to_intel_cdclk_state (i915->cdclk.obj.state); -struct intel_dbuf_state *dbuf_state = -to_intel_dbuf_state (i915->dbuf.obj.state);intel_update_cdclk (i915);intel_dump_cdclk_config (&i915->cdclk.hw,"Current CDCLK" ); cdclk_state->logical = cdclk_state->actual = i915->cdclk.hw; - - dbuf_state->enabled_slices = i915->dbuf.enabled_slices; }static int sanitize_watermarks_add_affected (struct drm_atomic_state *state)
drivers/gpu/drm/i915/intel_pm.c +46 -2
66 lines not on this page · raw message
Signature · 6 lines
2.26.2 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Remainder of dbuf state stuff
In reply to Ville Syrjala== Series Details ==
== Series Details ==
Series: drm/i915: Remainder of dbuf state stuff
URL : https://patchwork.freedesktop.org/series/83114/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip 202be8e23dc4 drm/i915: Extract intel_crtc_ddb_weight() bda46a35b586 drm/i915: Pass the crtc to skl_compute_dbuf_slices() 6a588188fcb5 drm/i915: Introduce intel_dbuf_slice_size() 03c4ee861f09 drm/i915: Introduce skl_ddb_entry_for_slices() 81f28d6b4767 drm/i915: Move pipe ddb entries into the dbuf state 8b63f79bdf58 drm/i915: Extract intel_crtc_dbuf_weights() -:137: WARNING:LINE_SPACING: Missing a blank line after declarations #137: FILE: drivers/gpu/drm/i915/intel_pm.c:4203: + struct skl_ddb_entry *alloc, /* out */ + int *num_active /* out */)
total: 0 errors, 1 warnings, 0 checks, 176 lines checked 505b319e81b4 drm/i915: Encapsulate dbuf state handling harder e59e0901b431 drm/i915: Do a bit more initial readout for dbuf
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI[Intel-gfx] ✗ Fi.CI.SPARSE: warning for drm/i915: Remainder of dbuf state stuff
In reply to Ville Syrjala== Series Details ==
== Series Details ==
Series: drm/i915: Remainder of dbuf state stuff
URL : https://patchwork.freedesktop.org/series/83114/
State : warning
== Summary ==
$ dim sparse --fast origin/drm-tip Sparse version: v0.6.2 Fast mode used, each commit won't be checked separately. - +drivers/gpu/drm/i915/gt/intel_reset.c:1312:5: warning: context imbalance in 'intel_gt_reset_trylock' - different lock contexts for basic block +drivers/gpu/drm/i915/gt/selftest_reset.c:100:20: expected void *in +drivers/gpu/drm/i915/gt/selftest_reset.c:100:20: got void [noderef] __iomem *[assigned] s +drivers/gpu/drm/i915/gt/selftest_reset.c:100:20: warning: incorrect type in assignment (different address spaces) +drivers/gpu/drm/i915/gt/selftest_reset.c:101:46: expected void const *src +drivers/gpu/drm/i915/gt/selftest_reset.c:101:46: got void [noderef] __iomem *[assigned] s +drivers/gpu/drm/i915/gt/selftest_reset.c:101:46: warning: incorrect type in argument 2 (different address spaces) +drivers/gpu/drm/i915/gt/selftest_reset.c:136:20: expected void *in +drivers/gpu/drm/i915/gt/selftest_reset.c:136:20: got void [noderef] __iomem *[assigned] s +drivers/gpu/drm/i915/gt/selftest_reset.c:136:20: warning: incorrect type in assignment (different address spaces) +drivers/gpu/drm/i915/gt/selftest_reset.c:137:46: expected void const *src +drivers/gpu/drm/i915/gt/selftest_reset.c:137:46: got void [noderef] __iomem *[assigned] s +drivers/gpu/drm/i915/gt/selftest_reset.c:137:46: warning: incorrect type in argument 2 (different address spaces) +drivers/gpu/drm/i915/gt/selftest_reset.c:98:34: expected unsigned int [usertype] *s +drivers/gpu/drm/i915/gt/selftest_reset.c:98:34: got void [noderef] __iomem *[assigned] s +drivers/gpu/drm/i915/gt/selftest_reset.c:98:34: warning: incorrect type in argument 1 (different address spaces) +drivers/gpu/drm/i915/gvt/mmio.c:290:23: warning: memcpy with byte count of 279040 +drivers/gpu/drm/i915/i915_perf.c:1440:15: warning: memset with byte count of 16777216 +drivers/gpu/drm/i915/i915_perf.c:1494:15: warning: memset with byte count of 16777216 +./include/linux/seqlock.h:838:24: warning: trying to copy expression type 31 +./include/linux/seqlock.h:838:24: warning: trying to copy expression type 31 +./include/linux/seqlock.h:864:16: warning: trying to copy expression type 31 +./include/linux/spinlock.h:409:9: warning: context imbalance in 'fwtable_read16' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'fwtable_read32' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'fwtable_read64' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'fwtable_read8' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'fwtable_write16' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'fwtable_write32' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'fwtable_write8' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'gen11_fwtable_read16' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'gen11_fwtable_read32' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'gen11_fwtable_read64' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'gen11_fwtable_read8' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'gen11_fwtable_write16' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'gen11_fwtable_write32' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'gen11_fwtable_write8' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'gen12_fwtable_read16' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'gen12_fwtable_read32' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'gen12_fwtable_read64' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'gen12_fwtable_read8' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'gen12_fwtable_write16' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'gen12_fwtable_write32' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'gen12_fwtable_write8' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'gen6_read16' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'gen6_read32' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'gen6_read64' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'gen6_read8' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'gen6_write16' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'gen6_write32' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'gen6_write8' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'gen8_write16' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'gen8_write32' - different lock contexts for basic block +./include/linux/spinlock.h:409:9: warning: context imbalance in 'gen8_write8' - different lock contexts for basic block
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Remainder of dbuf state stuff
In reply to Ville Syrjala== Series Details ==
== Series Details ==
Series: drm/i915: Remainder of dbuf state stuff
URL : https://patchwork.freedesktop.org/series/83114/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_9206 -> Patchwork_18791
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/index.html
New tests
---------
New tests have been introduced between CI_DRM_9206 and Patchwork_18791:
### New CI tests (1) ###
* boot:
- Statuses : 40 pass(s)
- Exec time: [0.0] s
Known issues
------------
Here are the changes found in Patchwork_18791 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@core_hotunplug@unbind-rebind:
- fi-tgl-u2: [PASS][1] -> [DMESG-WARN][2] ([i915#1982])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/fi-tgl-u2/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/fi-tgl-u2/igt@[email protected]
* igt@gem_ctx_create@basic-files:
- fi-apl-guc: [PASS][3] -> [INCOMPLETE][4] ([i915#1635])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/fi-apl-guc/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/fi-apl-guc/igt@[email protected]
* igt@gem_mmap_gtt@basic:
- fi-tgl-y: [PASS][5] -> [DMESG-WARN][6] ([i915#402]) +2 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/fi-tgl-y/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/fi-tgl-y/igt@[email protected]
* igt@kms_busy@basic@flip:
- fi-kbl-soraka: [PASS][7] -> [DMESG-WARN][8] ([i915#1982])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/fi-kbl-soraka/igt@kms_busy@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/fi-kbl-soraka/igt@kms_busy@[email protected]
* igt@kms_chamelium@dp-crc-fast:
- fi-kbl-7500u: [PASS][9] -> [INCOMPLETE][10] ([i915#2606])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/fi-kbl-7500u/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/fi-kbl-7500u/igt@[email protected]
* igt@kms_psr@cursor_plane_move:
- fi-kbl-soraka: [PASS][11] -> [INCOMPLETE][12] ([i915#2606])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/fi-kbl-soraka/igt@kms_psr@cursor_plane_move.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/fi-kbl-soraka/igt@kms_psr@cursor_plane_move.html
- fi-tgl-y: [PASS][13] -> [DMESG-WARN][14] ([i915#1982])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/fi-tgl-y/igt@kms_psr@cursor_plane_move.html
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/fi-tgl-y/igt@kms_psr@cursor_plane_move.html
* igt@kms_psr@sprite_plane_onoff:
- fi-cml-u2: [PASS][15] -> [INCOMPLETE][16] ([i915#2606])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/fi-cml-u2/igt@kms_psr@sprite_plane_onoff.html
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/fi-cml-u2/igt@kms_psr@sprite_plane_onoff.html
#### Possible fixes ####
* igt@debugfs_test@read_all_entries:
- {fi-kbl-7560u}: [INCOMPLETE][17] ([i915#2417]) -> [PASS][18]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/fi-kbl-7560u/igt@debugfs_test@read_all_entries.html
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/fi-kbl-7560u/igt@debugfs_test@read_all_entries.html
* igt@i915_module_load@reload:
- {fi-ehl-1}: [DMESG-WARN][19] ([i915#1982]) -> [PASS][20]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/fi-ehl-1/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/fi-ehl-1/igt@[email protected]
- fi-skl-lmem: [DMESG-WARN][21] ([i915#2605]) -> [PASS][22]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/fi-skl-lmem/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/fi-skl-lmem/igt@[email protected]
* igt@kms_chamelium@dp-crc-fast:
- fi-icl-u2: [INCOMPLETE][23] ([i915#2606]) -> [PASS][24]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/fi-icl-u2/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/fi-icl-u2/igt@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic:
- fi-byt-j1900: [DMESG-WARN][25] ([i915#1982]) -> [PASS][26] +1 similar issue
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/fi-byt-j1900/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/fi-byt-j1900/igt@[email protected]
- fi-bsw-kefka: [DMESG-WARN][27] ([i915#1982]) -> [PASS][28]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/fi-bsw-kefka/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/fi-bsw-kefka/igt@[email protected]
* igt@kms_psr@sprite_plane_onoff:
- fi-tgl-y: [DMESG-WARN][29] ([i915#1982]) -> [PASS][30]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/fi-tgl-y/igt@kms_psr@sprite_plane_onoff.html
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/fi-tgl-y/igt@kms_psr@sprite_plane_onoff.html
* igt@prime_vgem@basic-read:
- fi-tgl-y: [DMESG-WARN][31] ([i915#402]) -> [PASS][32] +1 similar issue
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/fi-tgl-y/igt@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/fi-tgl-y/igt@[email protected]
#### Warnings ####
* igt@i915_pm_rpm@basic-pci-d3-state:
- fi-tgl-y: [DMESG-WARN][33] ([i915#2411]) -> [DMESG-WARN][34] ([i915#1982] / [i915#2411])
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/fi-tgl-y/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/fi-tgl-y/igt@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[i915#1635]: https://gitlab.freedesktop.org/drm/intel/issues/1635
[i915#1784]: https://gitlab.freedesktop.org/drm/intel/issues/1784
[i915#1814]: https://gitlab.freedesktop.org/drm/intel/issues/1814
[i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
[i915#2411]: https://gitlab.freedesktop.org/drm/intel/issues/2411
[i915#2417]: https://gitlab.freedesktop.org/drm/intel/issues/2417
[i915#2605]: https://gitlab.freedesktop.org/drm/intel/issues/2605
[i915#2606]: https://gitlab.freedesktop.org/drm/intel/issues/2606
[i915#402]: https://gitlab.freedesktop.org/drm/intel/issues/402
Participating hosts (43 -> 40)
------------------------------
Missing (3): fi-glk-dsi fi-bsw-cyan fi-bdw-samus
Build changes
-------------
* Linux: CI_DRM_9206 -> Patchwork_18791
CI-20190529: 20190529
CI_DRM_9206: 85ce674ff932ed7ca41aef52d8bb42c04fbe2171 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5827: 7fd7e3fb8b42eb4e62a4575f6edc5a048e5bec3d @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_18791: e59e0901b431381ef63c25b9cb2ae479c54d2c3e @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
e59e0901b431 drm/i915: Do a bit more initial readout for dbuf 505b319e81b4 drm/i915: Encapsulate dbuf state handling harder 8b63f79bdf58 drm/i915: Extract intel_crtc_dbuf_weights() 81f28d6b4767 drm/i915: Move pipe ddb entries into the dbuf state 03c4ee861f09 drm/i915: Introduce skl_ddb_entry_for_slices() 6a588188fcb5 drm/i915: Introduce intel_dbuf_slice_size() bda46a35b586 drm/i915: Pass the crtc to skl_compute_dbuf_slices() 202be8e23dc4 drm/i915: Extract intel_crtc_ddb_weight()
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/index.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI[Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915: Remainder of dbuf state stuff
In reply to Ville Syrjala== Series Details ==
== Series Details ==
Series: drm/i915: Remainder of dbuf state stuff
URL : https://patchwork.freedesktop.org/series/83114/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_9206_full -> Patchwork_18791_full
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_18791_full absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_18791_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_18791_full:
### IGT changes ###
#### Possible regressions ####
* igt@i915_pm_rpm@gem-mmap-type@uc:
- shard-glk: [PASS][1] -> [DMESG-WARN][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-glk9/igt@i915_pm_rpm@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-glk8/igt@i915_pm_rpm@[email protected]
* igt@kms_psr@sprite_blt:
- shard-skl: NOTRUN -> [INCOMPLETE][3]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-skl2/igt@kms_psr@sprite_blt.html
* igt@kms_vblank@pipe-c-ts-continuation-suspend:
- shard-glk: [PASS][4] -> [INCOMPLETE][5] +1 similar issue
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-glk5/igt@[email protected]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-glk8/igt@[email protected]
#### Warnings ####
* igt@kms_psr@psr2_dpms:
- shard-iclb: [SKIP][6] ([fdo#109441]) -> [INCOMPLETE][7]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-iclb7/igt@kms_psr@psr2_dpms.html
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-iclb2/igt@kms_psr@psr2_dpms.html
New tests
---------
New tests have been introduced between CI_DRM_9206_full and Patchwork_18791_full:
### New CI tests (1) ###
* boot:
- Statuses : 174 pass(s)
- Exec time: [0.0] s
Known issues
------------
Here are the changes found in Patchwork_18791_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@drm_read@empty-block:
- shard-glk: [PASS][8] -> [DMESG-WARN][9] ([i915#1982])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-glk2/igt@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-glk9/igt@[email protected]
* igt@gem_exec_schedule@timeslicing@vecs0:
- shard-skl: [PASS][10] -> [DMESG-WARN][11] ([i915#1982]) +2 similar issues
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-skl7/igt@gem_exec_schedule@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-skl3/igt@gem_exec_schedule@[email protected]
* igt@gem_exec_whisper@basic-fds-forked-all:
- shard-glk: [PASS][12] -> [DMESG-WARN][13] ([i915#118] / [i915#95])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-glk4/igt@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-glk1/igt@[email protected]
* igt@gen9_exec_parse@allowed-single:
- shard-skl: [PASS][14] -> [DMESG-WARN][15] ([i915#1436] / [i915#716])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-skl6/igt@[email protected]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-skl7/igt@[email protected]
* igt@kms_flip@absolute-wf_vblank@a-dp1:
- shard-apl: [PASS][16] -> [DMESG-WARN][17] ([i915#1635] / [i915#1982]) +1 similar issue
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-apl2/igt@kms_flip@[email protected]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-apl7/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-suspend-interruptible@b-dp1:
- shard-kbl: [PASS][18] -> [DMESG-WARN][19] ([i915#180])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-kbl1/igt@kms_flip@[email protected]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-kbl4/igt@kms_flip@[email protected]
* igt@kms_frontbuffer_tracking@fbc-1p-indfb-fliptrack:
- shard-tglb: [PASS][20] -> [INCOMPLETE][21] ([i915#2606]) +2 similar issues
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-tglb2/igt@[email protected]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-tglb2/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-onoff:
- shard-iclb: [PASS][22] -> [DMESG-WARN][23] ([i915#2606])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-iclb7/igt@[email protected]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-iclb2/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-mmap-gtt:
- shard-kbl: [PASS][24] -> [DMESG-WARN][25] ([i915#1982]) +1 similar issue
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-kbl1/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-mmap-gtt.html
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-kbl4/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-mmap-gtt.html
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-mmap-wc:
- shard-iclb: [PASS][26] -> [INCOMPLETE][27] ([i915#2606])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-iclb5/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-mmap-wc.html
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-iclb5/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-mmap-wc.html
* igt@kms_frontbuffer_tracking@fbcpsr-1p-offscren-pri-indfb-draw-pwrite:
- shard-iclb: [PASS][28] -> [INCOMPLETE][29] ([i915#123] / [i915#2606]) +1 similar issue
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-iclb4/igt@kms_frontbuffer_tracking@fbcpsr-1p-offscren-pri-indfb-draw-pwrite.html
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-iclb8/igt@kms_frontbuffer_tracking@fbcpsr-1p-offscren-pri-indfb-draw-pwrite.html
* igt@kms_frontbuffer_tracking@psr-1p-offscren-pri-indfb-draw-blt:
- shard-skl: [PASS][30] -> [INCOMPLETE][31] ([i915#123]) +3 similar issues
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-skl10/igt@[email protected]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-skl1/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-rgb565-draw-mmap-wc:
- shard-skl: [PASS][32] -> [INCOMPLETE][33] ([i915#123] / [i915#2606]) +1 similar issue
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-skl7/igt@[email protected]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-skl3/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-a-coverage-7efc:
- shard-skl: [PASS][34] -> [DMESG-FAIL][35] ([fdo#108145] / [i915#1982])
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-skl6/igt@[email protected]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-skl10/igt@[email protected]
* igt@sysfs_heartbeat_interval@mixed@rcs0:
- shard-kbl: [PASS][36] -> [INCOMPLETE][37] ([i915#1731])
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-kbl2/igt@sysfs_heartbeat_interval@[email protected]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-kbl4/igt@sysfs_heartbeat_interval@[email protected]
#### Possible fixes ####
* igt@gem_exec_gttfill@all:
- shard-glk: [DMESG-WARN][38] ([i915#118] / [i915#95]) -> [PASS][39]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-glk5/igt@[email protected]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-glk8/igt@[email protected]
* igt@gem_exec_whisper@basic-contexts-priority:
- shard-iclb: [INCOMPLETE][40] -> [PASS][41]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-iclb3/igt@[email protected]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-iclb2/igt@[email protected]
* {igt@kms_async_flips@async-flip-with-page-flip-events}:
- shard-kbl: [FAIL][42] ([i915#2521]) -> [PASS][43]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-kbl1/igt@[email protected]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-kbl4/igt@[email protected]
* igt@kms_cursor_crc@pipe-c-cursor-alpha-transparent:
- shard-skl: [FAIL][44] ([i915#54]) -> [PASS][45]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-skl2/igt@[email protected]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-skl4/igt@[email protected]
* igt@kms_cursor_crc@pipe-c-cursor-suspend:
- shard-apl: [INCOMPLETE][46] ([i915#1635]) -> [PASS][47] +1 similar issue
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-apl7/igt@[email protected]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-apl6/igt@[email protected]
* igt@kms_cursor_edge_walk@pipe-b-256x256-bottom-edge:
- shard-glk: [DMESG-WARN][48] ([i915#1982]) -> [PASS][49] +1 similar issue
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-glk3/igt@[email protected]
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-glk4/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-rgb101010-draw-mmap-cpu:
- shard-iclb: [INCOMPLETE][50] ([i915#2606]) -> [PASS][51]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-iclb6/igt@[email protected]
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-iclb1/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-shrfb-draw-blt:
- shard-iclb: [INCOMPLETE][52] ([i915#123] / [i915#2606]) -> [PASS][53]
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-iclb1/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-shrfb-draw-blt.html
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-iclb3/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-shrfb-draw-blt.html
* igt@kms_frontbuffer_tracking@fbcpsr-rgb101010-draw-blt:
- shard-tglb: [INCOMPLETE][54] -> [PASS][55]
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-tglb6/igt@[email protected]
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-tglb6/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-1p-primscrn-cur-indfb-draw-mmap-cpu:
- shard-skl: [DMESG-WARN][56] ([i915#2606]) -> [PASS][57]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-skl1/igt@kms_frontbuffer_tracking@psr-1p-primscrn-cur-indfb-draw-mmap-cpu.html
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-skl2/igt@kms_frontbuffer_tracking@psr-1p-primscrn-cur-indfb-draw-mmap-cpu.html
* igt@kms_frontbuffer_tracking@psr-1p-primscrn-pri-shrfb-draw-mmap-gtt:
- shard-skl: [INCOMPLETE][58] ([i915#123]) -> [PASS][59] +3 similar issues
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-skl1/igt@kms_frontbuffer_tracking@psr-1p-primscrn-pri-shrfb-draw-mmap-gtt.html
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-skl3/igt@kms_frontbuffer_tracking@psr-1p-primscrn-pri-shrfb-draw-mmap-gtt.html
* igt@kms_frontbuffer_tracking@psr-1p-primscrn-shrfb-plflip-blt:
- shard-skl: [INCOMPLETE][60] ([i915#123] / [i915#2606]) -> [PASS][61] +1 similar issue
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-skl4/igt@[email protected]
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-skl8/igt@[email protected]
* igt@kms_plane@plane-position-hole-dpms-pipe-a-planes:
- shard-skl: [DMESG-WARN][62] ([i915#1982]) -> [PASS][63]
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-skl6/igt@[email protected]
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-skl7/igt@[email protected]
* igt@kms_plane_lowres@pipe-a-tiling-x:
- shard-kbl: [DMESG-WARN][64] ([i915#165] / [i915#78]) -> [PASS][65]
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-kbl2/igt@[email protected]
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-kbl4/igt@[email protected]
* igt@kms_vblank@pipe-a-query-forked-busy-hang:
- shard-apl: [DMESG-WARN][66] ([i915#1635] / [i915#1982]) -> [PASS][67] +2 similar issues
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-apl8/igt@[email protected]
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-apl1/igt@[email protected]
#### Warnings ####
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-onoff:
- shard-tglb: [DMESG-WARN][68] ([i915#2606]) -> [INCOMPLETE][69] ([i915#2606]) +1 similar issue
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-tglb2/igt@[email protected]
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-tglb3/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-slowdraw:
- shard-skl: [DMESG-WARN][70] ([i915#1982]) -> [INCOMPLETE][71] ([i915#123] / [i915#2606])
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-skl8/igt@[email protected]
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-skl10/igt@[email protected]
* igt@runner@aborted:
- shard-apl: ([FAIL][72], [FAIL][73]) ([i915#1611] / [i915#1635] / [i915#1814]) -> [FAIL][74] ([i915#1611] / [i915#1635])
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-apl7/igt@[email protected]
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-apl1/igt@[email protected]
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-apl7/igt@[email protected]
- shard-skl: ([FAIL][75], [FAIL][76], [FAIL][77], [FAIL][78], [FAIL][79], [FAIL][80], [FAIL][81], [FAIL][82], [FAIL][83], [FAIL][84], [FAIL][85], [FAIL][86], [FAIL][87], [FAIL][88], [FAIL][89], [FAIL][90], [FAIL][91], [FAIL][92], [FAIL][93], [FAIL][94], [FAIL][95], [FAIL][96], [FAIL][97]) ([i915#1814]) -> ([FAIL][98], [FAIL][99], [FAIL][100], [FAIL][101], [FAIL][102], [FAIL][103], [FAIL][104], [FAIL][105], [FAIL][106], [FAIL][107], [FAIL][108], [FAIL][109], [FAIL][110], [FAIL][111], [FAIL][112], [FAIL][113], [FAIL][114], [FAIL][115]) ([i915#1436] / [i915#1814])
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-skl4/igt@[email protected]
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-skl9/igt@[email protected]
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-skl1/igt@[email protected]
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-skl8/igt@[email protected]
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-skl6/igt@[email protected]
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-skl6/igt@[email protected]
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-skl3/igt@[email protected]
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-skl3/igt@[email protected]
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-skl1/igt@[email protected]
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-skl2/igt@[email protected]
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-skl10/igt@[email protected]
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-skl4/igt@[email protected]
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-skl10/igt@[email protected]
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-skl9/igt@[email protected]
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-skl2/igt@[email protected]
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-skl1/igt@[email protected]
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-skl7/igt@[email protected]
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-skl7/igt@[email protected]
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-skl2/igt@[email protected]
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-skl10/igt@[email protected]
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-skl6/igt@[email protected]
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-skl9/igt@[email protected]
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9206/shard-skl7/igt@[email protected]
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-skl9/igt@[email protected]
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-skl6/igt@[email protected]
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-skl8/igt@[email protected]
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-skl10/igt@[email protected]
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-skl9/igt@[email protected]
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-skl6/igt@[email protected]
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-skl1/igt@[email protected]
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-skl3/igt@[email protected]
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-skl2/igt@[email protected]
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-skl7/igt@[email protected]
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-skl4/igt@[email protected]
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-skl7/igt@[email protected]
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-skl2/igt@[email protected]
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-skl3/igt@[email protected]
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-skl7/igt@[email protected]
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-skl6/igt@[email protected]
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-skl7/igt@[email protected]
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/shard-skl8/igt@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[i915#118]: https://gitlab.freedesktop.org/drm/intel/issues/118
[i915#123]: https://gitlab.freedesktop.org/drm/intel/issues/123
[i915#1436]: https://gitlab.freedesktop.org/drm/intel/issues/1436
[i915#1611]: https://gitlab.freedesktop.org/drm/intel/issues/1611
[i915#1635]: https://gitlab.freedesktop.org/drm/intel/issues/1635
[i915#165]: https://gitlab.freedesktop.org/drm/intel/issues/165
[i915#1731]: https://gitlab.freedesktop.org/drm/intel/issues/1731
[i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
[i915#1814]: https://gitlab.freedesktop.org/drm/intel/issues/1814
[i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
[i915#2521]: https://gitlab.freedesktop.org/drm/intel/issues/2521
[i915#2606]: https://gitlab.freedesktop.org/drm/intel/issues/2606
[i915#54]: https://gitlab.freedesktop.org/drm/intel/issues/54
[i915#716]: https://gitlab.freedesktop.org/drm/intel/issues/716
[i915#78]: https://gitlab.freedesktop.org/drm/intel/issues/78
[i915#95]: https://gitlab.freedesktop.org/drm/intel/issues/95
Participating hosts (11 -> 10)
------------------------------
Missing (1): pig-icl-1065g7
Build changes
-------------
* Linux: CI_DRM_9206 -> Patchwork_18791
CI-20190529: 20190529
CI_DRM_9206: 85ce674ff932ed7ca41aef52d8bb42c04fbe2171 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5827: 7fd7e3fb8b42eb4e62a4575f6edc5a048e5bec3d @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_18791: e59e0901b431381ef63c25b9cb2ae479c54d2c3e @ git://anongit.freedesktop.org/gfx-ci/linux
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_18791/index.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx