mtl: add support for pmdemand
Subsystems (3)
v13 cover mtl: add support for pmdemand
SAGV configuration support for MTL
v2: added one missing patch in the previous version
v3: chekcpatch warning fixes
update index handling for the icl/tgl QGV point handling program pmdemand code simplified
v4: update to debufs and pipe values pmdemand regiters
removed the macro usage in update_pmdemand_values
V5: Addressing comments from Gustavo and Jani
And some other fixes for issues from CI
v6: Addressing some comments from Gustavo
Updates to pmdemand state struct, active phys calculations Got rid of suppress warning patch from v5
v7: Rebased and updates to max ddiclk and active phys calculations
v8: updates to active phys calcuations
v9: Address styling issues
v10: Updates to phys calculation, pmdemand state initialization during
HW readout / sanitization
v11: Fix CI checkpatch warnings
v12: Addressing comments
v13: Updates based on imre's comments to handle non serialize cases,
updates tp phys mask during sanitize calls after HW readout
Mika Kahola (1):
drm/i915/mtl: Add support for PM DEMAND
Vinod Govindapillai (6):
drm/i915: fix the derating percentage for MTL drm/i915: update the QGV point frequency calculations drm/i915: store the peak bw per QGV point
drm/i915: extract intel_bw_check_qgv_points() drm/i915: modify max_bw to return index to intel_bw_info drm/i915/mtl: find the best QGV point for the SAGV configuration
drivers/gpu/drm/i915/Makefile | 1 + drivers/gpu/drm/i915/display/intel_bw.c | 345 ++++++--- drivers/gpu/drm/i915/display/intel_bw.h | 6 + drivers/gpu/drm/i915/display/intel_display.c | 14 + .../gpu/drm/i915/display/intel_display_core.h | 11 + .../drm/i915/display/intel_display_driver.c | 7 + .../gpu/drm/i915/display/intel_display_irq.c | 23 +- .../drm/i915/display/intel_display_power.c | 14 +- .../drm/i915/display/intel_modeset_setup.c | 36 + drivers/gpu/drm/i915/display/intel_pmdemand.c | 667 ++++++++++++++++++ drivers/gpu/drm/i915/display/intel_pmdemand.h | 58 ++ drivers/gpu/drm/i915/i915_reg.h | 36 +- 12 files changed, 1095 insertions(+), 123 deletions(-) create mode 100644 drivers/gpu/drm/i915/display/intel_pmdemand.c create mode 100644 drivers/gpu/drm/i915/display/intel_pmdemand.h
Signature · 1 line
2.34.1
PATCH v13 1/7 drm/i915: fix the derating percentage for MTL
Follow the values from bspec for the percentage overhead for efficiency in MTL BW calculations.
Bspec: 64631
--- drivers/gpu/drm/i915/display/intel_bw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/display/intel_bw.c +1 -1
@@ -379,7 +379,7 @@ static const struct intel_sa_info mtl_sa_info = { .deburst = 32, .deprogbwlimit = 38, /* GB/s */ .displayrtids = 256, - .derating = 20, + .derating = 10, };static int icl_get_bw_info (struct drm_i915_private *dev_priv,const struct intel_sa_info *sa)
Signature · 1 line
2.34.1
PATCH v13 2/7 drm/i915: update the QGV point frequency calculations
In reply to Vinod GovindapillaiFrom MTL onwwards, pcode locks the QGV point based on peak BW of the intended QGV point passed by the driver. So the peak BW calculation must match the value expected by the pcode. Update the calculations as per the Bspec.
v2: use DIV_ROUND_* macro for the calculations (Ville)
v3: Use only DIV_ROUN_CLOSEST and remove divisor / 2 again
Bspec: 64636
--- drivers/gpu/drm/i915/display/intel_bw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/display/intel_bw.c +1 -1
@@ -182,7 +182,7 @@ static int mtl_read_qgv_point_info(struct drm_i915_private *dev_priv, val2 =intel_uncore_read (&dev_priv->uncore,MTL_MEM_SS_INFO_QGV_POINT_HIGH (point)); dclk =REG_FIELD_GET (MTL_DCLK_MASK , val); - sp->dclk =DIV_ROUND_UP ((16667 * dclk),1000 ); + sp->dclk =DIV_ROUND_CLOSEST (16667 * dclk,1000 ); sp->t_rp =REG_FIELD_GET (MTL_TRP_MASK , val); sp->t_rcd =REG_FIELD_GET (MTL_TRCD_MASK , val);
Signature · 1 line
2.34.1
PATCH v13 3/7 drm/i915: store the peak bw per QGV point
In reply to Vinod GovindapillaiIn MTL onwards, pcode locks the GV point based on the peak BW of a QGV point. So store the peak BW of all the QGV points.
v2: use DIV_ROUND_CLOSEST() for the peakBW calculation
Bspec: 64636
--- drivers/gpu/drm/i915/display/intel_bw.c | 8 ++++++-- drivers/gpu/drm/i915/display/intel_display_core.h | 2 ++ 2 files changed, 8 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/display/intel_bw.c +6 -2
@@ -534,10 +534,14 @@ static int tgl_get_bw_info(struct drm_i915_private *dev_priv, const struct intel bi->deratedbw[j] =min (maxdebw, bw * (100 - sa->derating) /100 ); + bi->peakbw[j] =DIV_ROUND_CLOSEST (sp->dclk * + num_channels * + qi.channel_width,8 );drm_dbg_kms (&dev_priv->drm, -"BW%d / QGV %d: num_planes=%d deratedbw=%u\n" , - i, j, bi->num_planes, bi->deratedbw[j]); +"BW%d / QGV %d: num_planes=%d deratedbw=%u peakbw: %u\n" , + i, j, bi->num_planes, bi->deratedbw[j], + bi->peakbw[j]); }for (j =0 ; j < qi.num_psf_points; j++) {
drivers/gpu/drm/i915/display/intel_display_core.h +2 -0
@@ -314,6 +314,8 @@ struct intel_display {unsigned int deratedbw[I915_NUM_QGV_POINTS ];/* for each PSF GV point */ unsigned int psf_bw[I915_NUM_PSF_GV_POINTS ]; +/* Peak BW for each QGV point */ +unsigned int peakbw[I915_NUM_QGV_POINTS ];u8 num_qgv_points;u8 num_psf_gv_points;u8 num_planes;
Signature · 1 line
2.34.1
PATCH v13 4/7 drm/i915: extract intel_bw_check_qgv_points()
In reply to Vinod GovindapillaiExtract intel_bw_check_qgv_points() from intel_bw_atomic_check to facilitate future platform variations in handling SAGV configurations.
--- drivers/gpu/drm/i915/display/intel_bw.c | 235 +++++++++++++----------- 1 file changed, 130 insertions(+), 105 deletions(-)
drivers/gpu/drm/i915/display/intel_bw.c +130 -105
@@ -803,6 +803,128 @@ intel_atomic_get_bw_state(struct intel_atomic_state *state)return to_intel_bw_state (bw_state); } +static int icl_find_qgv_points (struct drm_i915_private *i915, +unsigned int data_rate, +unsigned int num_active_planes, +const struct intel_bw_state *old_bw_state, +struct intel_bw_state *new_bw_state) +{ +unsigned int max_bw_point =0 ; +unsigned int max_bw =0 ; +unsigned int num_psf_gv_points = i915->display.bw.max[0 ].num_psf_gv_points; +unsigned int num_qgv_points = i915->display.bw.max[0 ].num_qgv_points; +u16 psf_points =0 ; +u16 qgv_points =0 ; +int i; +int ret; + + ret =intel_atomic_lock_global_state (&new_bw_state->base); +if (ret) +return ret; + +for (i =0 ; i < num_qgv_points; i++) { +unsigned int max_data_rate; + +if (DISPLAY_VER (i915) >11 ) + max_data_rate =tgl_max_bw (i915, num_active_planes, i); +else + max_data_rate =icl_max_bw (i915, num_active_planes, i); +/* +* We need to know which qgv point gives us +* maximum bandwidth in order to disable SAGV +* if we find that we exceed SAGV block time +* with watermarks. By that moment we already +* have those, as it is calculated earlier in +* intel_atomic_check, +*/ +if (max_data_rate > max_bw) { + max_bw_point = i; + max_bw = max_data_rate; + } +if (max_data_rate >= data_rate) + qgv_points |=BIT (i); + +drm_dbg_kms (&i915->drm,"QGV point %d: max bw %d required %d\n" , + i, max_data_rate, data_rate); + } + +for (i =0 ; i < num_psf_gv_points; i++) { +unsigned int max_data_rate =adl_psf_bw (i915, i); + +if (max_data_rate >= data_rate) + psf_points |=BIT (i); + +drm_dbg_kms (&i915->drm,"PSF GV point %d: max bw %d" +" required %d\n" , + i, max_data_rate, data_rate); + } + +/* +* BSpec states that we always should have at least one allowed point +* left, so if we couldn't - simply reject the configuration for obvious +* reasons. +*/ +if (qgv_points ==0 ) { +drm_dbg_kms (&i915->drm,"No QGV points provide sufficient memory" +" bandwidth %d for display configuration(%d active planes).\n" , + data_rate, num_active_planes); +return -EINVAL ; + } + +if (num_psf_gv_points >0 && psf_points ==0 ) { +drm_dbg_kms (&i915->drm,"No PSF GV points provide sufficient memory" +" bandwidth %d for display configuration(%d active planes).\n" , + data_rate, num_active_planes); +return -EINVAL ; + } + +/* +* Leave only single point with highest bandwidth, if +* we can't enable SAGV due to the increased memory latency it may +* cause. +*/ +if (!intel_can_enable_sagv (i915, new_bw_state)) { + qgv_points =BIT (max_bw_point); +drm_dbg_kms (&i915->drm,"No SAGV, using single QGV point %d\n" , + max_bw_point); + } + +/* +* We store the ones which need to be masked as that is what PCode +* actually accepts as a parameter. +*/ + new_bw_state->qgv_points_mask = + ~(ICL_PCODE_REQ_QGV_PT (qgv_points) | +ADLS_PCODE_REQ_PSF_PT (psf_points)) & +icl_qgv_points_mask (i915); + +/* +* If the actual mask had changed we need to make sure that +* the commits are serialized(in case this is a nomodeset, nonblocking) +*/ +if (new_bw_state->qgv_points_mask != old_bw_state->qgv_points_mask) { + ret =intel_atomic_serialize_global_state (&new_bw_state->base); +if (ret) +return ret; + } + +return 0 ; +} + +static int intel_bw_check_qgv_points (struct drm_i915_private *i915, +const struct intel_bw_state *old_bw_state, +struct intel_bw_state *new_bw_state) +{ +unsigned int data_rate =intel_bw_data_rate (i915, new_bw_state); +unsigned int num_active_planes = +intel_bw_num_active_planes (i915, new_bw_state); + + data_rate =DIV_ROUND_UP (data_rate,1000 ); + +return icl_find_qgv_points (i915, data_rate, num_active_planes, + old_bw_state, new_bw_state); +} +static bool intel_bw_state_changed (struct drm_i915_private *i915,const struct intel_bw_state *old_bw_state,const struct intel_bw_state *new_bw_state)
@@ -1049,20 +1171,14 @@ static int intel_bw_check_data_rate(struct intel_atomic_state *state, bool *chanint intel_bw_atomic_check (struct intel_atomic_state *state) { -struct drm_i915_private *dev_priv =to_i915 (state->base.dev); -const struct intel_bw_state *old_bw_state; -struct intel_bw_state *new_bw_state; -unsigned int data_rate; -unsigned int num_active_planes; -int i, ret; -u16 qgv_points =0 , psf_points =0 ; -unsigned int max_bw_point =0 , max_bw =0 ; -unsigned int num_qgv_points = dev_priv->display.bw.max[0 ].num_qgv_points; -unsigned int num_psf_gv_points = dev_priv->display.bw.max[0 ].num_psf_gv_points;bool changed = false; +struct drm_i915_private *i915 =to_i915 (state->base.dev); +struct intel_bw_state *new_bw_state; +const struct intel_bw_state *old_bw_state; +int ret;/* FIXME earlier gens need some checks too */ -if (DISPLAY_VER (dev_priv) <11 ) +if (DISPLAY_VER (i915) <11 )return 0 ; ret =intel_bw_check_data_rate (state, &changed);
@@ -1073,8 +1189,8 @@ int intel_bw_atomic_check(struct intel_atomic_state *state) new_bw_state =intel_atomic_get_new_bw_state (state);if (new_bw_state && -intel_can_enable_sagv (dev_priv, old_bw_state) != -intel_can_enable_sagv (dev_priv, new_bw_state)) +intel_can_enable_sagv (i915, old_bw_state) != +intel_can_enable_sagv (i915, new_bw_state)) changed = true;/*
@@ -1084,101 +1200,10 @@ int intel_bw_atomic_check(struct intel_atomic_state *state)if (!changed)return 0 ; - ret =intel_atomic_lock_global_state (&new_bw_state->base); + ret =intel_bw_check_qgv_points (i915, old_bw_state, new_bw_state);if (ret)return ret; - data_rate =intel_bw_data_rate (dev_priv, new_bw_state); - data_rate =DIV_ROUND_UP (data_rate,1000 ); - - num_active_planes =intel_bw_num_active_planes (dev_priv, new_bw_state); - -for (i =0 ; i < num_qgv_points; i++) { -unsigned int max_data_rate; - -if (DISPLAY_VER (dev_priv) >11 ) - max_data_rate =tgl_max_bw (dev_priv, num_active_planes, i); -else - max_data_rate =icl_max_bw (dev_priv, num_active_planes, i); -/* -* We need to know which qgv point gives us -* maximum bandwidth in order to disable SAGV -* if we find that we exceed SAGV block time -* with watermarks. By that moment we already -* have those, as it is calculated earlier in -* intel_atomic_check, -*/ -if (max_data_rate > max_bw) { - max_bw_point = i; - max_bw = max_data_rate; - } -if (max_data_rate >= data_rate) - qgv_points |=BIT (i); - -drm_dbg_kms (&dev_priv->drm,"QGV point %d: max bw %d required %d\n" , - i, max_data_rate, data_rate); - } - -for (i =0 ; i < num_psf_gv_points; i++) { -unsigned int max_data_rate =adl_psf_bw (dev_priv, i); - -if (max_data_rate >= data_rate) - psf_points |=BIT (i); - -drm_dbg_kms (&dev_priv->drm,"PSF GV point %d: max bw %d" -" required %d\n" , - i, max_data_rate, data_rate); - } - -/* -* BSpec states that we always should have at least one allowed point -* left, so if we couldn't - simply reject the configuration for obvious -* reasons. -*/ -if (qgv_points ==0 ) { -drm_dbg_kms (&dev_priv->drm,"No QGV points provide sufficient memory" -" bandwidth %d for display configuration(%d active planes).\n" , - data_rate, num_active_planes); -return -EINVAL ; - } - -if (num_psf_gv_points >0 && psf_points ==0 ) { -drm_dbg_kms (&dev_priv->drm,"No PSF GV points provide sufficient memory" -" bandwidth %d for display configuration(%d active planes).\n" , - data_rate, num_active_planes); -return -EINVAL ; - } - -/* -* Leave only single point with highest bandwidth, if -* we can't enable SAGV due to the increased memory latency it may -* cause. -*/ -if (!intel_can_enable_sagv (dev_priv, new_bw_state)) { - qgv_points =BIT (max_bw_point); -drm_dbg_kms (&dev_priv->drm,"No SAGV, using single QGV point %d\n" , - max_bw_point); - } - -/* -* We store the ones which need to be masked as that is what PCode -* actually accepts as a parameter. -*/ - new_bw_state->qgv_points_mask = - ~(ICL_PCODE_REQ_QGV_PT (qgv_points) | -ADLS_PCODE_REQ_PSF_PT (psf_points)) & -icl_qgv_points_mask (dev_priv); - -/* -* If the actual mask had changed we need to make sure that -* the commits are serialized(in case this is a nomodeset, nonblocking) -*/ -if (new_bw_state->qgv_points_mask != old_bw_state->qgv_points_mask) { - ret =intel_atomic_serialize_global_state (&new_bw_state->base); -if (ret) -return ret; - } -return 0 ; }
Signature · 1 line
2.34.1
PATCH v13 5/7 drm/i915: modify max_bw to return index to intel_bw_info
In reply to Vinod GovindapillaiMTL uses the peak BW of a QGV point to lock the required QGV point instead of the QGV index. Instead of passing the deratedbw of the selected bw_info, return the index to the selected bw_info so that either deratedbw or peakbw can be used based on the platform.
v2: use idx to store index returned by max_bw_index functions
v3: return UINT_MAX in icl_max_bw_index in case no match found
v3: check idx >= ARRAY_SIZE
--- drivers/gpu/drm/i915/display/intel_bw.c | 27 ++++++++++++++++--------- 1 file changed, 17 insertions(+), 10 deletions(-)
drivers/gpu/drm/i915/display/intel_bw.c +17 -10
@@ -593,8 +593,8 @@ static void dg2_get_bw_info(struct drm_i915_private *i915) i915->display.sagv.status =I915_SAGV_NOT_CONTROLLED ; } -static unsigned int icl_max_bw (struct drm_i915_private *dev_priv, -int num_planes,int qgv_point) +static unsigned int icl_max_bw_index (struct drm_i915_private *dev_priv, +int num_planes,int qgv_point) {int i;
@@ -615,14 +615,14 @@ static unsigned int icl_max_bw(struct drm_i915_private *dev_priv,return UINT_MAX ;if (num_planes >= bi->num_planes) -return bi->deratedbw[qgv_point]; +return i; } -return 0 ; +return UINT_MAX ; } -static unsigned int tgl_max_bw (struct drm_i915_private *dev_priv, -int num_planes,int qgv_point) +static unsigned int tgl_max_bw_index (struct drm_i915_private *dev_priv, +int num_planes,int qgv_point) {int i;
@@ -643,10 +643,10 @@ static unsigned int tgl_max_bw(struct drm_i915_private *dev_priv,return UINT_MAX ;if (num_planes <= bi->num_planes) -return bi->deratedbw[qgv_point]; +return i; } -return dev_priv->display.bw.max[0 ].deratedbw[qgv_point]; +return 0 ; } static unsigned int adl_psf_bw(struct drm_i915_private *dev_priv,
@@ -823,12 +823,19 @@ static int icl_find_qgv_points(struct drm_i915_private *i915,return ret;for (i =0 ; i < num_qgv_points; i++) { +unsigned int idx;unsigned int max_data_rate;if (DISPLAY_VER (i915) >11 ) - max_data_rate =tgl_max_bw (i915, num_active_planes, i); + idx =tgl_max_bw_index (i915, num_active_planes, i);else - max_data_rate =icl_max_bw (i915, num_active_planes, i); + idx =icl_max_bw_index (i915, num_active_planes, i); + +if (idx >=ARRAY_SIZE (i915->display.bw.max)) +continue ; + + max_data_rate = i915->display.bw.max[idx].deratedbw[i]; +/* * We need to know which qgv point gives us * maximum bandwidth in order to disable SAGV
Signature · 1 line
2.34.1
PATCH v13 6/7 drm/i915/mtl: find the best QGV point for the SAGV configuration
In reply to Vinod GovindapillaiFrom MTL onwards, we need to find the best QGV point based on the required data rate and pass the peak BW of that point to the punit to lock the corresponding QGV point.
v1: Fix for warning from kernel test robot
v2: No need to serialize for the peakbw change as pmdemand code
will do that (Imre)
Bspec: 64636
--- drivers/gpu/drm/i915/display/intel_bw.c | 79 ++++++++++++++++++++++++- drivers/gpu/drm/i915/display/intel_bw.h | 6 ++ 2 files changed, 83 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/display/intel_bw.c +77 -2
@@ -803,6 +803,77 @@ intel_atomic_get_bw_state(struct intel_atomic_state *state)return to_intel_bw_state (bw_state); } +static int mtl_find_qgv_points (struct drm_i915_private *i915, +unsigned int data_rate, +unsigned int num_active_planes, +struct intel_bw_state *new_bw_state) +{ +unsigned int best_rate =UINT_MAX ; +unsigned int num_qgv_points = i915->display.bw.max[0 ].num_qgv_points; +unsigned int qgv_peak_bw =0 ; +int i; +int ret; + + ret =intel_atomic_lock_global_state (&new_bw_state->base); +if (ret) +return ret; + +/* +* If SAGV cannot be enabled, disable the pcode SAGV by passing all 1's +* for qgv peak bw in PM Demand request. So assign UINT_MAX if SAGV is +* not enabled. PM Demand code will clamp the value for the register +*/ +if (!intel_can_enable_sagv (i915, new_bw_state)) { + new_bw_state->qgv_point_peakbw =U16_MAX ; +drm_dbg_kms (&i915->drm,"No SAGV, use UINT_MAX as peak bw." ); +return 0 ; + } + +/* +* Find the best QGV point by comparing the data_rate with max data rate +* offered per plane group +*/ +for (i =0 ; i < num_qgv_points; i++) { +unsigned int bw_index = +tgl_max_bw_index (i915, num_active_planes, i); +unsigned int max_data_rate; + +if (bw_index >=ARRAY_SIZE (i915->display.bw.max)) +continue ; + + max_data_rate = i915->display.bw.max[bw_index].deratedbw[i]; + +if (max_data_rate < data_rate) +continue ; + +if (max_data_rate - data_rate < best_rate) { + best_rate = max_data_rate - data_rate; + qgv_peak_bw = i915->display.bw.max[bw_index].peakbw[i]; + } + +drm_dbg_kms (&i915->drm,"QGV point %d: max bw %d required %d qgv_peak_bw: %d\n" , + i, max_data_rate, data_rate, qgv_peak_bw); + } + +drm_dbg_kms (&i915->drm,"Matching peaks QGV bw: %d for required data rate: %d\n" , + qgv_peak_bw, data_rate); + +/* +* The display configuration cannot be supported if no QGV point +* satisfying the required data rate is found +*/ +if (qgv_peak_bw ==0 ) { +drm_dbg_kms (&i915->drm,"No QGV points for bw %d for display configuration(%d active planes).\n" , + data_rate, num_active_planes); +return -EINVAL ; + } + +/* MTL PM DEMAND expects QGV BW parameter in multiples of 100 mbps */ + new_bw_state->qgv_point_peakbw =DIV_ROUND_CLOSEST (qgv_peak_bw,100 ); + +return 0 ; +} + static int icl_find_qgv_points(struct drm_i915_private *i915, unsigned int data_rate, unsigned int num_active_planes,
@@ -928,8 +999,12 @@ static int intel_bw_check_qgv_points(struct drm_i915_private *i915, data_rate =DIV_ROUND_UP (data_rate,1000 ); -return icl_find_qgv_points (i915, data_rate, num_active_planes, - old_bw_state, new_bw_state); +if (DISPLAY_VER (i915) >=14 ) +return mtl_find_qgv_points (i915, data_rate, num_active_planes, + new_bw_state); +else +return icl_find_qgv_points (i915, data_rate, num_active_planes, + old_bw_state, new_bw_state); } static bool intel_bw_state_changed(struct drm_i915_private *i915,
drivers/gpu/drm/i915/display/intel_bw.h +6 -0
@@ -34,6 +34,12 @@ struct intel_bw_state {/* bitmask of active pipes */ u8 active_pipes; +/* +* From MTL onwards, to lock a QGV point, punit expects the peak BW of +* the selected QGV point as the parameter in multiples of 100MB/s +*/ +u16 qgv_point_peakbw; +/* * Current QGV points mask, which restricts * some particular SAGV states, not to confuse
Signature · 1 line
2.34.1
PATCH v13 7/7 drm/i915/mtl: Add support for PM DEMAND
In reply to Vinod GovindapillaiFrom: Mika Kahola <[email protected]>
MTL introduces a new way to instruct the PUnit with power and bandwidth requirements of DE. Add the functionality to program the registers and handle waits using interrupts. The current wait time for timeouts is programmed for 10 msecs to factor in the worst case scenarios. Changes made to use REG_BIT for a register that we touched(GEN8_DE_MISC_IER _MMIO).
Wa_14016740474 is added which applies to Xe_LPD+ display
v2: checkpatch warning fixes, simplify program pmdemand part
v3: update to dbufs and pipes values to pmdemand register(stan)
Removed the macro usage in update_pmdemand_values()
v4: move the pmdemand_pre_plane_update before cdclk update
pmdemand_needs_update included cdclk params comparisons pmdemand_state NULL check (Gustavo)
pmdemand.o in sorted order in the makefile (Jani) update pmdemand misc irq handler loop (Gustavo) active phys bitmask and programming correction (Gustavo)
v5: simplify pmdemand_state structure
simplify methods to find active phys and max port clock Timeout in case of previou pmdemand task pending (Gustavo)
v6: rebasing
updates to max_ddiclk calculations (Gustavo)
updates to active_phys count method (Gustavo)
v7: use two separate loop to iterate throug old and new
crtc states to calculate the active phys (Gustavo)
v8: use uniform function names (Gustavo)
v9: For phys change iterate through connectors (Imre)
Look for change in phys for pmdemand update (Gustavo, Imre) Some more stlying changes (Imre)
Update pmdemand state during HW readout/sanitize (Imre)
v10: Fix CI checkpatch warnings
v11: use correct pmdemand object pointer during hw readout,
simplify the check for phys need update (Gustavo)
v12: Handle possible non serialize cases (Imre)
Initialise also pmdemand params HW readout (Imre) Update active phys mask during sanitize calls (Imre) Check TC/encoder changes to limit connector update (Imre)
Bspec: 66451, 64636, 64602, 64603
--- drivers/gpu/drm/i915/Makefile | 1 + drivers/gpu/drm/i915/display/intel_display.c | 14 + .../gpu/drm/i915/display/intel_display_core.h | 9 + .../drm/i915/display/intel_display_driver.c | 7 + .../gpu/drm/i915/display/intel_display_irq.c | 23 +- .../drm/i915/display/intel_display_power.c | 14 +- .../drm/i915/display/intel_modeset_setup.c | 36 + drivers/gpu/drm/i915/display/intel_pmdemand.c | 667 ++++++++++++++++++ drivers/gpu/drm/i915/display/intel_pmdemand.h | 58 ++ drivers/gpu/drm/i915/i915_reg.h | 36 +- 10 files changed, 859 insertions(+), 6 deletions(-) create mode 100644 drivers/gpu/drm/i915/display/intel_pmdemand.c create mode 100644 drivers/gpu/drm/i915/display/intel_pmdemand.h
drivers/gpu/drm/i915/Makefile +1 -0
@@ -269,6 +269,7 @@ i915-y += \ display/intel_pch_display.o \ display/intel_pch_refclk.o \ display/intel_plane_initial.o \ + display/intel_pmdemand.o \ display/intel_psr.o \ display/intel_quirks.o \ display/intel_sprite.o \
drivers/gpu/drm/i915/display/intel_display.c +14 -0
@@ -99,6 +99,7 @@#include "intel_pcode.h" #include "intel_pipe_crc.h" #include "intel_plane_initial.h" +#include "intel_pmdemand.h" #include "intel_pps.h" #include "intel_psr.h" #include "intel_sdvo.h"
@@ -6352,6 +6353,10 @@ int intel_atomic_check(struct drm_device *dev,return ret; } + ret =intel_pmdemand_atomic_check (state); +if (ret) + goto fail; + ret =intel_atomic_check_crtcs (state);if (ret) goto fail;
@@ -6997,6 +7002,14 @@ static void intel_atomic_commit_tail(struct intel_atomic_state *state)for_each_new_intel_crtc_in_state (state, crtc, new_crtc_state, i) crtc->config = new_crtc_state; +/* +* In XE_LPD+ Pmdemand combines many parameters such as voltage index, +* plls, cdclk frequency, QGV point selection parameter etc. Voltage +* index, cdclk/ddiclk frequencies are supposed to be configured before +* the cdclk config is set. +*/ +intel_pmdemand_pre_plane_update (state); +if (state->modeset) {drm_atomic_helper_update_legacy_modeset_state (dev, &state->base);
@@ -7116,6 +7129,7 @@ static void intel_atomic_commit_tail(struct intel_atomic_state *state)intel_verify_planes (state);intel_sagv_post_plane_update (state); +intel_pmdemand_post_plane_update (state);drm_atomic_helper_commit_hw_done (&state->base);
drivers/gpu/drm/i915/display/intel_display_core.h +9 -0
@@ -345,6 +345,15 @@ struct intel_display {struct intel_global_obj obj; } dbuf; +struct { +wait_queue_head_t waitqueue; + +/* mutex to protect pmdemand programming sequence */ +struct mutex lock; + +struct intel_global_obj obj; + } pmdemand; +struct {/* * dkl.phy_lock protects against concurrent access of the
drivers/gpu/drm/i915/display/intel_display_driver.c +7 -0
@@ -47,6 +47,7 @@#include "intel_opregion.h" #include "intel_overlay.h" #include "intel_plane_initial.h" +#include "intel_pmdemand.h" #include "intel_pps.h" #include "intel_quirks.h" #include "intel_vga.h"
@@ -211,6 +212,8 @@ int intel_display_driver_probe_noirq(struct drm_i915_private *i915)if (ret <0 ) goto cleanup_vga; +intel_pmdemand_init_early (i915); +intel_power_domains_init_hw (i915, false);if (!HAS_DISPLAY (i915))
@@ -240,6 +243,10 @@ int intel_display_driver_probe_noirq(struct drm_i915_private *i915)if (ret) goto cleanup_vga_client_pw_domain_dmc; + ret =intel_pmdemand_init (i915); +if (ret) + goto cleanup_vga_client_pw_domain_dmc; +init_llist_head (&i915->display.atomic_helper.free_list);INIT_WORK (&i915->display.atomic_helper.free_work, intel_atomic_helper_free_state_worker);
drivers/gpu/drm/i915/display/intel_display_irq.c +21 -2
@@ -18,6 +18,7 @@#include "intel_fifo_underrun.h" #include "intel_gmbus.h" #include "intel_hotplug_irq.h" +#include "intel_pmdemand.h" #include "intel_psr.h" #include "intel_psr_regs.h"
@@ -827,12 +828,27 @@ static u32 gen8_de_pipe_fault_mask(struct drm_i915_private *dev_priv)return GEN8_DE_PIPE_IRQ_FAULT_ERRORS ; } +static void intel_pmdemand_irq_handler (struct drm_i915_private *dev_priv) +{ +wake_up_all (&dev_priv->display.pmdemand.waitqueue); +} +static void gen8_de_misc_irq_handler (struct drm_i915_private *dev_priv,u32 iir) {bool found = false; -if (iir &GEN8_DE_MISC_GSE ) { +if (DISPLAY_VER (dev_priv) >=14 ) { +if (iir & (XELPDP_PMDEMAND_RSP | +XELPDP_PMDEMAND_RSPTOUT_ERR )) { +if (iir &XELPDP_PMDEMAND_RSPTOUT_ERR ) +drm_dbg (&dev_priv->drm, +"Error waiting for Punit PM Demand Response\n" ); + +intel_pmdemand_irq_handler (dev_priv); + found = true; + } + }else if (iir &GEN8_DE_MISC_GSE ) {intel_opregion_asle_intr (dev_priv); found = true; }
@@ -1576,7 +1592,10 @@ void gen8_de_irq_postinstall(struct drm_i915_private *dev_priv)if (IS_GEMINILAKE (dev_priv) ||IS_BROXTON (dev_priv)) de_port_masked |=BXT_DE_PORT_GMBUS ; -if (DISPLAY_VER (dev_priv) >=11 ) { +if (DISPLAY_VER (dev_priv) >=14 ) { + de_misc_masked |=XELPDP_PMDEMAND_RSPTOUT_ERR | +XELPDP_PMDEMAND_RSP ; + }else if (DISPLAY_VER (dev_priv) >=11 ) {enum port port;if (intel_bios_is_dsi_present (dev_priv, &port))
drivers/gpu/drm/i915/display/intel_display_power.c +12 -2
@@ -20,6 +20,7 @@#include "intel_mchbar_regs.h" #include "intel_pch_refclk.h" #include "intel_pcode.h" +#include "intel_pmdemand.h" #include "intel_pps_regs.h" #include "intel_snps_phy.h" #include "skl_watermark.h"
@@ -1082,20 +1083,29 @@ void gen9_dbuf_slices_update(struct drm_i915_private *dev_priv,static void gen9_dbuf_enable (struct drm_i915_private *dev_priv) { +u8 slices_mask; + dev_priv->display.dbuf.enabled_slices =intel_enabled_dbuf_slices_mask (dev_priv); + slices_mask =BIT (DBUF_S1 ) | dev_priv->display.dbuf.enabled_slices; + +if (DISPLAY_VER (dev_priv) >=14 ) +intel_pmdemand_program_dbuf (dev_priv, slices_mask); +/* * Just power up at least 1 slice, we will * figure out later which slices we have and what we need. */ -gen9_dbuf_slices_update (dev_priv,BIT (DBUF_S1 ) | - dev_priv->display.dbuf.enabled_slices); +gen9_dbuf_slices_update (dev_priv, slices_mask); }static void gen9_dbuf_disable (struct drm_i915_private *dev_priv) {gen9_dbuf_slices_update (dev_priv,0 ); + +if (DISPLAY_VER (dev_priv) >=14 ) +intel_pmdemand_program_dbuf (dev_priv,0 ); }static void gen12_dbuf_slices_config (struct drm_i915_private *dev_priv)
drivers/gpu/drm/i915/display/intel_modeset_setup.c +36 -0
@@ -26,6 +26,7 @@#include "intel_fifo_underrun.h" #include "intel_modeset_setup.h" #include "intel_pch_display.h" +#include "intel_pmdemand.h" #include "intel_tc.h" #include "intel_vblank.h" #include "intel_wm.h"
@@ -115,14 +116,22 @@ static void set_encoder_for_connector(struct intel_connector *connector,static void reset_encoder_connector_state (struct intel_encoder *encoder) {struct drm_i915_private *i915 =to_i915 (encoder->base.dev); +struct intel_pmdemand_state *pmdemand_state = +to_intel_pmdemand_state (i915->display.pmdemand.obj.state);struct intel_connector *connector;struct drm_connector_list_iter conn_iter;drm_connector_list_iter_begin (&i915->drm, &conn_iter);for_each_intel_connector_iter (connector, &conn_iter) { +enum phy phy; +if (connector->base.encoder != &encoder->base)continue ; + phy =intel_port_to_phy (i915, encoder->port); +if (!intel_phy_is_tc (i915, phy)) + pmdemand_state->active_phys_mask &= ~BIT (phy); +set_encoder_for_connector (connector,NULL ); connector->base.dpms =DRM_MODE_DPMS_OFF ;
@@ -151,6 +160,8 @@ static void intel_crtc_disable_noatomic_complete(struct intel_crtc *crtc)to_intel_cdclk_state (i915->display.cdclk.obj.state);struct intel_dbuf_state *dbuf_state =to_intel_dbuf_state (i915->display.dbuf.obj.state); +struct intel_pmdemand_state *pmdemand_state = +to_intel_pmdemand_state (i915->display.pmdemand.obj.state);struct intel_crtc_state *crtc_state =to_intel_crtc_state (crtc->base.state);enum pipe pipe = crtc->pipe;
@@ -174,6 +185,8 @@ static void intel_crtc_disable_noatomic_complete(struct intel_crtc *crtc) bw_state->data_rate[pipe] =0 ; bw_state->num_active_planes[pipe] =0 ; + + pmdemand_state->ddi_clocks[pipe] =0 ; }/*
@@ -552,6 +565,8 @@ static void intel_sanitize_encoder(struct intel_encoder *encoder)struct intel_crtc *crtc =to_intel_crtc (encoder->base.crtc);struct intel_crtc_state *crtc_state = crtc ?to_intel_crtc_state (crtc->base.state) :NULL ; +struct intel_pmdemand_state *pmdemand_state = +to_intel_pmdemand_state (i915->display.pmdemand.obj.state);/* * We need to check both for a crtc link (meaning that the encoder is
@@ -570,11 +585,17 @@ static void intel_sanitize_encoder(struct intel_encoder *encoder) connector =intel_encoder_find_connector (encoder);if (connector && !has_active_crtc) { +enum phy phy; +drm_dbg_kms (&i915->drm,"[ENCODER:%d:%s] has active connectors but no active pipe!\n" , encoder->base.base.id, encoder->base.name); + phy =intel_port_to_phy (i915, encoder->port); +if (!intel_phy_is_tc (i915, phy)) + pmdemand_state->active_phys_mask &= ~BIT (phy); +/* * Connector is active, but has no active pipe. This is fallout * from our resume register restoring. Disable the encoder
@@ -661,6 +682,9 @@ static void intel_modeset_readout_hw_state(struct drm_i915_private *i915)to_intel_cdclk_state (i915->display.cdclk.obj.state);struct intel_dbuf_state *dbuf_state =to_intel_dbuf_state (i915->display.dbuf.obj.state); +struct intel_pmdemand_state *pmdemand_state = +to_intel_pmdemand_state (i915->display.pmdemand.obj.state); +u16 active_phys =0 ;enum pipe pipe;struct intel_crtc *crtc;struct intel_encoder *encoder;
@@ -742,6 +766,8 @@ static void intel_modeset_readout_hw_state(struct drm_i915_private *i915)drm_connector_list_iter_begin (&i915->drm, &conn_iter);for_each_intel_connector_iter (connector, &conn_iter) { +enum phy phy; +if (connector->get_hw_state (connector)) {struct intel_crtc_state *crtc_state;struct intel_crtc *crtc;
@@ -764,6 +790,10 @@ static void intel_modeset_readout_hw_state(struct drm_i915_private *i915)drm_connector_mask (&connector->base); crtc_state->uapi.encoder_mask |=drm_encoder_mask (&encoder->base); + + phy =intel_port_to_phy (i915, encoder->port); +if (!intel_phy_is_tc (i915, phy)) + active_phys |=BIT (phy); } }else { connector->base.dpms =DRM_MODE_DPMS_OFF ;
@@ -776,6 +806,8 @@ static void intel_modeset_readout_hw_state(struct drm_i915_private *i915) }drm_connector_list_iter_end (&conn_iter); + pmdemand_state->active_phys_mask = active_phys; +for_each_intel_crtc (&i915->drm, crtc) {struct intel_bw_state *bw_state =to_intel_bw_state (i915->display.bw.obj.state);
@@ -840,9 +872,13 @@ static void intel_modeset_readout_hw_state(struct drm_i915_private *i915) cdclk_state->min_cdclk[crtc->pipe] = min_cdclk; cdclk_state->min_voltage_level[crtc->pipe] = crtc_state->min_voltage_level; + pmdemand_state->ddi_clocks[crtc->pipe] = + crtc_state->port_clock;intel_bw_crtc_update (bw_state, crtc_state); } + +intel_pmdemand_init_pmdemand_params (i915, pmdemand_state); } static void
drivers/gpu/drm/i915/display/intel_pmdemand.c new file +667 -0
667 lines not on this page · raw message
drivers/gpu/drm/i915/display/intel_pmdemand.h new file +58 -0
58 lines not on this page · raw message
drivers/gpu/drm/i915/i915_reg.h +34 -2
@@ -4418,8 +4418,10 @@#define GEN8_DE_MISC_IMR _MMIO(0x44464)#define GEN8_DE_MISC_IIR _MMIO(0x44468)#define GEN8_DE_MISC_IER _MMIO(0x4446c) -#define GEN8_DE_MISC_GSE (1 << 27) -#define GEN8_DE_EDP_PSR (1 << 19) +#define XELPDP_PMDEMAND_RSPTOUT_ERR REG_BIT(27) +#define GEN8_DE_MISC_GSE REG_BIT(27) +#define GEN8_DE_EDP_PSR REG_BIT(19) +#define XELPDP_PMDEMAND_RSP REG_BIT(3)#define GEN8_PCU_ISR _MMIO(0x444e0)#define GEN8_PCU_IMR _MMIO(0x444e4)
@@ -4504,6 +4506,33 @@#define XELPDP_DP_ALT_HPD_LONG_DETECT REG_BIT(1)#define XELPDP_DP_ALT_HPD_SHORT_DETECT REG_BIT(0) +#define XELPDP_INITIATE_PMDEMAND_REQUEST (dword) _MMIO(0x45230 + 4 * (dword)) +#define XELPDP_PMDEMAND_QCLK_GV_BW_MASK REG_GENMASK(31, 16) +#define XELPDP_PMDEMAND_QCLK_GV_BW (x) REG_FIELD_PREP(XELPDP_PMDEMAND_QCLK_GV_BW_MASK, x) +#define XELPDP_PMDEMAND_VOLTAGE_INDEX_MASK REG_GENMASK(14, 12) +#define XELPDP_PMDEMAND_VOLTAGE_INDEX (x) REG_FIELD_PREP(XELPDP_PMDEMAND_VOLTAGE_INDEX_MASK, x) +#define XELPDP_PMDEMAND_QCLK_GV_INDEX_MASK REG_GENMASK(11, 8) +#define XELPDP_PMDEMAND_QCLK_GV_INDEX (x) REG_FIELD_PREP(XELPDP_PMDEMAND_QCLK_GV_INDEX_MASK, x) +#define XELPDP_PMDEMAND_PIPES_MASK REG_GENMASK(7, 6) +#define XELPDP_PMDEMAND_PIPES (x) REG_FIELD_PREP(XELPDP_PMDEMAND_PIPES_MASK, x) +#define XELPDP_PMDEMAND_DBUFS_MASK REG_GENMASK(5, 4) +#define XELPDP_PMDEMAND_DBUFS (x) REG_FIELD_PREP(XELPDP_PMDEMAND_DBUFS_MASK, x) +#define XELPDP_PMDEMAND_PHYS_MASK REG_GENMASK(2, 0) +#define XELPDP_PMDEMAND_PHYS (x) REG_FIELD_PREP(XELPDP_PMDEMAND_PHYS_MASK, x) + +#define XELPDP_PMDEMAND_REQ_ENABLE REG_BIT(31) +#define XELPDP_PMDEMAND_CDCLK_FREQ_MASK REG_GENMASK(30, 20) +#define XELPDP_PMDEMAND_CDCLK_FREQ (x) REG_FIELD_PREP(XELPDP_PMDEMAND_CDCLK_FREQ_MASK, x) +#define XELPDP_PMDEMAND_DDICLK_FREQ_MASK REG_GENMASK(18, 8) +#define XELPDP_PMDEMAND_DDICLK_FREQ (x) REG_FIELD_PREP(XELPDP_PMDEMAND_DDICLK_FREQ_MASK, x) +#define XELPDP_PMDEMAND_SCALERS_MASK REG_GENMASK(6, 4) +#define XELPDP_PMDEMAND_SCALERS (x) REG_FIELD_PREP(XELPDP_PMDEMAND_SCALERS_MASK, x) +#define XELPDP_PMDEMAND_PLLS_MASK REG_GENMASK(2, 0) +#define XELPDP_PMDEMAND_PLLS (x) REG_FIELD_PREP(XELPDP_PMDEMAND_PLLS_MASK, x) + +#define GEN12_DCPR_STATUS_1 _MMIO(0x46440) +#define XELPDP_PMDEMAND_INFLIGHT_STATUS REG_BIT(26) +#define ILK_DISPLAY_CHICKEN2 _MMIO(0x42004)/* Required on all Ironlake and Sandybridge according to the B-Spec. */ #define ILK_ELPIN_409_SELECT REG_BIT(25)
@@ -4663,6 +4692,9 @@#define DCPR_SEND_RESP_IMM REG_BIT(25)#define DCPR_CLEAR_MEMSTAT_DIS REG_BIT(24) +#define XELPD_CHICKEN_DCPR_3 _MMIO(0x46438) +#define DMD_RSP_TIMEOUT_DISABLE REG_BIT(19) +#define SKL_DFSM _MMIO(0x51000)#define SKL_DFSM_DISPLAY_PM_DISABLE (1 << 27)#define SKL_DFSM_DISPLAY_HDCP_DISABLE (1 << 25)
Signature · 1 line
2.34.1
Patchwork
CI[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for mtl: add support for pmdemand (rev13)
In reply to Vinod Govindapillai== Series Details ==
== Series Details ==
Series: mtl: add support for pmdemand (rev13)
URL : https://patchwork.freedesktop.org/series/116949/
State : warning
== Summary ==
Error: dim checkpatch failedcc2b69014ad0 drm/i915: fix the derating percentage for MTLc97fb5253d29 drm/i915: update the QGV point frequency calculations1867f7d89463 drm/i915: store the peak bw per QGV pointc814ff08ef3d drm/i915: extract intel_bw_check_qgv_points()1c54ab78da47 drm/i915: modify max_bw to return index to intel_bw_info898b6bda8ea1 drm/i915/mtl: find the best QGV point for the SAGV configuration 8bd937594756 drm/i915/mtl: Add support for PM DEMAND
Traceback (most recent call last):
File "scripts/spdxcheck.py", line 6, in <module>
from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
Traceback (most recent call last):
File "scripts/spdxcheck.py", line 6, in <module>
from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
-:412: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #412:
new file mode 100644
-:1171: WARNING:LONG_LINE: line length of 106 exceeds 100 columns #1171: FILE: drivers/gpu/drm/i915/i915_reg.h:4514:
+#define XELPDP_PMDEMAND_QCLK_GV_BW(x) REG_FIELD_PREP(XELPDP_PMDEMAND_QCLK_GV_BW_MASK, x)
-:1173: WARNING:LONG_LINE: line length of 109 exceeds 100 columns #1173: FILE: drivers/gpu/drm/i915/i915_reg.h:4516:
+#define XELPDP_PMDEMAND_VOLTAGE_INDEX(x) REG_FIELD_PREP(XELPDP_PMDEMAND_VOLTAGE_INDEX_MASK, x)
-:1175: WARNING:LONG_LINE: line length of 109 exceeds 100 columns #1175: FILE: drivers/gpu/drm/i915/i915_reg.h:4518:
+#define XELPDP_PMDEMAND_QCLK_GV_INDEX(x) REG_FIELD_PREP(XELPDP_PMDEMAND_QCLK_GV_INDEX_MASK, x)
-:1177: WARNING:LONG_LINE: line length of 101 exceeds 100 columns #1177: FILE: drivers/gpu/drm/i915/i915_reg.h:4520:
+#define XELPDP_PMDEMAND_PIPES(x) REG_FIELD_PREP(XELPDP_PMDEMAND_PIPES_MASK, x)
-:1179: WARNING:LONG_LINE: line length of 101 exceeds 100 columns #1179: FILE: drivers/gpu/drm/i915/i915_reg.h:4522:
+#define XELPDP_PMDEMAND_DBUFS(x) REG_FIELD_PREP(XELPDP_PMDEMAND_DBUFS_MASK, x)
-:1185: WARNING:LONG_LINE: line length of 106 exceeds 100 columns #1185: FILE: drivers/gpu/drm/i915/i915_reg.h:4528:
+#define XELPDP_PMDEMAND_CDCLK_FREQ(x) REG_FIELD_PREP(XELPDP_PMDEMAND_CDCLK_FREQ_MASK, x)
-:1187: WARNING:LONG_LINE: line length of 107 exceeds 100 columns #1187: FILE: drivers/gpu/drm/i915/i915_reg.h:4530:
+#define XELPDP_PMDEMAND_DDICLK_FREQ(x) REG_FIELD_PREP(XELPDP_PMDEMAND_DDICLK_FREQ_MASK, x)
-:1189: WARNING:LONG_LINE: line length of 103 exceeds 100 columns #1189: FILE: drivers/gpu/drm/i915/i915_reg.h:4532:
+#define XELPDP_PMDEMAND_SCALERS(x) REG_FIELD_PREP(XELPDP_PMDEMAND_SCALERS_MASK, x)
total: 0 errors, 9 warnings, 0 checks, 1066 lines checked
Patchwork
CI[Intel-gfx] ✗ Fi.CI.SPARSE: warning for mtl: add support for pmdemand (rev13)
In reply to Vinod Govindapillai== Series Details ==
== Series Details ==
Series: mtl: add support for pmdemand (rev13)
URL : https://patchwork.freedesktop.org/series/116949/
State : warning
== Summary ==
Error: dim sparse failed
Sparse version: v0.6.2
Fast mode used, each commit won't be checked separately.
Patchwork
CI[Intel-gfx] ✗ Fi.CI.BAT: failure for mtl: add support for pmdemand (rev13)
In reply to Vinod Govindapillai== Series Details ==
== Series Details ==
Series: mtl: add support for pmdemand (rev13)
URL : https://patchwork.freedesktop.org/series/116949/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_13234 -> Patchwork_116949v13
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_116949v13 absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_116949v13, 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_116949v13/index.html
Participating hosts (38 -> 37)
------------------------------
Missing (1): fi-snb-2520m
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_116949v13:
### IGT changes ###
#### Possible regressions ####
* igt@i915_module_load@load:
- bat-jsl-1: [PASS][1] -> [ABORT][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13234/bat-jsl-1/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116949v13/bat-jsl-1/igt@[email protected]
- fi-blb-e6850: [PASS][3] -> [ABORT][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13234/fi-blb-e6850/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116949v13/fi-blb-e6850/igt@[email protected]
- fi-skl-6600u: [PASS][5] -> [ABORT][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13234/fi-skl-6600u/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116949v13/fi-skl-6600u/igt@[email protected]
- fi-apl-guc: [PASS][7] -> [ABORT][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13234/fi-apl-guc/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116949v13/fi-apl-guc/igt@[email protected]
- bat-jsl-3: [PASS][9] -> [ABORT][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13234/bat-jsl-3/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116949v13/bat-jsl-3/igt@[email protected]
- fi-skl-guc: [PASS][11] -> [ABORT][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13234/fi-skl-guc/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116949v13/fi-skl-guc/igt@[email protected]
- fi-kbl-soraka: [PASS][13] -> [ABORT][14]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13234/fi-kbl-soraka/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116949v13/fi-kbl-soraka/igt@[email protected]
- fi-cfl-8700k: [PASS][15] -> [ABORT][16]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13234/fi-cfl-8700k/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116949v13/fi-cfl-8700k/igt@[email protected]
- fi-kbl-8809g: [PASS][17] -> [ABORT][18]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13234/fi-kbl-8809g/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116949v13/fi-kbl-8809g/igt@[email protected]
- fi-elk-e7500: [PASS][19] -> [ABORT][20]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13234/fi-elk-e7500/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116949v13/fi-elk-e7500/igt@[email protected]
- fi-kbl-x1275: [PASS][21] -> [ABORT][22]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13234/fi-kbl-x1275/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116949v13/fi-kbl-x1275/igt@[email protected]
- fi-hsw-4770: [PASS][23] -> [ABORT][24]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13234/fi-hsw-4770/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116949v13/fi-hsw-4770/igt@[email protected]
- fi-kbl-guc: [PASS][25] -> [ABORT][26]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13234/fi-kbl-guc/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116949v13/fi-kbl-guc/igt@[email protected]
#### Suppressed ####
The following results come from untrusted machines, tests, or statuses. They do not affect the overall result.
* igt@i915_module_load@load:
- {bat-kbl-2}: [PASS][27] -> [ABORT][28]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13234/bat-kbl-2/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116949v13/bat-kbl-2/igt@[email protected]
Known issues
------------
Here are the changes found in Patchwork_116949v13 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@i915_module_load@load:
- fi-glk-j4005: [PASS][29] -> [ABORT][30] ([i915#8143])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13234/fi-glk-j4005/igt@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116949v13/fi-glk-j4005/igt@[email protected]
- fi-kbl-7567u: [PASS][31] -> [ABORT][32] ([i915#8141])
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13234/fi-kbl-7567u/igt@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116949v13/fi-kbl-7567u/igt@[email protected]
- fi-cfl-guc: [PASS][33] -> [ABORT][34] ([i915#8141])
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13234/fi-cfl-guc/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116949v13/fi-cfl-guc/igt@[email protected]
- fi-cfl-8109u: [PASS][35] -> [ABORT][36] ([i915#8141])
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13234/fi-cfl-8109u/igt@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116949v13/fi-cfl-8109u/igt@[email protected]
* igt@i915_selftest@live@slpc:
- bat-rpls-2: NOTRUN -> [DMESG-WARN][37] ([i915#6367])
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116949v13/bat-rpls-2/igt@i915_selftest@[email protected]
* igt@i915_suspend@basic-s2idle-without-i915:
- bat-rpls-2: NOTRUN -> [ABORT][38] ([i915#6687])
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116949v13/bat-rpls-2/igt@[email protected]
* igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence@pipe-d-dp-1:
- bat-dg2-8: [PASS][39] -> [FAIL][40] ([i915#7932])
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13234/bat-dg2-8/igt@kms_pipe_crc_basic@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116949v13/bat-dg2-8/igt@kms_pipe_crc_basic@[email protected]
#### Possible fixes ####
* igt@i915_pm_rpm@basic-pci-d3-state:
- {bat-mtlp-8}: [ABORT][41] ([i915#7953]) -> [PASS][42]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13234/bat-mtlp-8/igt@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116949v13/bat-mtlp-8/igt@[email protected]
* igt@i915_selftest@live@reset:
- bat-rpls-2: [ABORT][43] ([i915#4983] / [i915#7461] / [i915#7913] / [i915#7981] / [i915#8347]) -> [PASS][44]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13234/bat-rpls-2/igt@i915_selftest@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116949v13/bat-rpls-2/igt@i915_selftest@[email protected]
* {igt@kms_pipe_crc_basic@compare-crc-sanitycheck-xr24@pipe-d-dp-5}:
- {bat-adlp-11}: [ABORT][45] ([i915#4423]) -> [PASS][46]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13234/bat-adlp-11/igt@kms_pipe_crc_basic@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116949v13/bat-adlp-11/igt@kms_pipe_crc_basic@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[i915#4309]: https://gitlab.freedesktop.org/drm/intel/issues/4309
[i915#4423]: https://gitlab.freedesktop.org/drm/intel/issues/4423
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983
[i915#6367]: https://gitlab.freedesktop.org/drm/intel/issues/6367
[i915#6621]: https://gitlab.freedesktop.org/drm/intel/issues/6621
[i915#6645]: https://gitlab.freedesktop.org/drm/intel/issues/6645
[i915#6687]: https://gitlab.freedesktop.org/drm/intel/issues/6687
[i915#6818]: https://gitlab.freedesktop.org/drm/intel/issues/6818
[i915#6868]: https://gitlab.freedesktop.org/drm/intel/issues/6868
[i915#7461]: https://gitlab.freedesktop.org/drm/intel/issues/7461
[i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
[i915#7913]: https://gitlab.freedesktop.org/drm/intel/issues/7913
[i915#7932]: https://gitlab.freedesktop.org/drm/intel/issues/7932
[i915#7953]: https://gitlab.freedesktop.org/drm/intel/issues/7953
[i915#7981]: https://gitlab.freedesktop.org/drm/intel/issues/7981
[i915#8141]: https://gitlab.freedesktop.org/drm/intel/issues/8141
[i915#8143]: https://gitlab.freedesktop.org/drm/intel/issues/8143
[i915#8347]: https://gitlab.freedesktop.org/drm/intel/issues/8347
[i915#8434]: https://gitlab.freedesktop.org/drm/intel/issues/8434
Build changes
-------------
* Linux: CI_DRM_13234 -> Patchwork_116949v13
CI-20190529: 20190529
CI_DRM_13234: cb7bb5b791053c0ff10e314d24e6752795283803 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7319: 2e1bcd49944452b5f9516eecee48e1fa3ae6a636 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_116949v13: cb7bb5b791053c0ff10e314d24e6752795283803 @ git://anongit.freedesktop.org/gfx-ci/linux
### Linux commits
31549dcbf7af drm/i915/mtl: Add support for PM DEMAND400e626f8d70 drm/i915/mtl: find the best QGV point for the SAGV configuration 43f8445ffe12 drm/i915: modify max_bw to return index to intel_bw_info 70acfe518001 drm/i915: extract intel_bw_check_qgv_points() c710cac17c2c drm/i915: store the peak bw per QGV point 8a0e184d7479 drm/i915: update the QGV point frequency calculations 32c0611b515b drm/i915: fix the derating percentage for MTL
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_116949v13/index.html