drm/i915/display: Do both crawl and squash when changing cdclk
Subsystems (3)
PATCH 1/2 drm/i915/display: Do both crawl and squash when changing cdclk
From: Ville Syrjälä <[email protected]>
For MTL, changing cdclk from between certain frequencies has both squash and crawl. Use the current cdclk config and the new(desired) cdclk config to construtc a mid cdclk config. Set the cdclk twice:
- Current cdclk -> mid cdclk
- mid cdclk -> desired cdclk
v2: Add check in intel_modeset_calc_cdclk() to avoid cdclk change via modeset for platforms that support squash_crawl sequences(Ville)
v3: Add checks for:
- scenario where only slow clock is used and
cdclk is actually 0 (bringing up display).
- PLLs are on before looking up the waveform.
- Squash and crawl capability checks.(Ville)
--- drivers/gpu/drm/i915/display/intel_cdclk.c | 157 +++++++++++++++++---- 1 file changed, 128 insertions(+), 29 deletions(-)
drivers/gpu/drm/i915/display/intel_cdclk.c +128 -29
@@ -1675,7 +1675,7 @@ static u32 cdclk_squash_waveform(struct drm_i915_private *dev_priv,const struct intel_cdclk_vals *table = dev_priv->display.cdclk.table;int i; -if (cdclk == dev_priv->display.cdclk.hw.bypass) +if (cdclk == dev_priv->display.cdclk.hw.bypass || cdclk ==0 )return 0 ;for (i =0 ; table[i].refclk; i++)
@@ -1689,37 +1689,72 @@ static u32 cdclk_squash_waveform(struct drm_i915_private *dev_priv,return 0xffff ; } -static void bxt_set_cdclk (struct drm_i915_private *dev_priv, -const struct intel_cdclk_config *cdclk_config, -enum pipe pipe) +static int cdclk_squash_divider (u16 waveform) +{ +return hweight16 (waveform ?:0xffff ); +} + +static bool cdclk_crawl_and_squash (struct drm_i915_private *i915, +const struct intel_cdclk_config *old_cdclk_config, +const struct intel_cdclk_config *new_cdclk_config, +struct intel_cdclk_config *mid_cdclk_config) +{ +u16 old_waveform =cdclk_squash_waveform (i915, old_cdclk_config->cdclk); +u16 new_waveform =cdclk_squash_waveform (i915, new_cdclk_config->cdclk); +u16 mid_waveform; +int size =16 ; +int div =2 ; + +/* Return if both Squash and Crawl are not present */ +if (!HAS_CDCLK_CRAWL (i915) || !has_cdclk_squasher (i915)) +return false; + +/* Return if Squash only or Crawl only is the desired action */ +if (old_cdclk_config->vco <=0 || new_cdclk_config->vco <=0 || + old_cdclk_config->vco == new_cdclk_config->vco || + old_waveform == new_waveform) +return false; + + *mid_cdclk_config = *new_cdclk_config; + +/* If moving to a higher cdclk(squash) the mid cdclk config +* should have the new (squash) waveform. +* If moving to a lower cdclk (crawl) the mid cdclk config +* should have the new vco. +*/ + +if (cdclk_squash_divider (new_waveform) >cdclk_squash_divider (old_waveform)) { + mid_cdclk_config->vco = old_cdclk_config->vco; + mid_waveform = new_waveform; + }else { + mid_cdclk_config->vco = new_cdclk_config->vco; + mid_waveform = old_waveform; + } + + mid_cdclk_config->cdclk =DIV_ROUND_CLOSEST (cdclk_squash_divider (mid_waveform) * + mid_cdclk_config->vco, size * div); + +/* make sure the mid clock came out sane */ + +drm_WARN_ON (&i915->drm, mid_cdclk_config->cdclk < +min (old_cdclk_config->cdclk, new_cdclk_config->cdclk)); +drm_WARN_ON (&i915->drm, mid_cdclk_config->cdclk > + i915->display.cdclk.max_cdclk_freq); +drm_WARN_ON (&i915->drm,cdclk_squash_waveform (i915, mid_cdclk_config->cdclk) != + mid_waveform); + +return true; +} + +static void _bxt_set_cdclk (struct drm_i915_private *dev_priv, +const struct intel_cdclk_config *cdclk_config, +enum pipe pipe) {int cdclk = cdclk_config->cdclk;int vco = cdclk_config->vco;u32 val;u16 waveform;int clock; -int ret; - -/* Inform power controller of upcoming frequency change. */ -if (DISPLAY_VER (dev_priv) >=11 ) - ret =skl_pcode_request (&dev_priv->uncore,SKL_PCODE_CDCLK_CONTROL , -SKL_CDCLK_PREPARE_FOR_CHANGE , -SKL_CDCLK_READY_FOR_CHANGE , -SKL_CDCLK_READY_FOR_CHANGE ,3 ); -else -/* -* BSpec requires us to wait up to 150usec, but that leads to -* timeouts; the 2ms used here is based on experiment. -*/ - ret =snb_pcode_write_timeout (&dev_priv->uncore, -HSW_PCODE_DE_WRITE_FREQ_REQ , -0x80000000 ,150 ,2 ); -if (ret) { -drm_err (&dev_priv->drm, -"Failed to inform PCU about cdclk change (err %d, freq %d)\n" , - ret, cdclk); -return ; - }if (HAS_CDCLK_CRAWL (dev_priv) && dev_priv->display.cdclk.hw.vco >0 && vco >0 ) {if (dev_priv->display.cdclk.hw.vco != vco)
@@ -1772,6 +1807,44 @@ static void bxt_set_cdclk(struct drm_i915_private *dev_priv,if (pipe !=INVALID_PIPE )intel_crtc_wait_for_next_vblank (intel_crtc_for_pipe (dev_priv, pipe)); +} + +static void bxt_set_cdclk (struct drm_i915_private *dev_priv, +const struct intel_cdclk_config *cdclk_config, +enum pipe pipe) +{ +struct intel_cdclk_config mid_cdclk_config; +int cdclk = cdclk_config->cdclk; +int ret; + +/* Inform power controller of upcoming frequency change. */ +if (DISPLAY_VER (dev_priv) >=11 ) + ret =skl_pcode_request (&dev_priv->uncore,SKL_PCODE_CDCLK_CONTROL , +SKL_CDCLK_PREPARE_FOR_CHANGE , +SKL_CDCLK_READY_FOR_CHANGE , +SKL_CDCLK_READY_FOR_CHANGE ,3 ); +else +/* +* BSpec requires us to wait up to 150usec, but that leads to +* timeouts; the 2ms used here is based on experiment. +*/ + ret =snb_pcode_write_timeout (&dev_priv->uncore, +HSW_PCODE_DE_WRITE_FREQ_REQ , +0x80000000 ,150 ,2 ); +if (ret) { +drm_err (&dev_priv->drm, +"Failed to inform PCU about cdclk change (err %d, freq %d)\n" , + ret, cdclk); +return ; + } + +if (cdclk_crawl_and_squash (dev_priv, &dev_priv->display.cdclk.hw, + cdclk_config, &mid_cdclk_config)) { +_bxt_set_cdclk (dev_priv, &mid_cdclk_config, pipe); +_bxt_set_cdclk (dev_priv, cdclk_config, pipe); + }else { +_bxt_set_cdclk (dev_priv, cdclk_config, pipe); + }if (DISPLAY_VER (dev_priv) >=11 ) { ret = snb_pcode_write(&dev_priv->uncore, SKL_PCODE_CDCLK_CONTROL,
@@ -1944,6 +2017,27 @@ void intel_cdclk_uninit_hw(struct drm_i915_private *i915)skl_cdclk_uninit_hw (i915); } +static bool intel_cdclk_can_crawl_and_squash (struct drm_i915_private *i915, +const struct intel_cdclk_config *a, +const struct intel_cdclk_config *b) +{ +u16 old_waveform; +u16 new_waveform; + +if (a->vco ==0 || b->vco ==0 ) +return false; + +if (HAS_CDCLK_CRAWL (i915) &&has_cdclk_squasher (i915)) { + old_waveform =cdclk_squash_waveform (i915, a->cdclk); + new_waveform =cdclk_squash_waveform (i915, b->cdclk); + }else { +return false; + } + +return a->vco != b->vco && + old_waveform != new_waveform; +} +static bool intel_cdclk_can_crawl (struct drm_i915_private *dev_priv,const struct intel_cdclk_config *a,const struct intel_cdclk_config *b)
@@ -2750,9 +2844,14 @@ int intel_modeset_calc_cdclk(struct intel_atomic_state *state) pipe =INVALID_PIPE ; } -if (intel_cdclk_can_squash (dev_priv, - &old_cdclk_state->actual, - &new_cdclk_state->actual)) { +if (intel_cdclk_can_crawl_and_squash (dev_priv, + &old_cdclk_state->actual, + &new_cdclk_state->actual)) { +drm_dbg_kms (&dev_priv->drm, +"Can change cdclk via crawler and squasher\n" ); + }else if (intel_cdclk_can_squash (dev_priv, + &old_cdclk_state->actual, + &new_cdclk_state->actual)) {drm_dbg_kms (&dev_priv->drm,"Can change cdclk via squasher\n" ); } else if (intel_cdclk_can_crawl(dev_priv,
Signature · 1 line
2.25.1
PATCH 2/2 drm/i915/display: Add CDCLK Support for MTL
As per bSpec MTL has 38.4 MHz Reference clock. MTL does support squasher like DG2 but only for lower frequencies. Change the has_cdclk_squasher() helper to reflect this.
v2: Revert to using bxt_get_cdclk()
BSpec: 65243
--- drivers/gpu/drm/i915/display/intel_cdclk.c | 24 ++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-)
drivers/gpu/drm/i915/display/intel_cdclk.c +22 -2
@@ -1222,7 +1222,7 @@ static void skl_cdclk_uninit_hw(struct drm_i915_private *dev_priv)static bool has_cdclk_squasher (struct drm_i915_private *i915) { -return IS_DG2 (i915); +return DISPLAY_VER (i915) >=14 ||IS_DG2 (i915); }struct intel_cdclk_vals {
@@ -1350,6 +1350,16 @@ static const struct intel_cdclk_vals dg2_cdclk_table[] = { {} }; +static const struct intel_cdclk_vals mtl_cdclk_table[] = { + { .refclk =38400 , .cdclk =172800 , .divider =2 , .ratio =16 , .waveform =0xad5a }, + { .refclk =38400 , .cdclk =192000 , .divider =2 , .ratio =16 , .waveform =0xb6b6 }, + { .refclk =38400 , .cdclk =307200 , .divider =2 , .ratio =16 , .waveform =0x0000 }, + { .refclk =38400 , .cdclk =480000 , .divider =2 , .ratio =25 , .waveform =0x0000 }, + { .refclk =38400 , .cdclk =556800 , .divider =2 , .ratio =29 , .waveform =0x0000 }, + { .refclk =38400 , .cdclk =652800 , .divider =2 , .ratio =34 , .waveform =0x0000 }, + {} +}; +static int bxt_calc_cdclk (struct drm_i915_private *dev_priv,int min_cdclk) {const struct intel_cdclk_vals *table = dev_priv->display.cdclk.table;
@@ -3149,6 +3159,13 @@ u32 intel_read_rawclk(struct drm_i915_private *dev_priv)return freq; } +static const struct intel_cdclk_funcs mtl_cdclk_funcs = { + .get_cdclk = bxt_get_cdclk, + .set_cdclk = bxt_set_cdclk, + .modeset_calc_cdclk = bxt_modeset_calc_cdclk, + .calc_voltage_level = tgl_calc_voltage_level, +}; +static const struct intel_cdclk_funcs tgl_cdclk_funcs = { .get_cdclk = bxt_get_cdclk, .set_cdclk = bxt_set_cdclk,
@@ -3284,7 +3301,10 @@ static const struct intel_cdclk_funcs i830_cdclk_funcs = {*/ void intel_init_cdclk_hooks (struct drm_i915_private *dev_priv) { -if (IS_DG2 (dev_priv)) { +if (IS_METEORLAKE (dev_priv)) { + dev_priv->display.funcs.cdclk = &mtl_cdclk_funcs; + dev_priv->display.cdclk.table = mtl_cdclk_table; + }else if (IS_DG2 (dev_priv)) { dev_priv->display.funcs.cdclk = &tgl_cdclk_funcs; dev_priv->display.cdclk.table = dg2_cdclk_table; }else if (IS_ALDERLAKE_P (dev_priv)) {
Signature · 1 line
2.25.1
Patchwork
CI[Intel-gfx] ✓ Fi.CI.BAT: success for series starting with [1/2] drm/i915/display: Do both crawl and squash when changing cdclk
In reply to Anusha Srivatsa== Series Details ==
== Series Details ==
Series: series starting with [1/2] drm/i915/display: Do both crawl and squash when changing cdclk
URL : https://patchwork.freedesktop.org/series/109694/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_12242 -> Patchwork_109694v1
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/index.html
Participating hosts (45 -> 44)
------------------------------
Additional (2): fi-tgl-u2 fi-pnv-d510
Missing (3): fi-adl-ddr5 fi-ilk-m540 fi-hsw-4200u
Known issues
------------
Here are the changes found in Patchwork_109694v1 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_huc_copy@huc-copy:
- fi-tgl-u2: NOTRUN -> [SKIP][1] ([i915#2190])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/fi-tgl-u2/igt@[email protected]
* igt@i915_selftest@live@gt_heartbeat:
- fi-apl-guc: [PASS][2] -> [DMESG-FAIL][3] ([i915#5334])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/fi-apl-guc/igt@i915_selftest@live@gt_heartbeat.html
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/fi-apl-guc/igt@i915_selftest@live@gt_heartbeat.html
* igt@i915_selftest@live@hangcheck:
- fi-hsw-4770: [PASS][4] -> [INCOMPLETE][5] ([i915#4785])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/fi-hsw-4770/igt@i915_selftest@[email protected]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/fi-hsw-4770/igt@i915_selftest@[email protected]
* igt@kms_chamelium@hdmi-edid-read:
- fi-tgl-u2: NOTRUN -> [SKIP][6] ([fdo#109284] / [fdo#111827]) +7 similar issues
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/fi-tgl-u2/igt@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor:
- fi-tgl-u2: NOTRUN -> [SKIP][7] ([i915#4103])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/fi-tgl-u2/igt@[email protected]
* igt@kms_force_connector_basic@force-load-detect:
- fi-tgl-u2: NOTRUN -> [SKIP][8] ([fdo#109285])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/fi-tgl-u2/igt@[email protected]
* igt@kms_psr@primary_page_flip:
- fi-pnv-d510: NOTRUN -> [SKIP][9] ([fdo#109271]) +43 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/fi-pnv-d510/igt@kms_psr@primary_page_flip.html
* igt@kms_setmode@basic-clone-single-crtc:
- fi-tgl-u2: NOTRUN -> [SKIP][10] ([i915#3555])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/fi-tgl-u2/igt@[email protected]
* igt@runner@aborted:
- fi-hsw-4770: NOTRUN -> [FAIL][11] ([fdo#109271] / [i915#4312] / [i915#5594])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/fi-hsw-4770/igt@[email protected]
#### Possible fixes ####
* igt@gem_exec_suspend@basic-s3@lmem0:
- {bat-dg2-11}: [DMESG-WARN][12] ([i915#6816]) -> [PASS][13]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/bat-dg2-11/igt@gem_exec_suspend@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/bat-dg2-11/igt@gem_exec_suspend@[email protected]
* igt@i915_module_load@reload:
- {bat-rpls-2}: [DMESG-WARN][14] ([i915#5537]) -> [PASS][15]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/bat-rpls-2/igt@[email protected]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/bat-rpls-2/igt@[email protected]
* igt@i915_pm_rpm@basic-rte:
- {bat-rplp-1}: [DMESG-WARN][16] ([i915#7077]) -> [PASS][17]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/bat-rplp-1/igt@[email protected]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/bat-rplp-1/igt@[email protected]
* igt@i915_pm_rpm@module-reload:
- {fi-tgl-mst}: [DMESG-WARN][18] ([i915#5537]) -> [PASS][19]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/fi-tgl-mst/igt@[email protected]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/fi-tgl-mst/igt@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor@atomic-transitions:
- fi-bsw-kefka: [FAIL][20] ([i915#6298]) -> [PASS][21]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/fi-bsw-kefka/igt@kms_cursor_legacy@[email protected]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/fi-bsw-kefka/igt@kms_cursor_legacy@[email protected]
* igt@kms_pipe_crc_basic@suspend-read-crc@pipe-d-dp-3:
- {bat-dg2-11}: [FAIL][22] ([i915#6818]) -> [PASS][23]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/bat-dg2-11/igt@kms_pipe_crc_basic@[email protected]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/bat-dg2-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).
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109284]: https://bugs.freedesktop.org/show_bug.cgi?id=109284
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2582]: https://gitlab.freedesktop.org/drm/intel/issues/2582
[i915#2867]: https://gitlab.freedesktop.org/drm/intel/issues/2867
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4312]: https://gitlab.freedesktop.org/drm/intel/issues/4312
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4785]: https://gitlab.freedesktop.org/drm/intel/issues/4785
[i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983
[i915#5334]: https://gitlab.freedesktop.org/drm/intel/issues/5334
[i915#5537]: https://gitlab.freedesktop.org/drm/intel/issues/5537
[i915#5594]: https://gitlab.freedesktop.org/drm/intel/issues/5594
[i915#5828]: https://gitlab.freedesktop.org/drm/intel/issues/5828
[i915#6298]: https://gitlab.freedesktop.org/drm/intel/issues/6298
[i915#6503]: https://gitlab.freedesktop.org/drm/intel/issues/6503
[i915#6596]: https://gitlab.freedesktop.org/drm/intel/issues/6596
[i915#6621]: https://gitlab.freedesktop.org/drm/intel/issues/6621
[i915#6816]: https://gitlab.freedesktop.org/drm/intel/issues/6816
[i915#6818]: https://gitlab.freedesktop.org/drm/intel/issues/6818
[i915#7077]: https://gitlab.freedesktop.org/drm/intel/issues/7077
Build changes
-------------
* Linux: CI_DRM_12242 -> Patchwork_109694v1
CI-20190529: 20190529
CI_DRM_12242: 075a81b1efd29300194bdf7877e08b6dbe3079d9 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7012: ca6f5bdd537d26692c4b1ca011b8c4f227d95703 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_109694v1: 075a81b1efd29300194bdf7877e08b6dbe3079d9 @ git://anongit.freedesktop.org/gfx-ci/linux
### Linux commits
ad8db1a791fc drm/i915/display: Add CDCLK Support for MTL e634bf686366 drm/i915/display: Do both crawl and squash when changing cdclk
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/index.html
Patchwork
CI[Intel-gfx] ✗ Fi.CI.IGT: failure for series starting with [1/2] drm/i915/display: Do both crawl and squash when changing cdclk
In reply to Anusha Srivatsa== Series Details ==
== Series Details ==
Series: series starting with [1/2] drm/i915/display: Do both crawl and squash when changing cdclk
URL : https://patchwork.freedesktop.org/series/109694/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_12242_full -> Patchwork_109694v1_full
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_109694v1_full absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_109694v1_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
Participating hosts (9 -> 11)
------------------------------
Additional (2): shard-rkl shard-dg1
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_109694v1_full:
### IGT changes ###
#### Possible regressions ####
* igt@syncobj_wait@wait-any-snapshot:
- shard-skl: [PASS][1] -> [FAIL][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-skl9/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl4/igt@[email protected]
Known issues
------------
Here are the changes found in Patchwork_109694v1_full that come from known issues:
### CI changes ###
#### Issues hit ####
* boot:
- shard-glk: ([PASS][3], [PASS][4], [PASS][5], [PASS][6], [PASS][7], [PASS][8], [PASS][9], [PASS][10], [PASS][11], [PASS][12], [PASS][13], [PASS][14], [PASS][15], [PASS][16], [PASS][17], [PASS][18], [PASS][19], [PASS][20], [PASS][21], [PASS][22], [PASS][23], [PASS][24], [PASS][25], [PASS][26], [PASS][27]) -> ([PASS][28], [PASS][29], [PASS][30], [PASS][31], [PASS][32], [PASS][33], [PASS][34], [PASS][35], [PASS][36], [PASS][37], [PASS][38], [PASS][39], [PASS][40], [PASS][41], [PASS][42], [PASS][43], [PASS][44], [PASS][45], [PASS][46], [PASS][47], [PASS][48], [PASS][49], [PASS][50], [FAIL][51], [PASS][52]) ([i915#4392])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk1/boot.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk1/boot.html
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk1/boot.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk2/boot.html
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk2/boot.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk2/boot.html
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk2/boot.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk3/boot.html
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk3/boot.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk3/boot.html
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk5/boot.html
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk5/boot.html
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk5/boot.html
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk6/boot.html
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk6/boot.html
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk6/boot.html
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk7/boot.html
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk7/boot.html
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk8/boot.html
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk8/boot.html
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk8/boot.html
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk8/boot.html
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk9/boot.html
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk9/boot.html
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk9/boot.html
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk9/boot.html
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk9/boot.html
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk9/boot.html
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk8/boot.html
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk8/boot.html
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk8/boot.html
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk7/boot.html
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk7/boot.html
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk7/boot.html
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk6/boot.html
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk6/boot.html
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk6/boot.html
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk5/boot.html
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk5/boot.html
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk5/boot.html
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk3/boot.html
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk3/boot.html
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk3/boot.html
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk3/boot.html
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk2/boot.html
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk2/boot.html
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk1/boot.html
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk1/boot.html
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk1/boot.html
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk1/boot.html
### IGT changes ###
#### Issues hit ####
* igt@gem_ctx_exec@basic-nohangcheck:
- shard-tglb: [PASS][53] -> [FAIL][54] ([i915#6268])
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-tglb2/igt@[email protected]
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-tglb2/igt@[email protected]
* igt@gem_ctx_isolation@preservation-s3@vcs0:
- shard-apl: [PASS][55] -> [DMESG-WARN][56] ([i915#180])
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-apl1/igt@gem_ctx_isolation@[email protected]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-apl3/igt@gem_ctx_isolation@[email protected]
* igt@gem_ctx_isolation@preservation-s3@vecs0:
- shard-tglb: [PASS][57] -> [DMESG-WARN][58] ([i915#2411] / [i915#2867]) +1 similar issue
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-tglb2/igt@gem_ctx_isolation@[email protected]
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-tglb7/igt@gem_ctx_isolation@[email protected]
* igt@gem_eio@reset-stress:
- shard-tglb: [PASS][59] -> [FAIL][60] ([i915#5784])
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-tglb5/igt@[email protected]
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-tglb1/igt@[email protected]
* igt@gem_exec_balancer@parallel-keep-in-fence:
- shard-iclb: [PASS][61] -> [SKIP][62] ([i915#4525]) +1 similar issue
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-iclb2/igt@[email protected]
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-iclb8/igt@[email protected]
* igt@gem_exec_fair@basic-none@vcs1:
- shard-iclb: NOTRUN -> [FAIL][63] ([i915#2842])
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-iclb1/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace-share@rcs0:
- shard-apl: [PASS][64] -> [FAIL][65] ([i915#2842])
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-apl8/igt@gem_exec_fair@[email protected]
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-apl1/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace@vecs0:
- shard-iclb: [PASS][66] -> [FAIL][67] ([i915#2842])
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-iclb8/igt@gem_exec_fair@[email protected]
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-iclb3/igt@gem_exec_fair@[email protected]
* igt@gem_lmem_swapping@heavy-random:
- shard-skl: NOTRUN -> [SKIP][68] ([fdo#109271] / [i915#4613]) +1 similar issue
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl1/igt@[email protected]
* igt@gem_userptr_blits@dmabuf-sync:
- shard-skl: NOTRUN -> [SKIP][69] ([fdo#109271] / [i915#3323])
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl5/igt@[email protected]
* igt@i915_pipe_stress@stress-xrgb8888-untiled:
- shard-apl: NOTRUN -> [FAIL][70] ([i915#7036])
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-apl7/igt@[email protected]
- shard-skl: NOTRUN -> [FAIL][71] ([i915#7036])
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl6/igt@[email protected]
* igt@kms_ccs@pipe-a-missing-ccs-buffer-y_tiled_gen12_mc_ccs:
- shard-skl: NOTRUN -> [SKIP][72] ([fdo#109271] / [i915#3886]) +2 similar issues
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl1/igt@kms_ccs@pipe-a-missing-ccs-buffer-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-a-random-ccs-data-y_tiled_gen12_rc_ccs_cc:
- shard-apl: NOTRUN -> [SKIP][73] ([fdo#109271] / [i915#3886]) +2 similar issues
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-apl7/igt@kms_ccs@pipe-a-random-ccs-data-y_tiled_gen12_rc_ccs_cc.html
* igt@kms_ccs@pipe-b-bad-rotation-90-4_tiled_dg2_rc_ccs_cc:
- shard-apl: NOTRUN -> [SKIP][74] ([fdo#109271]) +52 similar issues
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-apl7/igt@kms_ccs@pipe-b-bad-rotation-90-4_tiled_dg2_rc_ccs_cc.html
* igt@kms_chamelium@hdmi-hpd-storm:
- shard-apl: NOTRUN -> [SKIP][75] ([fdo#109271] / [fdo#111827]) +3 similar issues
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-apl7/igt@[email protected]
* igt@kms_chamelium@hdmi-hpd-with-enabled-mode:
- shard-skl: NOTRUN -> [SKIP][76] ([fdo#109271] / [fdo#111827]) +6 similar issues
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl6/igt@[email protected]
* igt@kms_color@ctm-0-25:
- shard-skl: NOTRUN -> [SKIP][77] ([fdo#109271] / [i915#3546])
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl1/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor@atomic-transitions:
- shard-iclb: [PASS][78] -> [FAIL][79] ([i915#2346])
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-iclb6/igt@kms_cursor_legacy@[email protected]
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-iclb7/igt@kms_cursor_legacy@[email protected]
* igt@kms_fbcon_fbt@fbc-suspend:
- shard-apl: [PASS][80] -> [INCOMPLETE][81] ([i915#180] / [i915#1982] / [i915#4939])
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-apl7/igt@[email protected]
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-apl6/igt@[email protected]
* igt@kms_fbcon_fbt@psr-suspend:
- shard-skl: NOTRUN -> [FAIL][82] ([i915#4767])
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl5/igt@[email protected]
* igt@kms_flip@2x-flip-vs-expired-vblank@bc-hdmi-a1-hdmi-a2:
- shard-glk: [PASS][83] -> [FAIL][84] ([i915#79]) +1 similar issue
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk5/igt@kms_flip@[email protected]
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk5/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-expired-vblank-interruptible@b-edp1:
- shard-skl: [PASS][85] -> [FAIL][86] ([i915#79]) +1 similar issue
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-skl6/igt@kms_flip@[email protected]
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl7/igt@kms_flip@[email protected]
* igt@kms_flip@plain-flip-fb-recreate-interruptible@b-edp1:
- shard-skl: [PASS][87] -> [FAIL][88] ([i915#2122]) +7 similar issues
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-skl10/igt@kms_flip@[email protected]
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl6/igt@kms_flip@[email protected]
* igt@kms_flip_scaled_crc@flip-32bpp-4tile-to-32bpp-4tiledg2rcccs-downscaling@pipe-a-valid-mode:
- shard-iclb: NOTRUN -> [SKIP][89] ([i915#2587] / [i915#2672]) +2 similar issues
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-iclb8/igt@kms_flip_scaled_crc@flip-32bpp-4tile-to-32bpp-4tiledg2rcccs-downscaling@pipe-a-valid-mode.html
* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-downscaling@pipe-a-default-mode:
- shard-iclb: NOTRUN -> [SKIP][90] ([i915#3555])
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-iclb2/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-downscaling@pipe-a-default-mode.html
* igt@kms_flip_scaled_crc@flip-64bpp-yftile-to-32bpp-yftile-upscaling@pipe-a-default-mode:
- shard-iclb: NOTRUN -> [SKIP][91] ([i915#2672]) +8 similar issues
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-iclb3/igt@kms_flip_scaled_crc@flip-64bpp-yftile-to-32bpp-yftile-upscaling@pipe-a-default-mode.html
* igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytilegen12rcccs-upscaling@pipe-a-default-mode:
- shard-iclb: NOTRUN -> [SKIP][92] ([i915#2672] / [i915#3555])
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-iclb2/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytilegen12rcccs-upscaling@pipe-a-default-mode.html
* igt@kms_frontbuffer_tracking@fbcpsr-suspend:
- shard-skl: NOTRUN -> [SKIP][93] ([fdo#109271]) +147 similar issues
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl1/igt@[email protected]
* igt@kms_plane_alpha_blend@alpha-opaque-fb@pipe-a-dp-1:
- shard-apl: NOTRUN -> [FAIL][94] ([i915#4573]) +2 similar issues
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-apl7/igt@kms_plane_alpha_blend@[email protected]
* igt@kms_plane_alpha_blend@alpha-opaque-fb@pipe-b-edp-1:
- shard-skl: NOTRUN -> [FAIL][95] ([i915#4573]) +2 similar issues
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl6/igt@kms_plane_alpha_blend@[email protected]
* igt@kms_psr2_su@page_flip-xrgb8888:
- shard-skl: NOTRUN -> [SKIP][96] ([fdo#109271] / [i915#658]) +2 similar issues
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl5/igt@kms_psr2_su@page_flip-xrgb8888.html
* igt@kms_psr@psr2_primary_mmap_cpu:
- shard-iclb: [PASS][97] -> [SKIP][98] ([fdo#109441]) +3 similar issues
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-iclb2/igt@kms_psr@psr2_primary_mmap_cpu.html
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-iclb1/igt@kms_psr@psr2_primary_mmap_cpu.html
* igt@kms_writeback@writeback-invalid-parameters:
- shard-skl: NOTRUN -> [SKIP][99] ([fdo#109271] / [i915#2437])
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl1/igt@[email protected]
* igt@perf@short-reads:
- shard-skl: [PASS][100] -> [FAIL][101] ([i915#51])
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-skl4/igt@[email protected]
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl10/igt@[email protected]
* igt@syncobj_wait@wait-for-submit-delayed-submit:
- shard-skl: [PASS][102] -> [DMESG-WARN][103] ([i915#1982])
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-skl6/igt@[email protected]
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl7/igt@[email protected]
* igt@sysfs_clients@create:
- shard-apl: NOTRUN -> [SKIP][104] ([fdo#109271] / [i915#2994])
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-apl7/igt@[email protected]
- shard-skl: NOTRUN -> [SKIP][105] ([fdo#109271] / [i915#2994])
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl6/igt@[email protected]
#### Possible fixes ####
* igt@feature_discovery@psr2:
- shard-iclb: [SKIP][106] ([i915#658]) -> [PASS][107]
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-iclb3/igt@[email protected]
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-iclb2/igt@[email protected]
* igt@gem_exec_balancer@parallel-bb-first:
- shard-iclb: [SKIP][108] ([i915#4525]) -> [PASS][109]
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-iclb3/igt@[email protected]
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-iclb2/igt@[email protected]
* igt@gem_exec_fair@basic-flow@rcs0:
- shard-tglb: [FAIL][110] ([i915#2842]) -> [PASS][111]
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-tglb7/igt@gem_exec_fair@[email protected]
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-tglb5/igt@gem_exec_fair@[email protected]
* igt@gen9_exec_parse@allowed-all:
- shard-skl: [DMESG-WARN][112] ([i915#5566] / [i915#716]) -> [PASS][113]
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-skl10/igt@[email protected]
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl6/igt@[email protected]
- shard-apl: [DMESG-WARN][114] ([i915#5566] / [i915#716]) -> [PASS][115]
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-apl2/igt@[email protected]
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-apl7/igt@[email protected]
* igt@i915_pm_dc@dc9-dpms:
- shard-iclb: [SKIP][116] ([i915#4281]) -> [PASS][117]
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-iclb3/igt@[email protected]
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-iclb5/igt@[email protected]
* igt@i915_pm_sseu@full-enable:
- shard-skl: [FAIL][118] ([i915#3524]) -> [PASS][119]
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-skl5/igt@[email protected]
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl4/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor-crc-atomic:
- shard-skl: [FAIL][120] ([i915#2346]) -> [PASS][121]
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-skl6/igt@[email protected]
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl9/igt@[email protected]
* igt@kms_flip@2x-plain-flip-fb-recreate-interruptible@ab-hdmi-a1-hdmi-a2:
- shard-glk: [FAIL][122] ([i915#2122]) -> [PASS][123]
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk8/igt@kms_flip@[email protected]
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk3/igt@kms_flip@[email protected]
* igt@kms_flip@busy-flip@c-edp1:
- shard-skl: [FAIL][124] ([i915#7200]) -> [PASS][125] +1 similar issue
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-skl5/igt@kms_flip@[email protected]
[125]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl4/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-expired-vblank-interruptible@a-edp1:
- shard-skl: [FAIL][126] ([i915#79]) -> [PASS][127]
[126]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-skl6/igt@kms_flip@[email protected]
[127]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl7/igt@kms_flip@[email protected]
* igt@kms_hdr@bpc-switch-suspend@pipe-a-dp-1:
- shard-apl: [DMESG-WARN][128] ([i915#180]) -> [PASS][129] +1 similar issue
[128]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-apl3/igt@kms_hdr@[email protected]
[129]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-apl7/igt@kms_hdr@[email protected]
* igt@kms_plane_scaling@planes-unity-scaling-downscale-factor-0-5@pipe-c-edp-1:
- shard-iclb: [SKIP][130] ([i915#5235]) -> [PASS][131] +2 similar issues
[130]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-iclb2/igt@kms_plane_scaling@[email protected]
[131]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-iclb8/igt@kms_plane_scaling@[email protected]
* igt@kms_psr@psr2_sprite_plane_move:
- shard-iclb: [SKIP][132] ([fdo#109441]) -> [PASS][133] +2 similar issues
[132]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-iclb6/igt@kms_psr@psr2_sprite_plane_move.html
[133]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-iclb2/igt@kms_psr@psr2_sprite_plane_move.html
#### Warnings ####
* igt@dmabuf@all@dma_fence_chain:
- shard-skl: [INCOMPLETE][134] ([i915#6949] / [i915#7165]) -> [INCOMPLETE][135] ([i915#6949] / [i915#7165] / [i915#7192])
[134]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-skl6/igt@dmabuf@all@dma_fence_chain.html
[135]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl9/igt@dmabuf@all@dma_fence_chain.html
* igt@i915_pm_dc@dc3co-vpb-simulation:
- shard-iclb: [SKIP][136] ([i915#658]) -> [SKIP][137] ([i915#588])
[136]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-iclb6/igt@[email protected]
[137]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-iclb2/igt@[email protected]
* igt@i915_selftest@mock@vma:
- shard-skl: [INCOMPLETE][138] ([i915#6950] / [i915#7065]) -> [INCOMPLETE][139] ([i915#6950] / [i915#7065] / [i915#7192])
[138]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-skl6/igt@i915_selftest@[email protected]
[139]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl7/igt@i915_selftest@[email protected]
* igt@kms_psr2_sf@overlay-plane-move-continuous-exceed-sf:
- shard-iclb: [SKIP][140] ([i915#2920]) -> [SKIP][141] ([i915#658]) +1 similar issue
[140]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-iclb2/igt@[email protected]
[141]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-iclb8/igt@[email protected]
* igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area:
- shard-iclb: [SKIP][142] ([i915#2920]) -> [SKIP][143] ([fdo#111068] / [i915#658])
[142]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-iclb2/igt@[email protected]
[143]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-iclb8/igt@[email protected]
* igt@runner@aborted:
- shard-apl: ([FAIL][144], [FAIL][145], [FAIL][146], [FAIL][147], [FAIL][148]) ([fdo#109271] / [i915#3002] / [i915#4312]) -> ([FAIL][149], [FAIL][150], [FAIL][151], [FAIL][152]) ([i915#180] / [i915#3002] / [i915#4312])
[144]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-apl2/igt@[email protected]
[145]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-apl6/igt@[email protected]
[146]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-apl8/igt@[email protected]
[147]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-apl3/igt@[email protected]
[148]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-apl3/igt@[email protected]
[149]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-apl3/igt@[email protected]
[150]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-apl2/igt@[email protected]
[151]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-apl3/igt@[email protected]
[152]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-apl6/igt@[email protected]
- shard-skl: ([FAIL][153], [FAIL][154], [FAIL][155], [FAIL][156]) ([i915#3002] / [i915#4312]) -> ([FAIL][157], [FAIL][158], [FAIL][159]) ([i915#3002] / [i915#4312] / [i915#6949])
[153]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-skl6/igt@[email protected]
[154]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-skl6/igt@[email protected]
[155]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-skl4/igt@[email protected]
[156]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-skl10/igt@[email protected]
[157]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl9/igt@[email protected]
[158]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl1/igt@[email protected]
[159]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl10/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
[fdo#109274]: https://bugs.freedesktop.org/show_bug.cgi?id=109274
[fdo#109283]: https://bugs.freedesktop.org/show_bug.cgi?id=109283
[fdo#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289
[fdo#109291]: https://bugs.freedesktop.org/show_bug.cgi?id=109291
[fdo#109295]: https://bugs.freedesktop.org/show_bug.cgi?id=109295
[fdo#109303]: https://bugs.freedesktop.org/show_bug.cgi?id=109303
[fdo#109307]: https://bugs.freedesktop.org/show_bug.cgi?id=109307
[fdo#109308]: https://bugs.freedesktop.org/show_bug.cgi?id=109308
[fdo#109309]: https://bugs.freedesktop.org/show_bug.cgi?id=109309
[fdo#109312]: https://bugs.freedesktop.org/show_bug.cgi?id=109312
[fdo#109314]: https://bugs.freedesktop.org/show_bug.cgi?id=109314
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#109506]: https://bugs.freedesktop.org/show_bug.cgi?id=109506
[fdo#110189]: https://bugs.freedesktop.org/show_bug.cgi?id=110189
[fdo#110254]: https://bugs.freedesktop.org/show_bug.cgi?id=110254
[fdo#110542]: https://bugs.freedesktop.org/show_bug.cgi?id=110542
[fdo#110723]: https://bugs.freedesktop.org/show_bug.cgi?id=110723
[fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068
[fdo#111614]: https://bugs.freedesktop.org/show_bug.cgi?id=111614
[fdo#111615]: https://bugs.freedesktop.org/show_bug.cgi?id=111615
[fdo#111656]: https://bugs.freedesktop.org/show_bug.cgi?id=111656
[fdo#111825]: https://bugs.freedesktop.org/show_bug.cgi?id=111825
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[fdo#112054]: https://bugs.freedesktop.org/show_bug.cgi?id=112054
[fdo#112283]: https://bugs.freedesktop.org/show_bug.cgi?id=112283
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#1155]: https://gitlab.freedesktop.org/drm/intel/issues/1155
[i915#1257]: https://gitlab.freedesktop.org/drm/intel/issues/1257
[i915#132]: https://gitlab.freedesktop.org/drm/intel/issues/132
[i915#1397]: https://gitlab.freedesktop.org/drm/intel/issues/1397
[i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
[i915#1825]: https://gitlab.freedesktop.org/drm/intel/issues/1825
[i915#1839]: https://gitlab.freedesktop.org/drm/intel/issues/1839
[i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845
[i915#1849]: https://gitlab.freedesktop.org/drm/intel/issues/1849
[i915#1850]: https://gitlab.freedesktop.org/drm/intel/issues/1850
[i915#1902]: https://gitlab.freedesktop.org/drm/intel/issues/1902
[i915#1937]: https://gitlab.freedesktop.org/drm/intel/issues/1937
[i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
[i915#2122]: https://gitlab.freedesktop.org/drm/intel/issues/2122
[i915#2346]: https://gitlab.freedesktop.org/drm/intel/issues/2346
[i915#2411]: https://gitlab.freedesktop.org/drm/intel/issues/2411
[i915#2433]: https://gitlab.freedesktop.org/drm/intel/issues/2433
[i915#2434]: https://gitlab.freedesktop.org/drm/intel/issues/2434
[i915#2435]: https://gitlab.freedesktop.org/drm/intel/issues/2435
[i915#2436]: https://gitlab.freedesktop.org/drm/intel/issues/2436
[i915#2437]: https://gitlab.freedesktop.org/drm/intel/issues/2437
[i915#2527]: https://gitlab.freedesktop.org/drm/intel/issues/2527
[i915#2582]: https://gitlab.freedesktop.org/drm/intel/issues/2582
[i915#2587]: https://gitlab.freedesktop.org/drm/intel/issues/2587
[i915#2672]: https://gitlab.freedesktop.org/drm/intel/issues/2672
[i915#2705]: https://gitlab.freedesktop.org/drm/intel/issues/2705
[i915#280]: https://gitlab.freedesktop.org/drm/intel/issues/280
[i915#284]: https://gitlab.freedesktop.org/drm/intel/issues/284
[i915#2842]: https://gitlab.freedesktop.org/drm/intel/issues/2842
[i915#2867]: https://gitlab.freedesktop.org/drm/intel/issues/2867
[i915#2920]: https://gitlab.freedesktop.org/drm/intel/issues/2920
[i915#2994]: https://gitlab.freedesktop.org/drm/intel/issues/2994
[i915#3002]: https://gitlab.freedesktop.org/drm/intel/issues/3002
[i915#3012]: https://gitlab.freedesktop.org/drm/intel/issues/3012
[i915#3281]: https://gitlab.freedesktop.org/drm/intel/issues/3281
[i915#3282]: https://gitlab.freedesktop.org/drm/intel/issues/3282
[i915#3291]: https://gitlab.freedesktop.org/drm/intel/issues/3291
[i915#3297]: https://gitlab.freedesktop.org/drm/intel/issues/3297
[i915#3299]: https://gitlab.freedesktop.org/drm/intel/issues/3299
[i915#3301]: https://gitlab.freedesktop.org/drm/intel/issues/3301
[i915#3318]: https://gitlab.freedesktop.org/drm/intel/issues/3318
[i915#3323]: https://gitlab.freedesktop.org/drm/intel/issues/3323
[i915#3359]: https://gitlab.freedesktop.org/drm/intel/issues/3359
[i915#3361]: https://gitlab.freedesktop.org/drm/intel/issues/3361
[i915#3458]: https://gitlab.freedesktop.org/drm/intel/issues/3458
[i915#3469]: https://gitlab.freedesktop.org/drm/intel/issues/3469
[i915#3524]: https://gitlab.freedesktop.org/drm/intel/issues/3524
[i915#3528]: https://gitlab.freedesktop.org/drm/intel/issues/3528
[i915#3539]: https://gitlab.freedesktop.org/drm/intel/issues/3539
[i915#3546]: https://gitlab.freedesktop.org/drm/intel/issues/3546
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3558]: https://gitlab.freedesktop.org/drm/intel/issues/3558
[i915#3637]: https://gitlab.freedesktop.org/drm/intel/issues/3637
[i915#3638]: https://gitlab.freedesktop.org/drm/intel/issues/3638
[i915#3689]: https://gitlab.freedesktop.org/drm/intel/issues/3689
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#3734]: https://gitlab.freedesktop.org/drm/intel/issues/3734
[i915#3742]: https://gitlab.freedesktop.org/drm/intel/issues/3742
[i915#3840]: https://gitlab.freedesktop.org/drm/intel/issues/3840
[i915#3886]: https://gitlab.freedesktop.org/drm/intel/issues/3886
[i915#3938]: https://gitlab.freedesktop.org/drm/intel/issues/3938
[i915#3952]: https://gitlab.freedesktop.org/drm/intel/issues/3952
[i915#3955]: https://gitlab.freedesktop.org/drm/intel/issues/3955
[i915#404]: https://gitlab.freedesktop.org/drm/intel/issues/404
[i915#4070]: https://gitlab.freedesktop.org/drm/intel/issues/4070
[i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[i915#4078]: https://gitlab.freedesktop.org/drm/intel/issues/4078
[i915#4079]: https://gitlab.freedesktop.org/drm/intel/issues/4079
[i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083
[i915#4098]: https://gitlab.freedesktop.org/drm/intel/issues/4098
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4171]: https://gitlab.freedesktop.org/drm/intel/issues/4171
[i915#4212]: https://gitlab.freedesktop.org/drm/intel/issues/4212
[i915#4213]: https://gitlab.freedesktop.org/drm/intel/issues/4213
[i915#426]: https://gitlab.freedesktop.org/drm/intel/issues/426
[i915#4270]: https://gitlab.freedesktop.org/drm/intel/issues/4270
[i915#4281]: https://gitlab.freedesktop.org/drm/intel/issues/4281
[i915#4312]: https://gitlab.freedesktop.org/drm/intel/issues/4312
[i915#433]: https://gitlab.freedesktop.org/drm/intel/issues/433
[i915#4387]: https://gitlab.freedesktop.org/drm/intel/issues/4387
[i915#4391]: https://gitlab.freedesktop.org/drm/intel/issues/4391
[i915#4392]: https://gitlab.freedesktop.org/drm/intel/issues/4392
[i915#4525]: https://gitlab.freedesktop.org/drm/intel/issues/4525
[i915#4538]: https://gitlab.freedesktop.org/drm/intel/issues/4538
[i915#4565]: https://gitlab.freedesktop.org/drm/intel/issues/4565
[i915#4573]: https://gitlab.freedesktop.org/drm/intel/issues/4573
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4767]: https://gitlab.freedesktop.org/drm/intel/issues/4767
[i915#4771]: https://gitlab.freedesktop.org/drm/intel/issues/4771
[i915#4812]: https://gitlab.freedesktop.org/drm/intel/issues/4812
[i915#4818]: https://gitlab.freedesktop.org/drm/intel/issues/4818
[i915#4833]: https://gitlab.freedesktop.org/drm/intel/issues/4833
[i915#4852]: https://gitlab.freedesktop.org/drm/intel/issues/4852
[i915#4854]: https://gitlab.freedesktop.org/drm/intel/issues/4854
[i915#4855]: https://gitlab.freedesktop.org/drm/intel/issues/4855
[i915#4859]: https://gitlab.freedesktop.org/drm/intel/issues/4859
[i915#4860]: https://gitlab.freedesktop.org/drm/intel/issues/4860
[i915#4873]: https://gitlab.freedesktop.org/drm/intel/issues/4873
[i915#4879]: https://gitlab.freedesktop.org/drm/intel/issues/4879
[i915#4880]: https://gitlab.freedesktop.org/drm/intel/issues/4880
[i915#4881]: https://gitlab.freedesktop.org/drm/intel/issues/4881
[i915#4885]: https://gitlab.freedesktop.org/drm/intel/issues/4885
[i915#4939]: https://gitlab.freedesktop.org/drm/intel/issues/4939
[i915#4958]: https://gitlab.freedesktop.org/drm/intel/issues/4958
[i915#4991]: https://gitlab.freedesktop.org/drm/intel/issues/4991
[i915#51]: https://gitlab.freedesktop.org/drm/intel/issues/51
[i915#5176]: https://gitlab.freedesktop.org/drm/intel/issues/5176
[i915#5235]: https://gitlab.freedesktop.org/drm/intel/issues/5235
[i915#5286]: https://gitlab.freedesktop.org/drm/intel/issues/5286
[i915#5288]: https://gitlab.freedesktop.org/drm/intel/issues/5288
[i915#5289]: https://gitlab.freedesktop.org/drm/intel/issues/5289
[i915#5325]: https://gitlab.freedesktop.org/drm/intel/issues/5325
[i915#5327]: https://gitlab.freedesktop.org/drm/intel/issues/5327
[i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533
[i915#5439]: https://gitlab.freedesktop.org/drm/intel/issues/5439
[i915#5563]: https://gitlab.freedesktop.org/drm/intel/issues/5563
[i915#5566]: https://gitlab.freedesktop.org/drm/intel/issues/5566
[i915#5723]: https://gitlab.freedesktop.org/drm/intel/issues/5723
[i915#5784]: https://gitlab.freedesktop.org/drm/intel/issues/5784
[i915#588]: https://gitlab.freedesktop.org/drm/intel/issues/588
[i915#6095]: https://gitlab.freedesktop.org/drm/intel/issues/6095
[i915#6227]: https://gitlab.freedesktop.org/drm/intel/issues/6227
[i915#6230]: https://gitlab.freedesktop.org/drm/intel/issues/6230
[i915#6247]: https://gitlab.freedesktop.org/drm/intel/issues/6247
[i915#6248]: https://gitlab.freedesktop.org/drm/intel/issues/6248
[i915#6251]: https://gitlab.freedesktop.org/drm/intel/issues/6251
[i915#6259]: https://gitlab.freedesktop.org/drm/intel/issues/6259
[i915#6268]: https://gitlab.freedesktop.org/drm/intel/issues/6268
[i915#6301]: https://gitlab.freedesktop.org/drm/intel/issues/6301
[i915#6334]: https://gitlab.freedesktop.org/drm/intel/issues/6334
[i915#6335]: https://gitlab.freedesktop.org/drm/intel/issues/6335
[i915#6344]: https://gitlab.freedesktop.org/drm/intel/issues/6344
[i915#6412]: https://gitlab.freedesktop.org/drm/intel/issues/6412
[i915#6433]: https://gitlab.freedesktop.org/drm/intel/issues/6433
[i915#6463]: https://gitlab.freedesktop.org/drm/intel/issues/6463
[i915#6493]: https://gitlab.freedesktop.org/drm/intel/issues/6493
[i915#6497]: https://gitlab.freedesktop.org/drm/intel/issues/6497
[i915#6524]: https://gitlab.freedesktop.org/drm/intel/issues/6524
[i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658
[i915#6590]: https://gitlab.freedesktop.org/drm/intel/issues/6590
[i915#6621]: https://gitlab.freedesktop.org/drm/intel/issues/6621
[i915#6946]: https://gitlab.freedesktop.org/drm/intel/issues/6946
[i915#6949]: https://gitlab.freedesktop.org/drm/intel/issues/6949
[i915#6950]: https://gitlab.freedesktop.org/drm/intel/issues/6950
[i915#7036]: https://gitlab.freedesktop.org/drm/intel/issues/7036
[i915#7065]: https://gitlab.freedesktop.org/drm/intel/issues/7065
[i915#7116]: https://gitlab.freedesktop.org/drm/intel/issues/7116
[i915#716]: https://gitlab.freedesktop.org/drm/intel/issues/716
[i915#7165]: https://gitlab.freedesktop.org/drm/intel/issues/7165
[i915#7178]: https://gitlab.freedesktop.org/drm/intel/issues/7178
[i915#7192]: https://gitlab.freedesktop.org/drm/intel/issues/7192
[i915#7200]: https://gitlab.freedesktop.org/drm/intel/issues/7200
[i915#79]: https://gitlab.freedesktop.org/drm/intel/issues/79
Build changes
-------------
* Linux: CI_DRM_12242 -> Patchwork_109694v1
CI-20190529: 20190529
CI_DRM_12242: 075a81b1efd29300194bdf7877e08b6dbe3079d9 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7012: ca6f5bdd537d26692c4b1ca011b8c4f227d95703 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_109694v1: 075a81b1efd29300194bdf7877e08b6dbe3079d9 @ 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_109694v1/index.html
Re: [Intel-gfx] ✗ Fi.CI.IGT: failure for series starting with [1/2] drm/i915/display: Do both crawl and squash when changing cdclk
From: Patchwork <[email protected]>
Sent: Thursday, October 13, 2022 9:57 PM
To: Srivatsa, Anusha <[email protected]>
Cc: [email protected]
Subject: ✗ Fi.CI.IGT: failure for series starting with [1/2] drm/i915/display: Do both crawl and squash when changing cdclk
Patch Details
Series:
series starting with [1/2] drm/i915/display: Do both crawl and squash when changing cdclk URL:
https://patchwork.freedesktop.org/series/109694/
State:
failure
Details:
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/index.html
CI Bug Log - changes from CI_DRM_12242_full -> Patchwork_109694v1_full Summary
FAILURE
Serious unknown changes coming with Patchwork_109694v1_full absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_109694v1_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
Participating hosts (9 -> 11)
Additional (2): shard-rkl shard-dg1
Possible new issues
Here are the unknown changes that may have been introduced in Patchwork_109694v1_full:
IGT changes
Possible regressions
* igt@syncobj_wait@wait-any-snapshot:
* shard-skl: PASS<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-skl9/igt@[email protected]> -> FAIL<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl4/igt@[email protected]>
Failure not related to the changes introduced in this series.
Anusha
Known issues
Here are the changes found in Patchwork_109694v1_full that come from known issues:
CI changes
Issues hit
* boot:
* shard-glk: (PASS<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk1/boot.html>, PASS<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk1/boot.html>, PASS<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk1/boot.html>, PASS<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk2/boot.html>, PASS<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk2/boot.html>, PASS<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk2/boot.html>, PASS<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk2/boot.html>, PASS<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk3/boot.html>, PASS<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk3/boot.html>, PASS<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk3/boot.html>, PASS<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk5/boot.html>, PASS<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk5/boot.html>, PASS<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk5/boot.html>, PASS<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk6/boot.html>, PASS<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk6/boot.html>, PASS<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk6/boot.html>, PASS<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk7/boot.html>, PASS<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk7/boot.html>, PASS<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk8/boot.html>, PASS<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk8/boot.html>, PASS<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk8/boot.html>, PASS<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk8/boot.html>, PASS<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk9/boot.html>, PASS<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk9/boot.html>, PASS<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk9/boot.html>) -> (PASS<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk9/boot.html>, PASS<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk9/boot.html>, PASS<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk9/boot.html>, PASS<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk8/boot.html>, PASS<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk8/boot.html>, PASS<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk8/boot.html>, PASS<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk7/boot.html>, PASS<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk7/boot.html>, PASS<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk7/boot.html>, PASS<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk6/boot.html>, PASS<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk6/boot.html>, PASS<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk6/boot.html>, PASS<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk5/boot.html>, PASS<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk5/boot.html>, PASS<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk5/boot.html>, PASS<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk3/boot.html>, PASS<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk3/boot.html>, PASS<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk3/boot.html>, PASS<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk3/boot.html>, PASS<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk2/boot.html>, PASS<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk2/boot.html>, PASS<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk1/boot.html>, PASS<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk1/boot.html>, FAIL<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk1/boot.html>, PASS<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk1/boot.html>) (i915#4392<https://gitlab.freedesktop.org/drm/intel/issues/4392>)
IGT changes
Issues hit
* igt@gem_ctx_exec@basic-nohangcheck:
* shard-tglb: PASS<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-tglb2/igt@[email protected]> -> FAIL<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-tglb2/igt@[email protected]> (i915#6268<https://gitlab.freedesktop.org/drm/intel/issues/6268>)
* igt@gem_ctx_isolation@preservation-s3@vcs0:
* shard-apl: PASS<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-apl1/igt@gem_ctx_isolation@[email protected]> -> DMESG-WARN<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-apl3/igt@gem_ctx_isolation@[email protected]> (i915#180<https://gitlab.freedesktop.org/drm/intel/issues/180>)
* igt@gem_ctx_isolation@preservation-s3@vecs0:
* shard-tglb: PASS<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-tglb2/igt@gem_ctx_isolation@[email protected]> -> DMESG-WARN<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-tglb7/igt@gem_ctx_isolation@[email protected]> (i915#2411<https://gitlab.freedesktop.org/drm/intel/issues/2411> / i915#2867<https://gitlab.freedesktop.org/drm/intel/issues/2867>) +1 similar issue
* igt@gem_eio@reset-stress:
* shard-tglb: PASS<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-tglb5/igt@[email protected]> -> FAIL<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-tglb1/igt@[email protected]> (i915#5784<https://gitlab.freedesktop.org/drm/intel/issues/5784>)
* igt@gem_exec_balancer@parallel-keep-in-fence:
* shard-iclb: PASS<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-iclb2/igt@[email protected]> -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-iclb8/igt@[email protected]> (i915#4525<https://gitlab.freedesktop.org/drm/intel/issues/4525>) +1 similar issue
* igt@gem_exec_fair@basic-none@vcs1:
* shard-iclb: NOTRUN -> FAIL<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-iclb1/igt@gem_exec_fair@[email protected]> (i915#2842<https://gitlab.freedesktop.org/drm/intel/issues/2842>)
* igt@gem_exec_fair@basic-pace-share@rcs0:
* shard-apl: PASS<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-apl8/igt@gem_exec_fair@[email protected]> -> FAIL<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-apl1/igt@gem_exec_fair@[email protected]> (i915#2842<https://gitlab.freedesktop.org/drm/intel/issues/2842>)
* igt@gem_exec_fair@basic-pace@vecs0:
* shard-iclb: PASS<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-iclb8/igt@gem_exec_fair@[email protected]> -> FAIL<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-iclb3/igt@gem_exec_fair@[email protected]> (i915#2842<https://gitlab.freedesktop.org/drm/intel/issues/2842>)
* igt@gem_lmem_swapping@heavy-random:
* shard-skl: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl1/igt@[email protected]> (fdo#109271<https://bugs.freedesktop.org/show_bug.cgi?id=109271> / i915#4613<https://gitlab.freedesktop.org/drm/intel/issues/4613>) +1 similar issue
* igt@gem_userptr_blits@dmabuf-sync:
* shard-skl: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl5/igt@[email protected]> (fdo#109271<https://bugs.freedesktop.org/show_bug.cgi?id=109271> / i915#3323<https://gitlab.freedesktop.org/drm/intel/issues/3323>)
* igt@i915_pipe_stress@stress-xrgb8888-untiled:
* shard-apl: NOTRUN -> FAIL<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-apl7/igt@[email protected]> (i915#7036<https://gitlab.freedesktop.org/drm/intel/issues/7036>)
* shard-skl: NOTRUN -> FAIL<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl6/igt@[email protected]> (i915#7036<https://gitlab.freedesktop.org/drm/intel/issues/7036>)
* igt@kms_ccs@pipe-a-missing-ccs-buffer-y_tiled_gen12_mc_ccs:
* shard-skl: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl1/igt@kms_ccs@pipe-a-missing-ccs-buffer-y_tiled_gen12_mc_ccs.html> (fdo#109271<https://bugs.freedesktop.org/show_bug.cgi?id=109271> / i915#3886<https://gitlab.freedesktop.org/drm/intel/issues/3886>) +2 similar issues
* igt@kms_ccs@pipe-a-random-ccs-data-y_tiled_gen12_rc_ccs_cc:
* shard-apl: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-apl7/igt@kms_ccs@pipe-a-random-ccs-data-y_tiled_gen12_rc_ccs_cc.html> (fdo#109271<https://bugs.freedesktop.org/show_bug.cgi?id=109271> / i915#3886<https://gitlab.freedesktop.org/drm/intel/issues/3886>) +2 similar issues
* igt@kms_ccs@pipe-b-bad-rotation-90-4_tiled_dg2_rc_ccs_cc:
* shard-apl: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-apl7/igt@kms_ccs@pipe-b-bad-rotation-90-4_tiled_dg2_rc_ccs_cc.html> (fdo#109271<https://bugs.freedesktop.org/show_bug.cgi?id=109271>) +52 similar issues
* igt@kms_chamelium@hdmi-hpd-storm:
* shard-apl: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-apl7/igt@[email protected]> (fdo#109271<https://bugs.freedesktop.org/show_bug.cgi?id=109271> / fdo#111827<https://bugs.freedesktop.org/show_bug.cgi?id=111827>) +3 similar issues
* igt@kms_chamelium@hdmi-hpd-with-enabled-mode:
* shard-skl: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl6/igt@[email protected]> (fdo#109271<https://bugs.freedesktop.org/show_bug.cgi?id=109271> / fdo#111827<https://bugs.freedesktop.org/show_bug.cgi?id=111827>) +6 similar issues
* igt@kms_color@ctm-0-25:
* shard-skl: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl1/igt@[email protected]> (fdo#109271<https://bugs.freedesktop.org/show_bug.cgi?id=109271> / i915#3546<https://gitlab.freedesktop.org/drm/intel/issues/3546>)
* igt@kms_cursor_legacy@flip-vs-cursor@atomic-transitions:
* shard-iclb: PASS<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-iclb6/igt@kms_cursor_legacy@[email protected]> -> FAIL<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-iclb7/igt@kms_cursor_legacy@[email protected]> (i915#2346<https://gitlab.freedesktop.org/drm/intel/issues/2346>)
* igt@kms_fbcon_fbt@fbc-suspend:
* shard-apl: PASS<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-apl7/igt@[email protected]> -> INCOMPLETE<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-apl6/igt@[email protected]> (i915#180<https://gitlab.freedesktop.org/drm/intel/issues/180> / i915#1982<https://gitlab.freedesktop.org/drm/intel/issues/1982> / i915#4939<https://gitlab.freedesktop.org/drm/intel/issues/4939>)
* igt@kms_fbcon_fbt@psr-suspend:
* shard-skl: NOTRUN -> FAIL<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl5/igt@[email protected]> (i915#4767<https://gitlab.freedesktop.org/drm/intel/issues/4767>)
* igt@kms_flip@2x-flip-vs-expired-vblank@bc-hdmi-a1-hdmi-a2:
* shard-glk: PASS<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk5/igt@kms_flip@[email protected]> -> FAIL<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk5/igt@kms_flip@[email protected]> (i915#79<https://gitlab.freedesktop.org/drm/intel/issues/79>) +1 similar issue
* igt@kms_flip@flip-vs-expired-vblank-interruptible@b-edp1:
* shard-skl: PASS<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-skl6/igt@kms_flip@[email protected]> -> FAIL<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl7/igt@kms_flip@[email protected]> (i915#79<https://gitlab.freedesktop.org/drm/intel/issues/79>) +1 similar issue
* igt@kms_flip@plain-flip-fb-recreate-interruptible@b-edp1:
* shard-skl: PASS<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-skl10/igt@kms_flip@[email protected]> -> FAIL<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl6/igt@kms_flip@[email protected]> (i915#2122<https://gitlab.freedesktop.org/drm/intel/issues/2122>) +7 similar issues
* igt@kms_flip_scaled_crc@flip-32bpp-4tile-to-32bpp-4tiledg2rcccs-downscaling@pipe-a-valid-mode:
* shard-iclb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-iclb8/igt@kms_flip_scaled_crc@flip-32bpp-4tile-to-32bpp-4tiledg2rcccs-downscaling@pipe-a-valid-mode.html> (i915#2587<https://gitlab.freedesktop.org/drm/intel/issues/2587> / i915#2672<https://gitlab.freedesktop.org/drm/intel/issues/2672>) +2 similar issues
* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-downscaling@pipe-a-default-mode:
* shard-iclb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-iclb2/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-downscaling@pipe-a-default-mode.html> (i915#3555<https://gitlab.freedesktop.org/drm/intel/issues/3555>)
* igt@kms_flip_scaled_crc@flip-64bpp-yftile-to-32bpp-yftile-upscaling@pipe-a-default-mode:
* shard-iclb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-iclb3/igt@kms_flip_scaled_crc@flip-64bpp-yftile-to-32bpp-yftile-upscaling@pipe-a-default-mode.html> (i915#2672<https://gitlab.freedesktop.org/drm/intel/issues/2672>) +8 similar issues
* igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytilegen12rcccs-upscaling@pipe-a-default-mode:
* shard-iclb: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-iclb2/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytilegen12rcccs-upscaling@pipe-a-default-mode.html> (i915#2672<https://gitlab.freedesktop.org/drm/intel/issues/2672> / i915#3555<https://gitlab.freedesktop.org/drm/intel/issues/3555>)
* igt@kms_frontbuffer_tracking@fbcpsr-suspend:
* shard-skl: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl1/igt@[email protected]> (fdo#109271<https://bugs.freedesktop.org/show_bug.cgi?id=109271>) +147 similar issues
* igt@kms_plane_alpha_blend@alpha-opaque-fb@pipe-a-dp-1:
* shard-apl: NOTRUN -> FAIL<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-apl7/igt@kms_plane_alpha_blend@[email protected]> (i915#4573<https://gitlab.freedesktop.org/drm/intel/issues/4573>) +2 similar issues
* igt@kms_plane_alpha_blend@alpha-opaque-fb@pipe-b-edp-1:
* shard-skl: NOTRUN -> FAIL<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl6/igt@kms_plane_alpha_blend@[email protected]> (i915#4573<https://gitlab.freedesktop.org/drm/intel/issues/4573>) +2 similar issues
* igt@kms_psr2_su@page_flip-xrgb8888:
* shard-skl: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl5/igt@kms_psr2_su@page_flip-xrgb8888.html> (fdo#109271<https://bugs.freedesktop.org/show_bug.cgi?id=109271> / i915#658<https://gitlab.freedesktop.org/drm/intel/issues/658>) +2 similar issues
* igt@kms_psr@psr2_primary_mmap_cpu:
* shard-iclb: PASS<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-iclb2/igt@kms_psr@psr2_primary_mmap_cpu.html> -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-iclb1/igt@kms_psr@psr2_primary_mmap_cpu.html> (fdo#109441<https://bugs.freedesktop.org/show_bug.cgi?id=109441>) +3 similar issues
* igt@kms_writeback@writeback-invalid-parameters:
* shard-skl: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl1/igt@[email protected]> (fdo#109271<https://bugs.freedesktop.org/show_bug.cgi?id=109271> / i915#2437<https://gitlab.freedesktop.org/drm/intel/issues/2437>)
* igt@perf@short-reads:
* shard-skl: PASS<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-skl4/igt@[email protected]> -> FAIL<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl10/igt@[email protected]> (i915#51<https://gitlab.freedesktop.org/drm/intel/issues/51>)
* igt@syncobj_wait@wait-for-submit-delayed-submit:
* shard-skl: PASS<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-skl6/igt@[email protected]> -> DMESG-WARN<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl7/igt@[email protected]> (i915#1982<https://gitlab.freedesktop.org/drm/intel/issues/1982>)
* igt@sysfs_clients@create:
* shard-apl: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-apl7/igt@[email protected]> (fdo#109271<https://bugs.freedesktop.org/show_bug.cgi?id=109271> / i915#2994<https://gitlab.freedesktop.org/drm/intel/issues/2994>)
* shard-skl: NOTRUN -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl6/igt@[email protected]> (fdo#109271<https://bugs.freedesktop.org/show_bug.cgi?id=109271> / i915#2994<https://gitlab.freedesktop.org/drm/intel/issues/2994>)
Possible fixes
* igt@feature_discovery@psr2:
* shard-iclb: SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-iclb3/igt@[email protected]> (i915#658<https://gitlab.freedesktop.org/drm/intel/issues/658>) -> PASS<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-iclb2/igt@[email protected]>
* igt@gem_exec_balancer@parallel-bb-first:
* shard-iclb: SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-iclb3/igt@[email protected]> (i915#4525<https://gitlab.freedesktop.org/drm/intel/issues/4525>) -> PASS<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-iclb2/igt@[email protected]>
* igt@gem_exec_fair@basic-flow@rcs0:
* shard-tglb: FAIL<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-tglb7/igt@gem_exec_fair@[email protected]> (i915#2842<https://gitlab.freedesktop.org/drm/intel/issues/2842>) -> PASS<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-tglb5/igt@gem_exec_fair@[email protected]>
* igt@gen9_exec_parse@allowed-all:
* shard-skl: DMESG-WARN<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-skl10/igt@[email protected]> (i915#5566<https://gitlab.freedesktop.org/drm/intel/issues/5566> / i915#716<https://gitlab.freedesktop.org/drm/intel/issues/716>) -> PASS<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl6/igt@[email protected]>
* shard-apl: DMESG-WARN<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-apl2/igt@[email protected]> (i915#5566<https://gitlab.freedesktop.org/drm/intel/issues/5566> / i915#716<https://gitlab.freedesktop.org/drm/intel/issues/716>) -> PASS<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-apl7/igt@[email protected]>
* igt@i915_pm_dc@dc9-dpms:
* shard-iclb: SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-iclb3/igt@[email protected]> (i915#4281<https://gitlab.freedesktop.org/drm/intel/issues/4281>) -> PASS<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-iclb5/igt@[email protected]>
* igt@i915_pm_sseu@full-enable:
* shard-skl: FAIL<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-skl5/igt@[email protected]> (i915#3524<https://gitlab.freedesktop.org/drm/intel/issues/3524>) -> PASS<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl4/igt@[email protected]>
* igt@kms_cursor_legacy@flip-vs-cursor-crc-atomic:
* shard-skl: FAIL<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-skl6/igt@[email protected]> (i915#2346<https://gitlab.freedesktop.org/drm/intel/issues/2346>) -> PASS<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl9/igt@[email protected]>
* igt@kms_flip@2x-plain-flip-fb-recreate-interruptible@ab-hdmi-a1-hdmi-a2:
* shard-glk: FAIL<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-glk8/igt@kms_flip@[email protected]> (i915#2122<https://gitlab.freedesktop.org/drm/intel/issues/2122>) -> PASS<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-glk3/igt@kms_flip@[email protected]>
* igt@kms_flip@busy-flip@c-edp1:
* shard-skl: FAIL<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-skl5/igt@kms_flip@[email protected]> (i915#7200<https://gitlab.freedesktop.org/drm/intel/issues/7200>) -> PASS<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl4/igt@kms_flip@[email protected]> +1 similar issue
* igt@kms_flip@flip-vs-expired-vblank-interruptible@a-edp1:
* shard-skl: FAIL<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-skl6/igt@kms_flip@[email protected]> (i915#79<https://gitlab.freedesktop.org/drm/intel/issues/79>) -> PASS<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl7/igt@kms_flip@[email protected]>
* igt@kms_hdr@bpc-switch-suspend@pipe-a-dp-1:
* shard-apl: DMESG-WARN<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-apl3/igt@kms_hdr@[email protected]> (i915#180<https://gitlab.freedesktop.org/drm/intel/issues/180>) -> PASS<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-apl7/igt@kms_hdr@[email protected]> +1 similar issue
* igt@kms_plane_scaling@planes-unity-scaling-downscale-factor-0-5@pipe-c-edp-1:
* shard-iclb: SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-iclb2/igt@kms_plane_scaling@[email protected]> (i915#5235<https://gitlab.freedesktop.org/drm/intel/issues/5235>) -> PASS<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-iclb8/igt@kms_plane_scaling@[email protected]> +2 similar issues
* igt@kms_psr@psr2_sprite_plane_move:
* shard-iclb: SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-iclb6/igt@kms_psr@psr2_sprite_plane_move.html> (fdo#109441<https://bugs.freedesktop.org/show_bug.cgi?id=109441>) -> PASS<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-iclb2/igt@kms_psr@psr2_sprite_plane_move.html> +2 similar issues
Warnings
* igt@dmabuf@all@dma_fence_chain:
* shard-skl: INCOMPLETE<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-skl6/igt@dmabuf@all@dma_fence_chain.html> (i915#6949<https://gitlab.freedesktop.org/drm/intel/issues/6949> / i915#7165<https://gitlab.freedesktop.org/drm/intel/issues/7165>) -> INCOMPLETE<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl9/igt@dmabuf@all@dma_fence_chain.html> (i915#6949<https://gitlab.freedesktop.org/drm/intel/issues/6949> / i915#7165<https://gitlab.freedesktop.org/drm/intel/issues/7165> / i915#7192<https://gitlab.freedesktop.org/drm/intel/issues/7192>)
* igt@i915_pm_dc@dc3co-vpb-simulation:
* shard-iclb: SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-iclb6/igt@[email protected]> (i915#658<https://gitlab.freedesktop.org/drm/intel/issues/658>) -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-iclb2/igt@[email protected]> (i915#588<https://gitlab.freedesktop.org/drm/intel/issues/588>)
* igt@i915_selftest@mock@vma:
* shard-skl: INCOMPLETE<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-skl6/igt@i915_selftest@[email protected]> (i915#6950<https://gitlab.freedesktop.org/drm/intel/issues/6950> / i915#7065<https://gitlab.freedesktop.org/drm/intel/issues/7065>) -> INCOMPLETE<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl7/igt@i915_selftest@[email protected]> (i915#6950<https://gitlab.freedesktop.org/drm/intel/issues/6950> / i915#7065<https://gitlab.freedesktop.org/drm/intel/issues/7065> / i915#7192<https://gitlab.freedesktop.org/drm/intel/issues/7192>)
* igt@kms_psr2_sf@overlay-plane-move-continuous-exceed-sf:
* shard-iclb: SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-iclb2/igt@[email protected]> (i915#2920<https://gitlab.freedesktop.org/drm/intel/issues/2920>) -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-iclb8/igt@[email protected]> (i915#658<https://gitlab.freedesktop.org/drm/intel/issues/658>) +1 similar issue
* igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area:
* shard-iclb: SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-iclb2/igt@[email protected]> (i915#2920<https://gitlab.freedesktop.org/drm/intel/issues/2920>) -> SKIP<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-iclb8/igt@[email protected]> (fdo#111068<https://bugs.freedesktop.org/show_bug.cgi?id=111068> / i915#658<https://gitlab.freedesktop.org/drm/intel/issues/658>)
* igt@runner@aborted:
* shard-apl: (FAIL<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-apl2/igt@[email protected]>, FAIL<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-apl6/igt@[email protected]>, FAIL<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-apl8/igt@[email protected]>, FAIL<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-apl3/igt@[email protected]>, FAIL<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-apl3/igt@[email protected]>) (fdo#109271<https://bugs.freedesktop.org/show_bug.cgi?id=109271> / i915#3002<https://gitlab.freedesktop.org/drm/intel/issues/3002> / i915#4312<https://gitlab.freedesktop.org/drm/intel/issues/4312>) -> (FAIL<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-apl3/igt@[email protected]>, FAIL<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-apl2/igt@[email protected]>, FAIL<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-apl3/igt@[email protected]>, FAIL<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-apl6/igt@[email protected]>) (i915#180<https://gitlab.freedesktop.org/drm/intel/issues/180> / i915#3002<https://gitlab.freedesktop.org/drm/intel/issues/3002> / i915#4312<https://gitlab.freedesktop.org/drm/intel/issues/4312>)
* shard-skl: (FAIL<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-skl6/igt@[email protected]>, FAIL<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-skl6/igt@[email protected]>, FAIL<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-skl4/igt@[email protected]>, FAIL<https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12242/shard-skl10/igt@[email protected]>) (i915#3002<https://gitlab.freedesktop.org/drm/intel/issues/3002> / i915#4312<https://gitlab.freedesktop.org/drm/intel/issues/4312>) -> (FAIL<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl9/igt@[email protected]>, FAIL<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl1/igt@[email protected]>, FAIL<https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_109694v1/shard-skl10/igt@[email protected]>) (i915#3002<https://gitlab.freedesktop.org/drm/intel/issues/3002> / i915#4312<https://gitlab.freedesktop.org/drm/intel/issues/4312> / i915#6949<https://gitlab.freedesktop.org/drm/intel/issues/6949>)
{name}: This element is suppressed. This means it is ignored when computing the status of the difference (SUCCESS, WARNING, or FAILURE).
Build changes
* Linux: CI_DRM_12242 -> Patchwork_109694v1
CI-20190529: 20190529CI_DRM_12242: 075a81b1efd29300194bdf7877e08b6dbe3079d9 @ git://anongit.freedesktop.org/gfx-ci/linuxIGT_7012: ca6f5bdd537d26692c4b1ca011b8c4f227d95703 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.gitPatchwork_109694v1: 075a81b1efd29300194bdf7877e08b6dbe3079d9 @ git://anongit.freedesktop.org/gfx-ci/linuxpiglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
Quoted 29 lines · Anusha Srivatsa
From: Ville Syrjälä <[email protected]>
For MTL, changing cdclk from between certain frequencies has both squash and crawl. Use the current cdclk config and the new(desired) cdclk config to construtc a mid cdclk config. Set the cdclk twice:
- Current cdclk -> mid cdclk
- mid cdclk -> desired cdclkv2: Add check in
intel_modeset_calc_cdclk()to avoid cdclk change via modeset for platforms that supportsquash_crawlsequences(Ville)v3: Add checks for:
- scenario where only slow clock is used and
cdclk is actually 0 (bringing up display).
- PLLs are on before looking up the waveform.
- Squash and crawl capability checks.(Ville)Signed-off-by Anusha Srivatsa <[email protected]>Signed-off-by Ville Syrjälä <[email protected]>--- drivers/gpu/drm/i915/display/intel_cdclk.c | 157 +++++++++++++++++---- 1 file changed, 128 insertions(+), 29 deletions(-)drivers/gpu/drm/i915/display/intel_cdclk.c +0
-0
drivers/gpu/drm/i915/display/intel_cdclk.c static u32 cdclk_squash_waveform(struct drm_i915_private *dev_priv, · line 1678
Quoted 5 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +1
-1@@ -1675,7 +1675,7 @@ static u32 cdclk_squash_waveform(struct drm_i915_private *dev_priv,const struct intel_cdclk_vals *table = dev_priv->display.cdclk.table;int i; -if (cdclk == dev_priv->display.cdclk.hw.bypass) +if (cdclk == dev_priv->display.cdclk.hw.bypass || cdclk ==0 )
cdclk should never be zero. Why is that needed? Hmm. Ah, we do set it to zero during sanitation. But that shouldn't matter since we shouldn't call this in that case...
Quoted 12 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +2
-3return 0 ;for (i =0 ; table[i].refclk; i++)@@ -1689,37 +1689,72 @@ static u32 cdclk_squash_waveform(struct drm_i915_private *dev_priv,return 0xffff ; } -static void bxt_set_cdclk (struct drm_i915_private *dev_priv, -const struct intel_cdclk_config *cdclk_config, -enum pipe pipe) +static int cdclk_squash_divider (u16 waveform) +{
drivers/gpu/drm/i915/display/intel_cdclk.c static u32 cdclk_squash_waveform(struct drm_i915_private *dev_priv, · line 1703
Quoted 10 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +10
-0+return hweight16 (waveform ?:0xffff ); +} + +static bool cdclk_crawl_and_squash (struct drm_i915_private *i915, +const struct intel_cdclk_config *old_cdclk_config, +const struct intel_cdclk_config *new_cdclk_config, +struct intel_cdclk_config *mid_cdclk_config) +{ +u16 old_waveform =cdclk_squash_waveform (i915, old_cdclk_config->cdclk); +u16 new_waveform =cdclk_squash_waveform (i915, new_cdclk_config->cdclk);
... but here we do call it. Just moving these to be called after the vco checks should take care of that issue.
Quoted 134 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +92
-22+u16 mid_waveform; +int size =16 ; +int div =2 ; + +/* Return if both Squash and Crawl are not present */ +if (!HAS_CDCLK_CRAWL (i915) || !has_cdclk_squasher (i915)) +return false; + +/* Return if Squash only or Crawl only is the desired action */ +if (old_cdclk_config->vco <=0 || new_cdclk_config->vco <=0 || + old_cdclk_config->vco == new_cdclk_config->vco || + old_waveform == new_waveform) +return false; + + *mid_cdclk_config = *new_cdclk_config; + +/* If moving to a higher cdclk(squash) the mid cdclk config +* should have the new (squash) waveform. +* If moving to a lower cdclk (crawl) the mid cdclk config +* should have the new vco. +*/ + +if (cdclk_squash_divider (new_waveform) >cdclk_squash_divider (old_waveform)) { + mid_cdclk_config->vco = old_cdclk_config->vco; + mid_waveform = new_waveform; + }else { + mid_cdclk_config->vco = new_cdclk_config->vco; + mid_waveform = old_waveform; + } + + mid_cdclk_config->cdclk =DIV_ROUND_CLOSEST (cdclk_squash_divider (mid_waveform) * + mid_cdclk_config->vco, size * div); + +/* make sure the mid clock came out sane */ + +drm_WARN_ON (&i915->drm, mid_cdclk_config->cdclk < +min (old_cdclk_config->cdclk, new_cdclk_config->cdclk)); +drm_WARN_ON (&i915->drm, mid_cdclk_config->cdclk > + i915->display.cdclk.max_cdclk_freq); +drm_WARN_ON (&i915->drm,cdclk_squash_waveform (i915, mid_cdclk_config->cdclk) != + mid_waveform); + +return true; +} + +static void _bxt_set_cdclk (struct drm_i915_private *dev_priv, +const struct intel_cdclk_config *cdclk_config, +enum pipe pipe) {int cdclk = cdclk_config->cdclk;int vco = cdclk_config->vco;u32 val;u16 waveform;int clock; -int ret; - -/* Inform power controller of upcoming frequency change. */ -if (DISPLAY_VER (dev_priv) >=11 ) - ret =skl_pcode_request (&dev_priv->uncore,SKL_PCODE_CDCLK_CONTROL , -SKL_CDCLK_PREPARE_FOR_CHANGE , -SKL_CDCLK_READY_FOR_CHANGE , -SKL_CDCLK_READY_FOR_CHANGE ,3 ); -else -/* -* BSpec requires us to wait up to 150usec, but that leads to -* timeouts; the 2ms used here is based on experiment. -*/ - ret =snb_pcode_write_timeout (&dev_priv->uncore, -HSW_PCODE_DE_WRITE_FREQ_REQ , -0x80000000 ,150 ,2 ); -if (ret) { -drm_err (&dev_priv->drm, -"Failed to inform PCU about cdclk change (err %d, freq %d)\n" , - ret, cdclk); -return ; - }if (HAS_CDCLK_CRAWL (dev_priv) && dev_priv->display.cdclk.hw.vco >0 && vco >0 ) {if (dev_priv->display.cdclk.hw.vco != vco)@@ -1772,6 +1807,44 @@ static void bxt_set_cdclk(struct drm_i915_private *dev_priv,if (pipe !=INVALID_PIPE )intel_crtc_wait_for_next_vblank (intel_crtc_for_pipe (dev_priv, pipe)); +} + +static void bxt_set_cdclk (struct drm_i915_private *dev_priv, +const struct intel_cdclk_config *cdclk_config, +enum pipe pipe) +{ +struct intel_cdclk_config mid_cdclk_config; +int cdclk = cdclk_config->cdclk; +int ret; + +/* Inform power controller of upcoming frequency change. */ +if (DISPLAY_VER (dev_priv) >=11 ) + ret =skl_pcode_request (&dev_priv->uncore,SKL_PCODE_CDCLK_CONTROL , +SKL_CDCLK_PREPARE_FOR_CHANGE , +SKL_CDCLK_READY_FOR_CHANGE , +SKL_CDCLK_READY_FOR_CHANGE ,3 ); +else +/* +* BSpec requires us to wait up to 150usec, but that leads to +* timeouts; the 2ms used here is based on experiment. +*/ + ret =snb_pcode_write_timeout (&dev_priv->uncore, +HSW_PCODE_DE_WRITE_FREQ_REQ , +0x80000000 ,150 ,2 ); +if (ret) { +drm_err (&dev_priv->drm, +"Failed to inform PCU about cdclk change (err %d, freq %d)\n" , + ret, cdclk); +return ; + } + +if (cdclk_crawl_and_squash (dev_priv, &dev_priv->display.cdclk.hw, + cdclk_config, &mid_cdclk_config)) { +_bxt_set_cdclk (dev_priv, &mid_cdclk_config, pipe); +_bxt_set_cdclk (dev_priv, cdclk_config, pipe); + }else { +_bxt_set_cdclk (dev_priv, cdclk_config, pipe); + }if (DISPLAY_VER (dev_priv) >=11 ) { ret = snb_pcode_write(&dev_priv->uncore, SKL_PCODE_CDCLK_CONTROL,@@ -1944,6 +2017,27 @@ void intel_cdclk_uninit_hw(struct drm_i915_private *i915)skl_cdclk_uninit_hw (i915); } +static bool intel_cdclk_can_crawl_and_squash (struct drm_i915_private *i915, +const struct intel_cdclk_config *a, +const struct intel_cdclk_config *b) +{ +u16 old_waveform; +u16 new_waveform;
drivers/gpu/drm/i915/display/intel_cdclk.c void intel_cdclk_uninit_hw(struct drm_i915_private *i915) · line 2035
Quoted 10 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +10
-0+ +if (a->vco ==0 || b->vco ==0 ) +return false; + +if (HAS_CDCLK_CRAWL (i915) &&has_cdclk_squasher (i915)) { + old_waveform =cdclk_squash_waveform (i915, a->cdclk); + new_waveform =cdclk_squash_waveform (i915, b->cdclk); + }else { +return false; + }
A bit of weird construct this. I would make it
if (!has_crawl || !has_squash)
return false;
...
just like you had in the other function.
And doing that check before the vco checks would also be more consistent with the other function.
Quoted 10 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +5
-0+ +return a->vco != b->vco && + old_waveform != new_waveform; +} +static bool intel_cdclk_can_crawl (struct drm_i915_private *dev_priv,const struct intel_cdclk_config *a,const struct intel_cdclk_config *b)@@ -2750,9 +2844,14 @@ int intel_modeset_calc_cdclk(struct intel_atomic_state *state) pipe =INVALID_PIPE ;
drivers/gpu/drm/i915/display/intel_cdclk.c int intel_modeset_calc_cdclk(struct intel_atomic_state *state) · line 2851
Quoted 10 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +5
-3} -if (intel_cdclk_can_squash (dev_priv, - &old_cdclk_state->actual, - &new_cdclk_state->actual)) { +if (intel_cdclk_can_crawl_and_squash (dev_priv, + &old_cdclk_state->actual, + &new_cdclk_state->actual)) { +drm_dbg_kms (&dev_priv->drm, +"Can change cdclk via crawler and squasher\n" );
"crawler" is a bit weird term here. Maybe we should fix up all of thse to use the terms "crawling" and "squashing" or something along those lines. I'd make that a separate patch though.
Quoted 8 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +3
-0+ }else if (intel_cdclk_can_squash (dev_priv, + &old_cdclk_state->actual, + &new_cdclk_state->actual)) {drm_dbg_kms (&dev_priv->drm,"Can change cdclk via squasher\n" ); } else if (intel_cdclk_can_crawl(dev_priv,Signature · 1 line
2.25.1
Signature · 2 lines
Ville Syrjälä Intel
Quoted 74 lines
-----Original Message-----
From: Ville Syrjälä <[email protected]>
Sent: Thursday, October 20, 2022 4:33 AM
To: Srivatsa, Anusha <[email protected]>
Cc: [email protected]
Subject: Re: [PATCH 1/2] drm/i915/display: Do both crawl and squash when changing cdclkdrivers/gpu/drm/i915/display/intel_cdclk.c static u32 cdclk_squash_waveform(struct
Quoted 31 lines · Anusha Srivatsa
From: Ville Syrjälä <[email protected]>
For MTL, changing cdclk from between certain frequencies has both squash and crawl. Use the current cdclk config and the new(desired) cdclk config to construtc a mid cdclk config.
Set the cdclk twice:
- Current cdclk -> mid cdclk
- mid cdclk -> desired cdclkv2: Add check in
intel_modeset_calc_cdclk()to avoid cdclk change via modeset for platforms that supportsquash_crawlsequences(Ville)v3: Add checks for:
- scenario where only slow clock is used and cdclk is actually 0 (bringing up display).
- PLLs are on before looking up the waveform.
- Squash and crawl capability checks.(Ville)Signed-off-by Anusha Srivatsa <[email protected]>Signed-off-by Ville Syrjälä <[email protected]>--- drivers/gpu/drm/i915/display/intel_cdclk.c | 157 +++++++++++++++++---- 1 file changed, 128 insertions(+), 29 deletions(-)drivers/gpu/drm/i915/display/intel_cdclk.c +0
-0@@ -1675,7 +1675,7 @@ static u32 cdclk_squash_waveform(struct
drm_i915_private*dev_priv,drivers/gpu/drm/i915/display/intel_cdclk.c static u32 cdclk_squash_waveform(struct drm_i915_private *dev_priv, · line 1678
Quoted 5 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +1
-1const struct intel_cdclk_vals *table = dev_priv->display.cdclk.table;int i; -if (cdclk == dev_priv->display.cdclk.hw.bypass) +if (cdclk == dev_priv->display.cdclk.hw.bypass || cdclk ==0 )cdclk should never be zero. Why is that needed? Hmm. Ah, we do set it to zero during sanitation. But that shouldn't matter since we shouldn't call this in that case...
drivers/gpu/drm/i915/display/intel_cdclk.c static u32 cdclk_squash_waveform(struct
Quoted 4 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +0
-0return 0 ;for (i =0 ; table[i].refclk; i++)@@ -1689,37 +1689,72 @@ static u32 cdclk_squash_waveform(struct
drm_i915_private*dev_priv,drivers/gpu/drm/i915/display/intel_cdclk.c static u32 cdclk_squash_waveform(struct drm_i915_private *dev_priv,
Quoted 11 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +5
-3return 0xffff ; } -static void bxt_set_cdclk (struct drm_i915_private *dev_priv, -const struct intel_cdclk_config *cdclk_config, -enum pipe pipe) +static int cdclk_squash_divider (u16 waveform) { +return hweight16 (waveform ?:0xffff ); } + +static bool cdclk_crawl_and_squash (struct drm_i915_private *i915, + const struct intel_cdclk_config
*old_cdclk_config,drivers/gpu/drm/i915/display/intel_cdclk.c static u32 cdclk_squash_waveform(struct · line 1697
Quoted 1 line
drivers/gpu/drm/i915/display/intel_cdclk.c +1
-0+ const struct intel_cdclk_config
*new_cdclk_config,drivers/gpu/drm/i915/display/intel_cdclk.c static u32 cdclk_squash_waveform(struct drm_i915_private *dev_priv, · line 1700
Quoted 1 line
drivers/gpu/drm/i915/display/intel_cdclk.c +1
-0+ struct intel_cdclk_config *mid_cdclk_config){
Quoted 7 lines
drivers/gpu/drm/i915/display/intel_cdclk.c static u32 cdclk_squash_waveform(struct · line 1702
Quoted 4 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +3
-0+u16 old_waveform =cdclk_squash_waveform (i915, old_cdclk_config- cdclk); +u16 new_waveform =cdclk_squash_waveform (i915, +new_cdclk_config->cdclk);... but here we do call it. Just moving these to be called after the vco checks should take care of that issue.
Ok. Makes sense.
Quoted 163 lines
Quoted 13 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +13
-0+u16 mid_waveform; +int size =16 ; +int div =2 ; + +/* Return if both Squash and Crawl are not present */ +if (!HAS_CDCLK_CRAWL (i915) || !has_cdclk_squasher (i915)) +return false; + +/* Return if Squash only or Crawl only is the desired action */ +if (old_cdclk_config->vco <=0 || new_cdclk_config->vco <=0 || + old_cdclk_config->vco == new_cdclk_config->vco || + old_waveform == new_waveform) +return false;drivers/gpu/drm/i915/display/intel_cdclk.c static u32 cdclk_squash_waveform(struct drm_i915_private *dev_priv,
Quoted 10 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +10
-0+ + *mid_cdclk_config = *new_cdclk_config; + +/* If moving to a higher cdclk(squash) the mid cdclk config +* should have the new (squash) waveform. +* If moving to a lower cdclk (crawl) the mid cdclk config +* should have the new vco. +*/ + + if (cdclk_squash_divider(new_waveform) >
cdclk_squash_divider(old_waveform)) {drivers/gpu/drm/i915/display/intel_cdclk.c static u32 cdclk_squash_waveform(struct drm_i915_private *dev_priv,
Quoted 8 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +8
-0+ mid_cdclk_config->vco = old_cdclk_config->vco; + mid_waveform = new_waveform; + }else { + mid_cdclk_config->vco = new_cdclk_config->vco; + mid_waveform = old_waveform; + } + + mid_cdclk_config->cdclk =DIV_ROUND_CLOSEST(cdclk_squash_divider(mid_waveform) *
drivers/gpu/drm/i915/display/intel_cdclk.c static u32 cdclk_squash_waveform(struct · line 1734
Quoted 1 line
drivers/gpu/drm/i915/display/intel_cdclk.c +1
-0+ mid_cdclk_config->vco, size* div);
drivers/gpu/drm/i915/display/intel_cdclk.c static u32 cdclk_squash_waveform(struct drm_i915_private *dev_priv,
Quoted 8 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +8
-0+ +/* make sure the mid clock came out sane */ + +drm_WARN_ON (&i915->drm, mid_cdclk_config->cdclk < +min (old_cdclk_config->cdclk, new_cdclk_config->cdclk)); +drm_WARN_ON (&i915->drm, mid_cdclk_config->cdclk > + i915->display.cdclk.max_cdclk_freq); + drm_WARN_ON(&i915->drm, cdclk_squash_waveform(i915,
mid_cdclk_config->cdclk) !=Quoted 9 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +8
-0+ mid_waveform); + +return true; +} + +static void _bxt_set_cdclk (struct drm_i915_private *dev_priv, +const struct intel_cdclk_config *cdclk_config, +enum pipe pipe) {drivers/gpu/drm/i915/display/intel_cdclk.c static u32 cdclk_squash_waveform(struct drm_i915_private *dev_priv,
Quoted 10 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +0
-5int cdclk = cdclk_config->cdclk;int vco = cdclk_config->vco;u32 val;u16 waveform;int clock; -int ret; - -/* Inform power controller of upcoming frequency change. */ -if (DISPLAY_VER (dev_priv) >=11 ) - ret = skl_pcode_request(&dev_priv->uncore,
SKL_PCODE_CDCLK_CONTROL,drivers/gpu/drm/i915/display/intel_cdclk.c static u32 cdclk_squash_waveform(struct drm_i915_private *dev_priv,
Quoted 10 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +0
-10-SKL_CDCLK_PREPARE_FOR_CHANGE , -SKL_CDCLK_READY_FOR_CHANGE , - SKL_CDCLK_READY_FOR_CHANGE, 3); - else -/* -* BSpec requires us to wait up to 150usec, but that leads to -* timeouts; the 2ms used here is based on experiment. -*/ - ret = snb_pcode_write_timeout(&dev_priv->uncore, -
HSW_PCODE_DE_WRITE_FREQ_REQ,drivers/gpu/drm/i915/display/intel_cdclk.c static u32 cdclk_squash_waveform(struct drm_i915_private *dev_priv,
Quoted 4 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +0
-4- 0x80000000, 150, 2); -if (ret) { - drm_err(&dev_priv->drm, - "Failed to inform PCU about cdclk change (err %d,freq %d)\n",
Quoted 7 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +0
-3- ret, cdclk); -return ; - } if (HAS_CDCLK_CRAWL(dev_priv) && dev_priv->display.cdclk.hw.vco0 && vco > 0) {
if (dev_priv->display.cdclk.hw.vco!= vco) @@ -1772,6+1807,44 @@
Quoted 4 lines
static void bxt_set_cdclk(struct
drm_i915_private*dev_priv,if (pipe !=
INVALID_PIPE)intel_crtc_wait_for_next_vblank(intel_crtc_for_pipe(dev_priv,
Quoted 4 lines
pipe));
drivers/gpu/drm/i915/display/intel_cdclk.c +3
-0+} + +static void bxt_set_cdclk(struct drm_i915_private *dev_priv,drivers/gpu/drm/i915/display/intel_cdclk.c static void bxt_set_cdclk(struct drm_i915_private *dev_priv,
Quoted 10 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +10
-0+ const struct intel_cdclk_config *cdclk_config, + enum pipe pipe) +{ +struct intel_cdclk_config mid_cdclk_config; +int cdclk = cdclk_config->cdclk; +int ret; + +/* Inform power controller of upcoming frequency change. */ +if (DISPLAY_VER (dev_priv) >=11 ) + ret = skl_pcode_request(&dev_priv->uncore,
SKL_PCODE_CDCLK_CONTROL,drivers/gpu/drm/i915/display/intel_cdclk.c static void bxt_set_cdclk(struct drm_i915_private *dev_priv, · line 1840
Quoted 10 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +10
-0+SKL_CDCLK_PREPARE_FOR_CHANGE , +SKL_CDCLK_READY_FOR_CHANGE , + SKL_CDCLK_READY_FOR_CHANGE, 3); + else +/* +* BSpec requires us to wait up to 150usec, but that leads to +* timeouts; the 2ms used here is based on experiment. +*/ + ret = snb_pcode_write_timeout(&dev_priv->uncore, +
HSW_PCODE_DE_WRITE_FREQ_REQ,drivers/gpu/drm/i915/display/intel_cdclk.c static void bxt_set_cdclk(struct drm_i915_private *dev_priv,
Quoted 4 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +4
-0+ 0x80000000, 150, 2); +if (ret) { + drm_err(&dev_priv->drm, + "Failed to inform PCU about cdclk change (err %d,freq %d)\n",
Quoted 4 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +4
-0+ ret, cdclk); +return ; + } +drivers/gpu/drm/i915/display/intel_cdclk.c static void bxt_set_cdclk(struct drm_i915_private *dev_priv,
Quoted 10 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +7
-0+if (cdclk_crawl_and_squash (dev_priv, &dev_priv->display.cdclk.hw, + cdclk_config, &mid_cdclk_config)) { +_bxt_set_cdclk (dev_priv, &mid_cdclk_config, pipe); +_bxt_set_cdclk (dev_priv, cdclk_config, pipe); + }else { +_bxt_set_cdclk (dev_priv, cdclk_config, pipe); + }if (DISPLAY_VER (dev_priv) >=11 ) { ret = snb_pcode_write(&dev_priv->uncore,
SKL_PCODE_CDCLK_CONTROL,drivers/gpu/drm/i915/display/intel_cdclk.c void intel_cdclk_uninit_hw(struct
Quoted 1 line
drivers/gpu/drm/i915/display/intel_cdclk.c +0
-0@@ -1944,6 +2017,27 @@ void intel_cdclk_uninit_hw(struct
drm_i915_private*i915)drivers/gpu/drm/i915/display/intel_cdclk.c void intel_cdclk_uninit_hw(struct drm_i915_private *i915)
Quoted 4 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +1
-0skl_cdclk_uninit_hw (i915); } +static bool intel_cdclk_can_crawl_and_squash(struct drm_i915_private*i915,
Quoted 4 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +4
-0+const struct intel_cdclk_config *a, + const struct intel_cdclk_config *b) { + u16 old_waveform; +u16 new_waveform;drivers/gpu/drm/i915/display/intel_cdclk.c void intel_cdclk_uninit_hw(struct drm_i915_private *i915) · line 2035
Quoted 10 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +10
-0+ +if (a->vco ==0 || b->vco ==0 ) +return false; + +if (HAS_CDCLK_CRAWL (i915) &&has_cdclk_squasher (i915)) { + old_waveform =cdclk_squash_waveform (i915, a->cdclk); + new_waveform =cdclk_squash_waveform (i915, b->cdclk); + }else { +return false; + }A bit of weird construct this. I would make it
Quoted 8 lines
if (!has_crawl || !has_squash)
return false;...
just like you had in the other function.
And doing that check before the vco checks would also be more consistent with the other function.
As @Vivekanandan, Balasubramani has also pointed out I will spin another patch that adds squash feature to the device info. That way both squash and crawl can be accessed similarly - like pointed above.
Quoted 14 lines
drivers/gpu/drm/i915/display/intel_cdclk.c void intel_cdclk_uninit_hw(struct drm_i915_private *i915)
Quoted 9 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +4
-0+ +return a->vco != b->vco && + old_waveform != new_waveform; } +static bool intel_cdclk_can_crawl (struct drm_i915_private *dev_priv,const struct intel_cdclk_config *a, const struct intel_cdclk_config *b) @@ -2750,9 +2844,14 @@ int
Quoted 4 lines
intel_modeset_calc_cdclk(struct intel_atomic_state *state)drivers/gpu/drm/i915/display/intel_cdclk.c +0
-0pipe =INVALID_PIPE ; }
Quoted 12 lines
drivers/gpu/drm/i915/display/intel_cdclk.c int intel_modeset_calc_cdclk(struct intel_atomic_state *state) · line 2851
Quoted 8 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +5
-3-if (intel_cdclk_can_squash (dev_priv, - &old_cdclk_state->actual, - &new_cdclk_state->actual)) { +if (intel_cdclk_can_crawl_and_squash (dev_priv, + &old_cdclk_state->actual, + &new_cdclk_state->actual)) { +drm_dbg_kms (&dev_priv->drm, +"Can change cdclk via crawler and squasher\n" );"crawler" is a bit weird term here. Maybe we should fix up all of thse to use the terms "crawling" and "squashing" or something along those lines. I'd make that a separate patch though.
Yup on it. Separate patch for just changing the terminology and another patch for adding squash to the device info. Thanks for the feedback!
Anusha
Quoted 13 lines
Quoted 9 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +3
-1+ }else if (intel_cdclk_can_squash (dev_priv, + &old_cdclk_state->actual, + &new_cdclk_state->actual)) {drm_dbg_kms (&dev_priv->drm,"Can change cdclk via squasher\n" ); } else if (intel_cdclk_can_crawl(dev_priv, --2.25.1
--
Ville Syrjälä
Intel
Quoted 12 lines · Anusha Srivatsa
From: Ville Syrjälä <[email protected]>
For MTL, changing cdclk from between certain frequencies has both squash and crawl. Use the current cdclk config and the new(desired) cdclk config to construtc a mid cdclk config. Set the cdclk twice:
- Current cdclk -> mid cdclk
- mid cdclk -> desired cdclkv2: Add check in
intel_modeset_calc_cdclk()to avoid cdclk change via modeset for platforms that supportsquash_crawlsequences(Ville)
Quoted 8 lines
v3: Add checks for:
- scenario where only slow clock is used and
cdclk is actually 0 (bringing up display).
- PLLs are on before looking up the waveform.
- Squash and crawl capability checks.(Ville)Signed-off-by Anusha Srivatsa <[email protected]>Signed-off-by Ville Syrjälä <[email protected]>
Please add the Bspec number.
Quoted 24 lines
--- drivers/gpu/drm/i915/display/intel_cdclk.c | 157 +++++++++++++++++---- 1 file changed, 128 insertions(+), 29 deletions(-)drivers/gpu/drm/i915/display/intel_cdclk.c +1
-4@@ -1675,7 +1675,7 @@ static u32 cdclk_squash_waveform(struct drm_i915_private *dev_priv,const struct intel_cdclk_vals *table = dev_priv->display.cdclk.table;int i; -if (cdclk == dev_priv->display.cdclk.hw.bypass) +if (cdclk == dev_priv->display.cdclk.hw.bypass || cdclk ==0 )return 0 ;for (i =0 ; table[i].refclk; i++)@@ -1689,37 +1689,72 @@ static u32 cdclk_squash_waveform(struct drm_i915_private *dev_priv,return 0xffff ; } -static void bxt_set_cdclk (struct drm_i915_private *dev_priv, -const struct intel_cdclk_config *cdclk_config, -enum pipe pipe)
drivers/gpu/drm/i915/display/intel_cdclk.c static u32 cdclk_squash_waveform(struct drm_i915_private *dev_priv, · line 1701
Quoted 10 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +10
-0+static int cdclk_squash_divider (u16 waveform) +{ +return hweight16 (waveform ?:0xffff ); +} + +static bool cdclk_crawl_and_squash (struct drm_i915_private *i915, +const struct intel_cdclk_config *old_cdclk_config, +const struct intel_cdclk_config *new_cdclk_config, +struct intel_cdclk_config *mid_cdclk_config) +{
I was thinking of asking to rename this function to a more descriptive one, but then I myself was not able to come up with one. For a fresh eyes, it is difficult to make out what this function is actually doing. Can you please add a summary as a comment above this function pointing out what is mid_cdclk and whats the meaning of its return value.
drivers/gpu/drm/i915/display/intel_cdclk.c static u32 cdclk_squash_waveform(struct drm_i915_private *dev_priv, · line 1710
Quoted 9 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +9
-0+u16 old_waveform =cdclk_squash_waveform (i915, old_cdclk_config->cdclk); +u16 new_waveform =cdclk_squash_waveform (i915, new_cdclk_config->cdclk); +u16 mid_waveform; +int size =16 ; +int div =2 ; + +/* Return if both Squash and Crawl are not present */ +if (!HAS_CDCLK_CRAWL (i915) || !has_cdclk_squasher (i915)) +return false;
Can cdclk_squasher feature availability be also made a part of device_info structure like cdclk_crawl and create a macro similar to HAS_CDCLK_CRAWL?
Like Ville said it looks bit weird. Also we would avoid adding platform checks inside has_cdclk_squasher() function like it is done now in your second patch.
Quoted 73 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +41
-22+ +/* Return if Squash only or Crawl only is the desired action */ +if (old_cdclk_config->vco <=0 || new_cdclk_config->vco <=0 || + old_cdclk_config->vco == new_cdclk_config->vco || + old_waveform == new_waveform) +return false; + + *mid_cdclk_config = *new_cdclk_config; + +/* If moving to a higher cdclk(squash) the mid cdclk config +* should have the new (squash) waveform. +* If moving to a lower cdclk (crawl) the mid cdclk config +* should have the new vco. +*/ + +if (cdclk_squash_divider (new_waveform) >cdclk_squash_divider (old_waveform)) { + mid_cdclk_config->vco = old_cdclk_config->vco; + mid_waveform = new_waveform; + }else { + mid_cdclk_config->vco = new_cdclk_config->vco; + mid_waveform = old_waveform; + } + + mid_cdclk_config->cdclk =DIV_ROUND_CLOSEST (cdclk_squash_divider (mid_waveform) * + mid_cdclk_config->vco, size * div); + +/* make sure the mid clock came out sane */ + +drm_WARN_ON (&i915->drm, mid_cdclk_config->cdclk < +min (old_cdclk_config->cdclk, new_cdclk_config->cdclk)); +drm_WARN_ON (&i915->drm, mid_cdclk_config->cdclk > + i915->display.cdclk.max_cdclk_freq); +drm_WARN_ON (&i915->drm,cdclk_squash_waveform (i915, mid_cdclk_config->cdclk) != + mid_waveform); + +return true; +} + +static void _bxt_set_cdclk (struct drm_i915_private *dev_priv, +const struct intel_cdclk_config *cdclk_config, +enum pipe pipe) {int cdclk = cdclk_config->cdclk;int vco = cdclk_config->vco;u32 val;u16 waveform;int clock; -int ret; - -/* Inform power controller of upcoming frequency change. */ -if (DISPLAY_VER (dev_priv) >=11 ) - ret =skl_pcode_request (&dev_priv->uncore,SKL_PCODE_CDCLK_CONTROL , -SKL_CDCLK_PREPARE_FOR_CHANGE , -SKL_CDCLK_READY_FOR_CHANGE , -SKL_CDCLK_READY_FOR_CHANGE ,3 ); -else -/* -* BSpec requires us to wait up to 150usec, but that leads to -* timeouts; the 2ms used here is based on experiment. -*/ - ret =snb_pcode_write_timeout (&dev_priv->uncore, -HSW_PCODE_DE_WRITE_FREQ_REQ , -0x80000000 ,150 ,2 ); -if (ret) { -drm_err (&dev_priv->drm, -"Failed to inform PCU about cdclk change (err %d, freq %d)\n" , - ret, cdclk); -return ; - }if (HAS_CDCLK_CRAWL (dev_priv) && dev_priv->display.cdclk.hw.vco >0 && vco >0 ) {if (dev_priv->display.cdclk.hw.vco != vco)
drivers/gpu/drm/i915/display/intel_cdclk.c static void bxt_set_cdclk(struct drm_i915_private *dev_priv, · line 1815
Quoted 9 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +6
-0@@ -1772,6 +1807,44 @@ static void bxt_set_cdclk(struct drm_i915_private *dev_priv,if (pipe !=INVALID_PIPE )intel_crtc_wait_for_next_vblank (intel_crtc_for_pipe (dev_priv, pipe)); +} + +static void bxt_set_cdclk (struct drm_i915_private *dev_priv, +const struct intel_cdclk_config *cdclk_config, +enum pipe pipe) +{
bxt_set_cdclk() is now bloated as it is reused for new platforms with new features resulting in too many condition checks. I see it is now time to switch to a new set_cdclk() function. I would prefer a new function for platforms starting from which supports squash/crawl feature and add this new crawl_and_squash feature implementation to the same function. But definitely I dislike using bxt_set_cdclk for MTL.
Quoted 68 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +53
-1+struct intel_cdclk_config mid_cdclk_config; +int cdclk = cdclk_config->cdclk; +int ret; + +/* Inform power controller of upcoming frequency change. */ +if (DISPLAY_VER (dev_priv) >=11 ) + ret =skl_pcode_request (&dev_priv->uncore,SKL_PCODE_CDCLK_CONTROL , +SKL_CDCLK_PREPARE_FOR_CHANGE , +SKL_CDCLK_READY_FOR_CHANGE , +SKL_CDCLK_READY_FOR_CHANGE ,3 ); +else +/* +* BSpec requires us to wait up to 150usec, but that leads to +* timeouts; the 2ms used here is based on experiment. +*/ + ret =snb_pcode_write_timeout (&dev_priv->uncore, +HSW_PCODE_DE_WRITE_FREQ_REQ , +0x80000000 ,150 ,2 ); +if (ret) { +drm_err (&dev_priv->drm, +"Failed to inform PCU about cdclk change (err %d, freq %d)\n" , + ret, cdclk); +return ; + } + +if (cdclk_crawl_and_squash (dev_priv, &dev_priv->display.cdclk.hw, + cdclk_config, &mid_cdclk_config)) { +_bxt_set_cdclk (dev_priv, &mid_cdclk_config, pipe); +_bxt_set_cdclk (dev_priv, cdclk_config, pipe); + }else { +_bxt_set_cdclk (dev_priv, cdclk_config, pipe); + }if (DISPLAY_VER (dev_priv) >=11 ) { ret = snb_pcode_write(&dev_priv->uncore, SKL_PCODE_CDCLK_CONTROL,@@ -1944,6 +2017,27 @@ void intel_cdclk_uninit_hw(struct drm_i915_private *i915)skl_cdclk_uninit_hw (i915); } +static bool intel_cdclk_can_crawl_and_squash (struct drm_i915_private *i915, +const struct intel_cdclk_config *a, +const struct intel_cdclk_config *b) +{ +u16 old_waveform; +u16 new_waveform; + +if (a->vco ==0 || b->vco ==0 ) +return false; + +if (HAS_CDCLK_CRAWL (i915) &&has_cdclk_squasher (i915)) { + old_waveform =cdclk_squash_waveform (i915, a->cdclk); + new_waveform =cdclk_squash_waveform (i915, b->cdclk); + }else { +return false; + } + +return a->vco != b->vco && + old_waveform != new_waveform; +} +static bool intel_cdclk_can_crawl (struct drm_i915_private *dev_priv,const struct intel_cdclk_config *a,const struct intel_cdclk_config *b)@@ -2750,9 +2844,14 @@ int intel_modeset_calc_cdclk(struct intel_atomic_state *state) pipe =INVALID_PIPE ; } - if (intel_cdclk_can_squash(dev_priv,
drivers/gpu/drm/i915/display/intel_cdclk.c int intel_modeset_calc_cdclk(struct intel_atomic_state *state) · line 2854
Quoted 10 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +8
-2- &old_cdclk_state->actual, - &new_cdclk_state->actual)) { +if (intel_cdclk_can_crawl_and_squash (dev_priv, + &old_cdclk_state->actual, + &new_cdclk_state->actual)) { +drm_dbg_kms (&dev_priv->drm, +"Can change cdclk via crawler and squasher\n" ); + }else if (intel_cdclk_can_squash (dev_priv, + &old_cdclk_state->actual, + &new_cdclk_state->actual)) {
In the bxt_set_cdclk(), we perform crawl_and_squash only if neither crawl and squash alone can't accomplish cdclk change. So move the intel_cdclk_can_crawl_and_squash() check to after the checks for crawl and squash individually.
This would just make sure the logs reflect how actually the cdclk is changed.
Regards,
Bala
Quoted 6 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +0
-0drm_dbg_kms (&dev_priv->drm,"Can change cdclk via squasher\n" ); } else if (intel_cdclk_can_crawl(dev_priv,Signature · 1 line
2.25.1
Quoted 157 lines · Balasubramani Vivekanandan
Quoted 12 lines · Anusha Srivatsa
From: Ville Syrjälä <[email protected]>
For MTL, changing cdclk from between certain frequencies has both squash and crawl. Use the current cdclk config and the new(desired) cdclk config to construtc a mid cdclk config. Set the cdclk twice:
- Current cdclk -> mid cdclk
- mid cdclk -> desired cdclkv2: Add check in
intel_modeset_calc_cdclk()to avoid cdclk change via modeset for platforms that supportsquash_crawlsequences(Ville)Quoted 8 lines
v3: Add checks for:
- scenario where only slow clock is used and
cdclk is actually 0 (bringing up display).
- PLLs are on before looking up the waveform.
- Squash and crawl capability checks.(Ville)Signed-off-by Anusha Srivatsa <[email protected]>Signed-off-by Ville Syrjälä <[email protected]>Please add the Bspec number.
Quoted 24 lines
--- drivers/gpu/drm/i915/display/intel_cdclk.c | 157 +++++++++++++++++---- 1 file changed, 128 insertions(+), 29 deletions(-)drivers/gpu/drm/i915/display/intel_cdclk.c +1
-4@@ -1675,7 +1675,7 @@ static u32 cdclk_squash_waveform(struct drm_i915_private *dev_priv,const struct intel_cdclk_vals *table = dev_priv->display.cdclk.table;int i; -if (cdclk == dev_priv->display.cdclk.hw.bypass) +if (cdclk == dev_priv->display.cdclk.hw.bypass || cdclk ==0 )return 0 ;for (i =0 ; table[i].refclk; i++)@@ -1689,37 +1689,72 @@ static u32 cdclk_squash_waveform(struct drm_i915_private *dev_priv,return 0xffff ; } -static void bxt_set_cdclk (struct drm_i915_private *dev_priv, -const struct intel_cdclk_config *cdclk_config, -enum pipe pipe)drivers/gpu/drm/i915/display/intel_cdclk.c static u32 cdclk_squash_waveform(struct drm_i915_private *dev_priv, · line 1701
Quoted 10 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +10
-0+static int cdclk_squash_divider (u16 waveform) +{ +return hweight16 (waveform ?:0xffff ); +} + +static bool cdclk_crawl_and_squash (struct drm_i915_private *i915, +const struct intel_cdclk_config *old_cdclk_config, +const struct intel_cdclk_config *new_cdclk_config, +struct intel_cdclk_config *mid_cdclk_config) +{I was thinking of asking to rename this function to a more descriptive one, but then I myself was not able to come up with one. For a fresh eyes, it is difficult to make out what this function is actually doing. Can you please add a summary as a comment above this function pointing out what is
mid_cdclkand whats the meaning of its return value.drivers/gpu/drm/i915/display/intel_cdclk.c static u32 cdclk_squash_waveform(struct drm_i915_private *dev_priv, · line 1710
Quoted 9 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +9
-0+u16 old_waveform =cdclk_squash_waveform (i915, old_cdclk_config->cdclk); +u16 new_waveform =cdclk_squash_waveform (i915, new_cdclk_config->cdclk); +u16 mid_waveform; +int size =16 ; +int div =2 ; + +/* Return if both Squash and Crawl are not present */ +if (!HAS_CDCLK_CRAWL (i915) || !has_cdclk_squasher (i915)) +return false;Can
cdclk_squasherfeature availability be also made a part ofdevice_infostructure likecdclk_crawland create a macro similar toHAS_CDCLK_CRAWL?
Like Ville said it looks bit weird. Also we would avoid adding platform checks insidehas_cdclk_squasher()function like it is done now in your second patch.Quoted 74 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +41
-22+ +/* Return if Squash only or Crawl only is the desired action */ +if (old_cdclk_config->vco <=0 || new_cdclk_config->vco <=0 || + old_cdclk_config->vco == new_cdclk_config->vco || + old_waveform == new_waveform) +return false; + + *mid_cdclk_config = *new_cdclk_config; + +/* If moving to a higher cdclk(squash) the mid cdclk config +* should have the new (squash) waveform. +* If moving to a lower cdclk (crawl) the mid cdclk config +* should have the new vco. +*/ + +if (cdclk_squash_divider (new_waveform) >cdclk_squash_divider (old_waveform)) { + mid_cdclk_config->vco = old_cdclk_config->vco; + mid_waveform = new_waveform; + }else { + mid_cdclk_config->vco = new_cdclk_config->vco; + mid_waveform = old_waveform; + } + + mid_cdclk_config->cdclk =DIV_ROUND_CLOSEST (cdclk_squash_divider (mid_waveform) * + mid_cdclk_config->vco, size * div); + +/* make sure the mid clock came out sane */ + +drm_WARN_ON (&i915->drm, mid_cdclk_config->cdclk < +min (old_cdclk_config->cdclk, new_cdclk_config->cdclk)); +drm_WARN_ON (&i915->drm, mid_cdclk_config->cdclk > + i915->display.cdclk.max_cdclk_freq); +drm_WARN_ON (&i915->drm,cdclk_squash_waveform (i915, mid_cdclk_config->cdclk) != + mid_waveform); + +return true; +} + +static void _bxt_set_cdclk (struct drm_i915_private *dev_priv, +const struct intel_cdclk_config *cdclk_config, +enum pipe pipe) {int cdclk = cdclk_config->cdclk;int vco = cdclk_config->vco;u32 val;u16 waveform;int clock; -int ret; - -/* Inform power controller of upcoming frequency change. */ -if (DISPLAY_VER (dev_priv) >=11 ) - ret =skl_pcode_request (&dev_priv->uncore,SKL_PCODE_CDCLK_CONTROL , -SKL_CDCLK_PREPARE_FOR_CHANGE , -SKL_CDCLK_READY_FOR_CHANGE , -SKL_CDCLK_READY_FOR_CHANGE ,3 ); -else -/* -* BSpec requires us to wait up to 150usec, but that leads to -* timeouts; the 2ms used here is based on experiment. -*/ - ret =snb_pcode_write_timeout (&dev_priv->uncore, -HSW_PCODE_DE_WRITE_FREQ_REQ , -0x80000000 ,150 ,2 ); -if (ret) { -drm_err (&dev_priv->drm, -"Failed to inform PCU about cdclk change (err %d, freq %d)\n" , - ret, cdclk); -return ; - }if (HAS_CDCLK_CRAWL (dev_priv) && dev_priv->display.cdclk.hw.vco >0 && vco >0 ) {if (dev_priv->display.cdclk.hw.vco != vco)@@ -1772,6 +1807,44 @@ static void bxt_set_cdclk(struct drm_i915_private *dev_priv,
Quoted 15 lines
drivers/gpu/drm/i915/display/intel_cdclk.c static void bxt_set_cdclk(struct drm_i915_private *dev_priv, · line 1815
Quoted 8 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +6
-0if (pipe !=INVALID_PIPE )intel_crtc_wait_for_next_vblank (intel_crtc_for_pipe (dev_priv, pipe)); +} + +static void bxt_set_cdclk (struct drm_i915_private *dev_priv, +const struct intel_cdclk_config *cdclk_config, +enum pipe pipe) +{
bxt_set_cdclk()is now bloated as it is reused for new platforms with new features resulting in too many condition checks. I see it is now time to switch to a newset_cdclk()function. I would prefer a new function for platforms starting from which supports squash/crawl feature and add this newcrawl_and_squashfeature implementation to the same function. But definitely I dislike usingbxt_set_cdclkfor MTL.
bxt vs. icl split might make sense since there are a bunch of if-else along those lines. Beyond that it all we'd achieve is code duplication I think.
Well, we might be able to avoid some code duplication if we managed to chunk the different parts of bxt_set_cdclk() into lower level subfunctions, and just cobble together higher level variants (crawl+squash,just crawl,just squash, neither). But basically all of those are just subsets of the crawl+squash version, hence the duplication.
Another approach I was musing about was to add vfuncs for lower level operations (pll enable, pll disable, etc.) to get rid of the if-else stuff. But dunno if enough of the platforms would fit that model to make it sensible.
Quoted 78 lines
Quoted 78 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +60
-3+struct intel_cdclk_config mid_cdclk_config; +int cdclk = cdclk_config->cdclk; +int ret; + +/* Inform power controller of upcoming frequency change. */ +if (DISPLAY_VER (dev_priv) >=11 ) + ret =skl_pcode_request (&dev_priv->uncore,SKL_PCODE_CDCLK_CONTROL , +SKL_CDCLK_PREPARE_FOR_CHANGE , +SKL_CDCLK_READY_FOR_CHANGE , +SKL_CDCLK_READY_FOR_CHANGE ,3 ); +else +/* +* BSpec requires us to wait up to 150usec, but that leads to +* timeouts; the 2ms used here is based on experiment. +*/ + ret =snb_pcode_write_timeout (&dev_priv->uncore, +HSW_PCODE_DE_WRITE_FREQ_REQ , +0x80000000 ,150 ,2 ); +if (ret) { +drm_err (&dev_priv->drm, +"Failed to inform PCU about cdclk change (err %d, freq %d)\n" , + ret, cdclk); +return ; + } + +if (cdclk_crawl_and_squash (dev_priv, &dev_priv->display.cdclk.hw, + cdclk_config, &mid_cdclk_config)) { +_bxt_set_cdclk (dev_priv, &mid_cdclk_config, pipe); +_bxt_set_cdclk (dev_priv, cdclk_config, pipe); + }else { +_bxt_set_cdclk (dev_priv, cdclk_config, pipe); + }if (DISPLAY_VER (dev_priv) >=11 ) { ret = snb_pcode_write(&dev_priv->uncore, SKL_PCODE_CDCLK_CONTROL,@@ -1944,6 +2017,27 @@ void intel_cdclk_uninit_hw(struct drm_i915_private *i915)skl_cdclk_uninit_hw (i915); } +static bool intel_cdclk_can_crawl_and_squash (struct drm_i915_private *i915, +const struct intel_cdclk_config *a, +const struct intel_cdclk_config *b) +{ +u16 old_waveform; +u16 new_waveform; + +if (a->vco ==0 || b->vco ==0 ) +return false; + +if (HAS_CDCLK_CRAWL (i915) &&has_cdclk_squasher (i915)) { + old_waveform =cdclk_squash_waveform (i915, a->cdclk); + new_waveform =cdclk_squash_waveform (i915, b->cdclk); + }else { +return false; + } + +return a->vco != b->vco && + old_waveform != new_waveform; +} +static bool intel_cdclk_can_crawl (struct drm_i915_private *dev_priv,const struct intel_cdclk_config *a,const struct intel_cdclk_config *b)@@ -2750,9 +2844,14 @@ int intel_modeset_calc_cdclk(struct intel_atomic_state *state) pipe =INVALID_PIPE ; } -if (intel_cdclk_can_squash (dev_priv, - &old_cdclk_state->actual, - &new_cdclk_state->actual)) { +if (intel_cdclk_can_crawl_and_squash (dev_priv, + &old_cdclk_state->actual, + &new_cdclk_state->actual)) { +drm_dbg_kms (&dev_priv->drm, +"Can change cdclk via crawler and squasher\n" ); + } else if (intel_cdclk_can_squash(dev_priv, + &old_cdclk_state->actual,
Quoted 8 lines
drivers/gpu/drm/i915/display/intel_cdclk.c int intel_modeset_calc_cdclk(struct intel_atomic_state *state) · line 2854
Quoted 1 line
drivers/gpu/drm/i915/display/intel_cdclk.c +1
-0+ &new_cdclk_state->actual)) {In the
bxt_set_cdclk(), we performcrawl_and_squashonly if neither crawl and squash alone can't accomplish cdclk change. So move theintel_cdclk_can_crawl_and_squash()check to after the checks for crawl and squash individually.
This would just make sure the logs reflect how actually the cdclk is changed.
The current order seems fine to me. intel_cdclk_can_crawl_and_squash() shouldn't say yes unless both crawl and squash are needed.
Quoted 10 lines
Regards,
BalaQuoted 6 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +0
-0drm_dbg_kms (&dev_priv->drm,"Can change cdclk via squasher\n" ); } else if (intel_cdclk_can_crawl(dev_priv,Signature · 1 line
2.25.1
Signature · 2 lines
Ville Syrjälä Intel
Quoted 204 lines
-----Original Message-----
From: Ville Syrjälä <[email protected]>
Sent: Thursday, October 20, 2022 8:15 AM
To: Vivekanandan, Balasubramani <[email protected]>
Cc: Srivatsa, Anusha <[email protected]>; intel- [email protected]
Subject: Re: [Intel-gfx] [PATCH 1/2] drm/i915/display: Do both crawl and squash when changing cdclkQuoted 29 lines · Balasubramani Vivekanandan
Quoted 12 lines · Anusha Srivatsa
From: Ville Syrjälä <[email protected]>
For MTL, changing cdclk from between certain frequencies has both squash and crawl. Use the current cdclk config and the new(desired) cdclk config to construtc a mid cdclk config.
Set the cdclk twice:
- Current cdclk -> mid cdclk
- mid cdclk -> desired cdclkv2: Add check in
intel_modeset_calc_cdclk()to avoid cdclk change via modeset for platforms that supportsquash_crawlsequences(Ville)Quoted 8 lines
v3: Add checks for:
- scenario where only slow clock is used and cdclk is actually 0 (bringing up display).
- PLLs are on before looking up the waveform.
- Squash and crawl capability checks.(Ville)Signed-off-by Anusha Srivatsa <[email protected]>Signed-off-by Ville Syrjälä <[email protected]>Please add the Bspec number.
Quoted 5 lines
--- drivers/gpu/drm/i915/display/intel_cdclk.c | 157 +++++++++++++++++---- 1 file changed, 128 insertions(+), 29 deletions(-)Quoted 6 lines
drivers/gpu/drm/i915/display/intel_cdclk.c static u32 cdclk_squash_waveform(struct
Quoted 6 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +0
-0@@ -1675,7 +1675,7 @@ static u32 cdclk_squash_waveform(struct
drm_i915_private*dev_priv,Quoted 9 lines
drivers/gpu/drm/i915/display/intel_cdclk.c static u32 cdclk_squash_waveform(struct
Quoted 9 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +1
-1const struct intel_cdclk_vals *table = dev_priv->display.cdclk.table;int i; -if (cdclk == dev_priv->display.cdclk.hw.bypass) +if (cdclk == dev_priv->display.cdclk.hw.bypass || cdclk ==0 )return 0 ;for (i =0 ; table[i].refclk; i++)@@ -1689,37 +1689,72 @@ static u32 cdclk_squash_waveform(struct
drm_i915_private*dev_priv,Quoted 11 lines
drivers/gpu/drm/i915/display/intel_cdclk.c static u32 cdclk_squash_waveform(struct drm_i915_private *dev_priv,
Quoted 11 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +5
-3return 0xffff ; } -static void bxt_set_cdclk (struct drm_i915_private *dev_priv, -const struct intel_cdclk_config *cdclk_config, -enum pipe pipe) +static int cdclk_squash_divider (u16 waveform) { +return hweight16 (waveform ?:0xffff ); } + +static bool cdclk_crawl_and_squash (struct drm_i915_private *i915, + const struct intel_cdclk_config
*old_cdclk_config,Quoted 1 line
drivers/gpu/drm/i915/display/intel_cdclk.c static u32 cdclk_squash_waveform(struct · line 1697
Quoted 1 line
drivers/gpu/drm/i915/display/intel_cdclk.c +1
-0+ const struct intel_cdclk_config
*new_cdclk_config,Quoted 1 line
drivers/gpu/drm/i915/display/intel_cdclk.c static u32 cdclk_squash_waveform(struct drm_i915_private *dev_priv, · line 1700
Quoted 1 line
drivers/gpu/drm/i915/display/intel_cdclk.c +1
-0+ struct intel_cdclk_config *mid_cdclk_config){
Quoted 11 lines
I was thinking of asking to rename this function to a more descriptive one, but then I myself was not able to come up with one. For a fresh eyes, it is difficult to make out what this function is actually doing. Can you please add a summary as a comment above this function pointing out what is
mid_cdclkand whats the meaning of its return value.drivers/gpu/drm/i915/display/intel_cdclk.c static u32 cdclk_squash_waveform(struct · line 1699
Quoted 1 line
drivers/gpu/drm/i915/display/intel_cdclk.c +1
-0+ u16 old_waveform = cdclk_squash_waveform(i915, old_cdclk_config-cdclk);
drivers/gpu/drm/i915/display/intel_cdclk.c static u32 cdclk_squash_waveform(struct · line 1700
Quoted 1 line
drivers/gpu/drm/i915/display/intel_cdclk.c +1
-0+ u16 new_waveform = cdclk_squash_waveform(i915,
new_cdclk_config->cdclk);Quoted 15 lines
drivers/gpu/drm/i915/display/intel_cdclk.c static u32 cdclk_squash_waveform(struct drm_i915_private *dev_priv, · line 1710
Quoted 7 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +7
-0+u16 mid_waveform; +int size =16 ; +int div =2 ; + +/* Return if both Squash and Crawl are not present */ +if (!HAS_CDCLK_CRAWL (i915) || !has_cdclk_squasher (i915)) +return false;Can
cdclk_squasherfeature availability be also made a part ofdevice_infostructure likecdclk_crawland create a macro similar toHAS_CDCLK_CRAWL?
Like Ville said it looks bit weird. Also we would avoid adding platform checks insidehas_cdclk_squasher()function like it is done now in your second patch.Quoted 16 lines
Quoted 6 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +6
-0+ +/* Return if Squash only or Crawl only is the desired action */ +if (old_cdclk_config->vco <=0 || new_cdclk_config->vco <=0 || + old_cdclk_config->vco == new_cdclk_config->vco || + old_waveform == new_waveform) +return false;drivers/gpu/drm/i915/display/intel_cdclk.c static u32 cdclk_squash_waveform(struct drm_i915_private *dev_priv,
Quoted 10 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +10
-0+ + *mid_cdclk_config = *new_cdclk_config; + +/* If moving to a higher cdclk(squash) the mid cdclk config +* should have the new (squash) waveform. +* If moving to a lower cdclk (crawl) the mid cdclk config +* should have the new vco. +*/ + + if (cdclk_squash_divider(new_waveform) >
cdclk_squash_divider(old_waveform)) {Quoted 8 lines
drivers/gpu/drm/i915/display/intel_cdclk.c static u32 cdclk_squash_waveform(struct drm_i915_private *dev_priv,
Quoted 8 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +8
-0+ mid_cdclk_config->vco = old_cdclk_config->vco; + mid_waveform = new_waveform; + }else { + mid_cdclk_config->vco = new_cdclk_config->vco; + mid_waveform = old_waveform; + } + + mid_cdclk_config->cdclk =DIV_ROUND_CLOSEST(cdclk_squash_divider(mid_waveform) *
Quoted 1 line
drivers/gpu/drm/i915/display/intel_cdclk.c static u32 cdclk_squash_waveform(struct · line 1732
Quoted 1 line
drivers/gpu/drm/i915/display/intel_cdclk.c +1
-0+ mid_cdclk_config->vco, size* div);
Quoted 8 lines
drivers/gpu/drm/i915/display/intel_cdclk.c static u32 cdclk_squash_waveform(struct drm_i915_private *dev_priv,
Quoted 8 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +8
-0+ +/* make sure the mid clock came out sane */ + +drm_WARN_ON (&i915->drm, mid_cdclk_config->cdclk < +min (old_cdclk_config->cdclk, new_cdclk_config->cdclk)); +drm_WARN_ON (&i915->drm, mid_cdclk_config->cdclk > + i915->display.cdclk.max_cdclk_freq); + drm_WARN_ON(&i915->drm, cdclk_squash_waveform(i915,
mid_cdclk_config->cdclk) !=Quoted 11 lines
Quoted 11 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +8
-0+ mid_waveform); + +return true; +} + +static void _bxt_set_cdclk (struct drm_i915_private *dev_priv, +const struct intel_cdclk_config *cdclk_config, +enum pipe pipe) {int cdclk = cdclk_config->cdclk;int vco = cdclk_config->vco;Quoted 8 lines
drivers/gpu/drm/i915/display/intel_cdclk.c static u32 cdclk_squash_waveform(struct drm_i915_private *dev_priv,
Quoted 8 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +0
-5u32 val;u16 waveform;int clock; -int ret; - -/* Inform power controller of upcoming frequency change. */ -if (DISPLAY_VER (dev_priv) >=11 ) - ret = skl_pcode_request(&dev_priv->uncore,
SKL_PCODE_CDCLK_CONTROL,Quoted 10 lines
drivers/gpu/drm/i915/display/intel_cdclk.c static u32 cdclk_squash_waveform(struct drm_i915_private *dev_priv,
Quoted 10 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +0
-10-SKL_CDCLK_PREPARE_FOR_CHANGE , -SKL_CDCLK_READY_FOR_CHANGE , - SKL_CDCLK_READY_FOR_CHANGE, 3); - else -/* -* BSpec requires us to wait up to 150usec, but that leads to -* timeouts; the 2ms used here is based on experiment. -*/ - ret = snb_pcode_write_timeout(&dev_priv->uncore, -
HSW_PCODE_DE_WRITE_FREQ_REQ,Quoted 4 lines
drivers/gpu/drm/i915/display/intel_cdclk.c static u32 cdclk_squash_waveform(struct drm_i915_private *dev_priv,
Quoted 4 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +0
-4- 0x80000000, 150, 2); -if (ret) { - drm_err(&dev_priv->drm, - "Failed to inform PCU about cdclk change (err %d,freq %d)\n",
Quoted 7 lines
drivers/gpu/drm/i915/display/intel_cdclk.c static u32 cdclk_squash_waveform(struct drm_i915_private *dev_priv,
Quoted 5 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +0
-3- ret, cdclk); -return ; - } if (HAS_CDCLK_CRAWL(dev_priv) && dev_priv->display.cdclk.hw.vco0 && vco > 0) {
Quoted 1 line
drivers/gpu/drm/i915/display/intel_cdclk.c +0
-0if (dev_priv->display.cdclk.hw.vco != vco) @@ -1772,6+1807,44 @@
Quoted 4 lines
Quoted 4 lines
static void bxt_set_cdclk(struct
drm_i915_private*dev_priv,if (pipe !=
INVALID_PIPE)intel_crtc_wait_for_next_vblank(intel_crtc_for_pipe(dev_priv,
Quoted 6 lines
Quoted 6 lines
pipe));
drivers/gpu/drm/i915/display/intel_cdclk.c +5
-0+} + +static void bxt_set_cdclk (struct drm_i915_private *dev_priv, +const struct intel_cdclk_config *cdclk_config, +enum pipe pipe)Quoted 8 lines
Quoted 1 line
+{
bxt_set_cdclk()is now bloated as it is reused for new platforms with new features resulting in too many condition checks. I see it is now time to switch to a newset_cdclk()function. I would prefer a new function for platforms starting from which supports squash/crawl feature and add this newcrawl_and_squashfeature implementation to the same function. But definitely I dislike usingbxt_set_cdclkfor MTL.
Quoted 8 lines
bxt vs. icl split might make sense since there are a bunch of if-else along those lines. Beyond that it all we'd achieve is code duplication I think.
Well, we might be able to avoid some code duplication if we managed to chunk the different parts of
bxt_set_cdclk()into lower level subfunctions, and just cobble together higher level variants (crawl+squash,just crawl,just squash, neither). But basically all of those are just subsets of the crawl+squash version, hence the duplication.
I agree.
Quoted 3 lines
Another approach I was musing about was to add vfuncs for lower level operations (pll enable, pll disable, etc.) to get rid of the if-else stuff. But dunno if enough of the platforms would fit that model to make it sensible.
I will have to explore this myself.
Quoted 92 lines
Quoted 8 lines
drivers/gpu/drm/i915/display/intel_cdclk.c static void bxt_set_cdclk(struct drm_i915_private *dev_priv,
Quoted 8 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +7
-0+struct intel_cdclk_config mid_cdclk_config; +int cdclk = cdclk_config->cdclk; +int ret; + +/* Inform power controller of upcoming frequency change. */ +if (DISPLAY_VER (dev_priv) >=11 ) + ret = skl_pcode_request(&dev_priv->uncore,
SKL_PCODE_CDCLK_CONTROL,Quoted 10 lines
drivers/gpu/drm/i915/display/intel_cdclk.c static void bxt_set_cdclk(struct drm_i915_private *dev_priv, · line 1840
Quoted 10 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +10
-0+SKL_CDCLK_PREPARE_FOR_CHANGE , +SKL_CDCLK_READY_FOR_CHANGE , + SKL_CDCLK_READY_FOR_CHANGE, 3); + else +/* +* BSpec requires us to wait up to 150usec, but that leads to +* timeouts; the 2ms used here is based on experiment. +*/ + ret = snb_pcode_write_timeout(&dev_priv->uncore, +
HSW_PCODE_DE_WRITE_FREQ_REQ,Quoted 4 lines
drivers/gpu/drm/i915/display/intel_cdclk.c static void bxt_set_cdclk(struct drm_i915_private *dev_priv,
Quoted 4 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +4
-0+ 0x80000000, 150, 2); +if (ret) { + drm_err(&dev_priv->drm, + "Failed to inform PCU about cdclk change (err %d,freq %d)\n",
Quoted 12 lines
Quoted 12 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +11
-0+ ret, cdclk); +return ; + } + +if (cdclk_crawl_and_squash (dev_priv, &dev_priv->display.cdclk.hw, + cdclk_config, &mid_cdclk_config)) { +_bxt_set_cdclk (dev_priv, &mid_cdclk_config, pipe); +_bxt_set_cdclk (dev_priv, cdclk_config, pipe); + }else { +_bxt_set_cdclk (dev_priv, cdclk_config, pipe); + }Quoted 2 lines
drivers/gpu/drm/i915/display/intel_cdclk.c
Quoted 2 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +0
-0if (DISPLAY_VER (dev_priv) >=11 ) { ret = snb_pcode_write(&dev_priv->uncore,
SKL_PCODE_CDCLK_CONTROL,Quoted 1 line
drivers/gpu/drm/i915/display/intel_cdclk.c void intel_cdclk_uninit_hw(struct
Quoted 1 line
drivers/gpu/drm/i915/display/intel_cdclk.c +0
-0@@ -1944,6 +2017,27 @@ void intel_cdclk_uninit_hw(struct
drm_i915_private*i915)Quoted 4 lines
drivers/gpu/drm/i915/display/intel_cdclk.c void intel_cdclk_uninit_hw(struct drm_i915_private *i915)
Quoted 4 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +1
-0skl_cdclk_uninit_hw (i915); } +static bool intel_cdclk_can_crawl_and_squash(struct drm_i915_private*i915,
Quoted 13 lines
Quoted 13 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +13
-0+const struct intel_cdclk_config *a, + const struct intel_cdclk_config *b) { + u16 old_waveform; +u16 new_waveform; + +if (a->vco ==0 || b->vco ==0 ) +return false; + +if (HAS_CDCLK_CRAWL (i915) &&has_cdclk_squasher (i915)) { + old_waveform =cdclk_squash_waveform (i915, a->cdclk); + new_waveform =cdclk_squash_waveform (i915, b->cdclk); + }else { +return false;Quoted 8 lines
drivers/gpu/drm/i915/display/intel_cdclk.c void intel_cdclk_uninit_hw(struct drm_i915_private *i915)
Quoted 8 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +5
-0+ } + +return a->vco != b->vco && + old_waveform != new_waveform; } +static bool intel_cdclk_can_crawl (struct drm_i915_private *dev_priv,const struct intel_cdclk_config *a, const struct intel_cdclk_config *b) @@ -2750,9 +2844,14 @@
Quoted 14 lines
Quoted 14 lines
int
intel_modeset_calc_cdclk(struct intel_atomic_state *state)drivers/gpu/drm/i915/display/intel_cdclk.c +7
-3pipe =INVALID_PIPE ; } -if (intel_cdclk_can_squash (dev_priv, - &old_cdclk_state->actual, - &new_cdclk_state->actual)) { +if (intel_cdclk_can_crawl_and_squash (dev_priv, + &old_cdclk_state->actual, + &new_cdclk_state->actual)) { +drm_dbg_kms (&dev_priv->drm, +"Can change cdclk via crawler and squasher\n" ); + } else if (intel_cdclk_can_squash(dev_priv, + &old_cdclk_state->actual,Quoted 8 lines
drivers/gpu/drm/i915/display/intel_cdclk.c
Quoted 1 line
drivers/gpu/drm/i915/display/intel_cdclk.c +1
-0+ &new_cdclk_state->actual)) {In the
bxt_set_cdclk(), we performcrawl_and_squashonly if neither crawl and squash alone can't accomplish cdclk change. So move theintel_cdclk_can_crawl_and_squash()check to after the checks for crawl and squash individually.
This would just make sure the logs reflect how actually the cdclk is changed.
Quoted 2 lines
The current order seems fine to me.
intel_cdclk_can_crawl_and_squash()shouldn't say yes unless both crawl and squash are needed.
Agreed here.
Anusha
Quoted 14 lines
Quoted 10 lines
Regards,
BalaQuoted 6 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +0
-1drm_dbg_kms (&dev_priv->drm,"Can change cdclk via squasher\n" ); } else if (intel_cdclk_can_crawl(dev_priv, --2.25.1
--
Ville Syrjälä
Intel
Quoted 30 lines
-----Original Message-----
From: Vivekanandan, Balasubramani <[email protected]>
Sent: Thursday, October 20, 2022 7:42 AM
To: Srivatsa, Anusha <[email protected]>; intel- [email protected]
Subject: Re: [Intel-gfx] [PATCH 1/2] drm/i915/display: Do both crawl and squash when changing cdclkQuoted 18 lines · Anusha Srivatsa
From: Ville Syrjälä <[email protected]>
For MTL, changing cdclk from between certain frequencies has both squash and crawl. Use the current cdclk config and the new(desired) cdclk config to construtc a mid cdclk config.
Set the cdclk twice:
- Current cdclk -> mid cdclk
- mid cdclk -> desired cdclkv2: Add check in
intel_modeset_calc_cdclk()to avoid cdclk change via modeset for platforms that supportsquash_crawlsequences(Ville)v3: Add checks for:
- scenario where only slow clock is used and cdclk is actually 0 (bringing up display).
- PLLs are on before looking up the waveform.
- Squash and crawl capability checks.(Ville)
Quoted 4 lines
Quoted 2 lines
Signed-off-by Anusha Srivatsa <[email protected]>Signed-off-by Ville Syrjälä <[email protected]>Please add the Bspec number.
Will do.
Quoted 37 lines
drivers/gpu/drm/i915/display/intel_cdclk.c static u32 cdclk_squash_waveform(struct
Quoted 12 lines
--- drivers/gpu/drm/i915/display/intel_cdclk.c | 157 +++++++++++++++++---- 1 file changed, 128 insertions(+), 29 deletions(-)drivers/gpu/drm/i915/display/intel_cdclk.c +0
-0@@ -1675,7 +1675,7 @@ static u32 cdclk_squash_waveform(struct
drm_i915_private*dev_priv,drivers/gpu/drm/i915/display/intel_cdclk.c static u32 cdclk_squash_waveform(struct
Quoted 9 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +1
-1const struct intel_cdclk_vals *table = dev_priv->display.cdclk.table;int i; -if (cdclk == dev_priv->display.cdclk.hw.bypass) +if (cdclk == dev_priv->display.cdclk.hw.bypass || cdclk ==0 )return 0 ;for (i =0 ; table[i].refclk; i++)@@ -1689,37 +1689,72 @@ static u32 cdclk_squash_waveform(struct
drm_i915_private*dev_priv,drivers/gpu/drm/i915/display/intel_cdclk.c static u32 cdclk_squash_waveform(struct drm_i915_private *dev_priv,
Quoted 11 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +5
-3return 0xffff ; } -static void bxt_set_cdclk (struct drm_i915_private *dev_priv, -const struct intel_cdclk_config *cdclk_config, -enum pipe pipe) +static int cdclk_squash_divider (u16 waveform) { +return hweight16 (waveform ?:0xffff ); } + +static bool cdclk_crawl_and_squash (struct drm_i915_private *i915, + const struct intel_cdclk_config
*old_cdclk_config,drivers/gpu/drm/i915/display/intel_cdclk.c static u32 cdclk_squash_waveform(struct · line 1697
Quoted 1 line
drivers/gpu/drm/i915/display/intel_cdclk.c +1
-0+ const struct intel_cdclk_config
*new_cdclk_config,
Quoted 8 lines
drivers/gpu/drm/i915/display/intel_cdclk.c static u32 cdclk_squash_waveform(struct drm_i915_private *dev_priv, · line 1700
Quoted 1 line
drivers/gpu/drm/i915/display/intel_cdclk.c +1
-0+ struct intel_cdclk_config *mid_cdclk_config){
I was thinking of asking to rename this function to a more descriptive one, but then I myself was not able to come up with one.
For a fresh eyes, it is difficult to make out what this function is actually doing. Can you please add a summary as a comment above this function pointing out what ismid_cdclkand whats the meaning of its return value.
I thought the commit message was explaining the needful. But I agree if it is indeed confusing, adding comments in code would help, will churn that change.
Quoted 5 lines
drivers/gpu/drm/i915/display/intel_cdclk.c static u32 cdclk_squash_waveform(struct · line 1701
Quoted 4 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +2
-0+u16 old_waveform =cdclk_squash_waveform (i915, old_cdclk_config- cdclk); + u16 new_waveform = cdclk_squash_waveform(i915,
new_cdclk_config->cdclk);
Quoted 13 lines
drivers/gpu/drm/i915/display/intel_cdclk.c static u32 cdclk_squash_waveform(struct drm_i915_private *dev_priv, · line 1710
Quoted 7 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +7
-0+u16 mid_waveform; +int size =16 ; +int div =2 ; + +/* Return if both Squash and Crawl are not present */ +if (!HAS_CDCLK_CRAWL (i915) || !has_cdclk_squasher (i915)) +return false;Can
cdclk_squasherfeature availability be also made a part ofdevice_infostructure likecdclk_crawland create a macro similar toHAS_CDCLK_CRAWL? Like Ville said it looks bit weird. Also we would avoid adding platform checks insidehas_cdclk_squasher()function like it is done now in your second patch.
Yes will make that change.
Quoted 183 lines
Quoted 7 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +6
-0+ +/* Return if Squash only or Crawl only is the desired action */ +if (old_cdclk_config->vco <=0 || new_cdclk_config->vco <=0 || + old_cdclk_config->vco == new_cdclk_config->vco || + old_waveform == new_waveform) +return false;drivers/gpu/drm/i915/display/intel_cdclk.c static u32 cdclk_squash_waveform(struct drm_i915_private *dev_priv,
Quoted 10 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +10
-0+ + *mid_cdclk_config = *new_cdclk_config; + +/* If moving to a higher cdclk(squash) the mid cdclk config +* should have the new (squash) waveform. +* If moving to a lower cdclk (crawl) the mid cdclk config +* should have the new vco. +*/ + + if (cdclk_squash_divider(new_waveform) >
cdclk_squash_divider(old_waveform)) {drivers/gpu/drm/i915/display/intel_cdclk.c static u32 cdclk_squash_waveform(struct drm_i915_private *dev_priv,
Quoted 8 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +8
-0+ mid_cdclk_config->vco = old_cdclk_config->vco; + mid_waveform = new_waveform; + }else { + mid_cdclk_config->vco = new_cdclk_config->vco; + mid_waveform = old_waveform; + } + + mid_cdclk_config->cdclk =DIV_ROUND_CLOSEST(cdclk_squash_divider(mid_waveform) *
drivers/gpu/drm/i915/display/intel_cdclk.c static u32 cdclk_squash_waveform(struct · line 1733
Quoted 1 line
drivers/gpu/drm/i915/display/intel_cdclk.c +1
-0+ mid_cdclk_config->vco, size* div);
drivers/gpu/drm/i915/display/intel_cdclk.c static u32 cdclk_squash_waveform(struct drm_i915_private *dev_priv,
Quoted 8 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +8
-0+ +/* make sure the mid clock came out sane */ + +drm_WARN_ON (&i915->drm, mid_cdclk_config->cdclk < +min (old_cdclk_config->cdclk, new_cdclk_config->cdclk)); +drm_WARN_ON (&i915->drm, mid_cdclk_config->cdclk > + i915->display.cdclk.max_cdclk_freq); + drm_WARN_ON(&i915->drm, cdclk_squash_waveform(i915,
mid_cdclk_config->cdclk) !=Quoted 9 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +8
-0+ mid_waveform); + +return true; +} + +static void _bxt_set_cdclk (struct drm_i915_private *dev_priv, +const struct intel_cdclk_config *cdclk_config, +enum pipe pipe) {drivers/gpu/drm/i915/display/intel_cdclk.c static u32 cdclk_squash_waveform(struct drm_i915_private *dev_priv,
Quoted 10 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +0
-5int cdclk = cdclk_config->cdclk;int vco = cdclk_config->vco;u32 val;u16 waveform;int clock; -int ret; - -/* Inform power controller of upcoming frequency change. */ -if (DISPLAY_VER (dev_priv) >=11 ) - ret = skl_pcode_request(&dev_priv->uncore,
SKL_PCODE_CDCLK_CONTROL,drivers/gpu/drm/i915/display/intel_cdclk.c static u32 cdclk_squash_waveform(struct drm_i915_private *dev_priv,
Quoted 10 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +0
-10-SKL_CDCLK_PREPARE_FOR_CHANGE , -SKL_CDCLK_READY_FOR_CHANGE , - SKL_CDCLK_READY_FOR_CHANGE, 3); - else -/* -* BSpec requires us to wait up to 150usec, but that leads to -* timeouts; the 2ms used here is based on experiment. -*/ - ret = snb_pcode_write_timeout(&dev_priv->uncore, -
HSW_PCODE_DE_WRITE_FREQ_REQ,drivers/gpu/drm/i915/display/intel_cdclk.c static u32 cdclk_squash_waveform(struct drm_i915_private *dev_priv,
Quoted 4 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +0
-4- 0x80000000, 150, 2); -if (ret) { - drm_err(&dev_priv->drm, - "Failed to inform PCU about cdclk change (err %d,freq %d)\n",
Quoted 7 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +0
-3- ret, cdclk); -return ; - } if (HAS_CDCLK_CRAWL(dev_priv) && dev_priv->display.cdclk.hw.vco0 && vco > 0) {
if (dev_priv->display.cdclk.hw.vco!= vco) @@ -1772,6+1807,44 @@
Quoted 4 lines
static void bxt_set_cdclk(struct
drm_i915_private*dev_priv,if (pipe !=
INVALID_PIPE)intel_crtc_wait_for_next_vblank(intel_crtc_for_pipe(dev_priv,
drivers/gpu/drm/i915/display/intel_cdclk.c static void bxt_set_cdclk(struct drm_i915_private *dev_priv, · line 1815
Quoted 7 lines
pipe));
drivers/gpu/drm/i915/display/intel_cdclk.c +6
-0+} + +static void bxt_set_cdclk (struct drm_i915_private *dev_priv, +const struct intel_cdclk_config *cdclk_config, +enum pipe pipe) +{
bxt_set_cdclk()is now bloated as it is reused for new platforms with new features resulting in too many condition checks. I see it is now time to switch to a newset_cdclk()function. I would prefer a new function for platforms starting from which supports squash/crawl feature and add this newcrawl_and_squashfeature implementation to the same function. But definitely I dislike usingbxt_set_cdclkfor MTL.drivers/gpu/drm/i915/display/intel_cdclk.c static void bxt_set_cdclk(struct drm_i915_private *dev_priv,
Quoted 7 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +7
-0+struct intel_cdclk_config mid_cdclk_config; +int cdclk = cdclk_config->cdclk; +int ret; + +/* Inform power controller of upcoming frequency change. */ +if (DISPLAY_VER (dev_priv) >=11 ) + ret = skl_pcode_request(&dev_priv->uncore,
SKL_PCODE_CDCLK_CONTROL,drivers/gpu/drm/i915/display/intel_cdclk.c static void bxt_set_cdclk(struct drm_i915_private *dev_priv, · line 1840
Quoted 10 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +10
-0+SKL_CDCLK_PREPARE_FOR_CHANGE , +SKL_CDCLK_READY_FOR_CHANGE , + SKL_CDCLK_READY_FOR_CHANGE, 3); + else +/* +* BSpec requires us to wait up to 150usec, but that leads to +* timeouts; the 2ms used here is based on experiment. +*/ + ret = snb_pcode_write_timeout(&dev_priv->uncore, +
HSW_PCODE_DE_WRITE_FREQ_REQ,drivers/gpu/drm/i915/display/intel_cdclk.c static void bxt_set_cdclk(struct drm_i915_private *dev_priv,
Quoted 4 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +4
-0+ 0x80000000, 150, 2); +if (ret) { + drm_err(&dev_priv->drm, + "Failed to inform PCU about cdclk change (err %d,freq %d)\n",
Quoted 4 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +4
-0+ ret, cdclk); +return ; + } +drivers/gpu/drm/i915/display/intel_cdclk.c static void bxt_set_cdclk(struct drm_i915_private *dev_priv,
Quoted 10 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +7
-0+if (cdclk_crawl_and_squash (dev_priv, &dev_priv->display.cdclk.hw, + cdclk_config, &mid_cdclk_config)) { +_bxt_set_cdclk (dev_priv, &mid_cdclk_config, pipe); +_bxt_set_cdclk (dev_priv, cdclk_config, pipe); + }else { +_bxt_set_cdclk (dev_priv, cdclk_config, pipe); + }if (DISPLAY_VER (dev_priv) >=11 ) { ret = snb_pcode_write(&dev_priv->uncore,
SKL_PCODE_CDCLK_CONTROL,drivers/gpu/drm/i915/display/intel_cdclk.c void intel_cdclk_uninit_hw(struct
Quoted 1 line
drivers/gpu/drm/i915/display/intel_cdclk.c +0
-0@@ -1944,6 +2017,27 @@ void intel_cdclk_uninit_hw(struct
drm_i915_private*i915)drivers/gpu/drm/i915/display/intel_cdclk.c void intel_cdclk_uninit_hw(struct drm_i915_private *i915)
Quoted 4 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +1
-0skl_cdclk_uninit_hw (i915); } +static bool intel_cdclk_can_crawl_and_squash(struct drm_i915_private*i915,
Quoted 11 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +11
-0+const struct intel_cdclk_config *a, + const struct intel_cdclk_config *b) { + u16 old_waveform; +u16 new_waveform; + +if (a->vco ==0 || b->vco ==0 ) +return false; + +if (HAS_CDCLK_CRAWL (i915) &&has_cdclk_squasher (i915)) { + old_waveform =cdclk_squash_waveform (i915, a->cdclk); + new_waveform =cdclk_squash_waveform (i915, b->cdclk);drivers/gpu/drm/i915/display/intel_cdclk.c void intel_cdclk_uninit_hw(struct drm_i915_private *i915)
Quoted 10 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +7
-0+ }else { +return false; + } + +return a->vco != b->vco && + old_waveform != new_waveform; } +static bool intel_cdclk_can_crawl (struct drm_i915_private *dev_priv,const struct intel_cdclk_config *a, const struct intel_cdclk_config *b) @@ -2750,9 +2844,14 @@ int
Quoted 13 lines
intel_modeset_calc_cdclk(struct intel_atomic_state *state)drivers/gpu/drm/i915/display/intel_cdclk.c +6
-3pipe =INVALID_PIPE ; } -if (intel_cdclk_can_squash (dev_priv, - &old_cdclk_state->actual, - &new_cdclk_state->actual)) { +if (intel_cdclk_can_crawl_and_squash (dev_priv, + &old_cdclk_state->actual, + &new_cdclk_state->actual)) { +drm_dbg_kms (&dev_priv->drm, +"Can change cdclk via crawler and squasher\n" ); + } else if (intel_cdclk_can_squash(dev_priv,
Quoted 8 lines
drivers/gpu/drm/i915/display/intel_cdclk.c
Quoted 2 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +2
-0+ &old_cdclk_state->actual, + &new_cdclk_state->actual)) {In the
bxt_set_cdclk(), we performcrawl_and_squashonly if neither crawl and squash alone can't accomplish cdclk change. So move theintel_cdclk_can_crawl_and_squash()check to after the checks for crawl and squash individually.
This would just make sure the logs reflect how actually the cdclk is changed.
As @[email protected] mentioned , this ordering is the right one to follow. We do not want MTL to fall into can_squash() for cases where it should actually be doing crawl_and_squash()
Thanks for the feedback!
Anusha
Quoted 9 lines
Regards,
BalaQuoted 6 lines
drivers/gpu/drm/i915/display/intel_cdclk.c +0
-1drm_dbg_kms (&dev_priv->drm,"Can change cdclk via squasher\n" ); } else if (intel_cdclk_can_crawl(dev_priv, --2.25.1