drm/i915/icl: Add new supported CD clocks
Subsystems (3)
PATCH v2 1/3 drm/i915/icl: Add new supported CD clocks
Now 180, 172.8 and 192 MHz are supported.
180 and 172.8 MHz CD clocks will only be used when audio is not enabled as state by BSpec and implemented in intel_crtc_compute_min_cdclk(), CD clock must be at least twice of Azalia BCLK and BCLK by default is 96 MHz, it could be set to 48 MHz but we are not reading it.
BSpec: 20598
BSpec: 15729
--- drivers/gpu/drm/i915/display/intel_cdclk.c | 30 +++++++++++++++------- 1 file changed, 21 insertions(+), 9 deletions(-)
drivers/gpu/drm/i915/display/intel_cdclk.c +21 -9
@@ -1756,9 +1756,10 @@ static void cnl_sanitize_cdclk(struct drm_i915_private *dev_priv)static int icl_calc_cdclk (int min_cdclk,unsigned int ref) { -int ranges_24[] = {312000 ,552000 ,648000 }; -int ranges_19_38[] = {307200 ,556800 ,652800 }; -int *ranges; +const int ranges_24[] = {180000 ,192000 ,312000 ,552000 ,648000 }; +const int ranges_19_38[] = {172800 ,192000 ,307200 ,556800 ,652800 }; +const int *ranges; +int len, i;switch (ref) {default :
@@ -1766,19 +1767,22 @@ static int icl_calc_cdclk(int min_cdclk, unsigned int ref)/* fall through */ case 24000 : ranges = ranges_24; + len =ARRAY_SIZE (ranges_24);break ;case 19200 :case 38400 : ranges = ranges_19_38; + len =ARRAY_SIZE (ranges_19_38);break ; } -if (min_cdclk > ranges[1 ]) -return ranges[2 ]; -else if (min_cdclk > ranges[0 ]) -return ranges[1 ]; -else -return ranges[0 ]; +for (i =0 ; i < len; i++) { +if (min_cdclk <= ranges[i]) +return ranges[i]; + } + +WARN_ON (min_cdclk > ranges[len -1 ]); +return ranges[len -1 ]; }static int icl_calc_cdclk_pll_vco (struct drm_i915_private *dev_priv,int cdclk)
@@ -1792,16 +1796,24 @@ static int icl_calc_cdclk_pll_vco(struct drm_i915_private *dev_priv, int cdclk)default :MISSING_CASE (cdclk);/* fall through */ +case 172800 :case 307200 :case 556800 :case 652800 :WARN_ON (dev_priv->cdclk.hw.ref !=19200 && dev_priv->cdclk.hw.ref !=38400 );break ; +case 180000 :case 312000 :case 552000 :case 648000 :WARN_ON (dev_priv->cdclk.hw.ref !=24000 ); +break ; +case 192000 : +WARN_ON (dev_priv->cdclk.hw.ref !=19200 && + dev_priv->cdclk.hw.ref !=38400 && + dev_priv->cdclk.hw.ref !=24000 ); +break ; } ratio = cdclk / (dev_priv->cdclk.hw.ref /2 );
Signature · 6 lines
2.22.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v2 2/3 drm/i915/ehl: Remove unsupported cd clocks
EHL do not support 648 and 652.8 MHz.
v2:
- Limiting maximum CD clock by max_cdclk_freq instead of remove it from icl_calc_cdclk()(Ville and Jani)
BSpec: 20598
--- drivers/gpu/drm/i915/display/intel_cdclk.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
drivers/gpu/drm/i915/display/intel_cdclk.c +6 -1
@@ -2606,7 +2606,12 @@ static int intel_compute_max_dotclk(struct drm_i915_private *dev_priv)*/ void intel_update_max_cdclk (struct drm_i915_private *dev_priv) { -if (INTEL_GEN (dev_priv) >=11 ) { +if (IS_ELKHARTLAKE (dev_priv)) { +if (dev_priv->cdclk.hw.ref ==24000 ) + dev_priv->max_cdclk_freq =552000 ; +else + dev_priv->max_cdclk_freq =556800 ; + }else if (INTEL_GEN (dev_priv) >=11 ) {if (dev_priv->cdclk.hw.ref ==24000 ) dev_priv->max_cdclk_freq =648000 ;else
Signature · 6 lines
2.22.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH v2 2/3] drm/i915/ehl: Remove unsupported cd clocks
Quoted 6 lines · José Roberto de Souza
EHL do not support 648 and 652.8 MHz.
v2:
- Limiting maximum CD clock bymax_cdclk_freqinstead of remove it from icl_calc_cdclk()(Ville and Jani)
Quoted 6 lines
BSpec: 20598
Cc Clint Taylor <[email protected]>Cc Matt Roper <[email protected]>Cc Ville Syrjälä <[email protected]>Cc Jani Nikula <[email protected]>Signed-off-by José Roberto de Souza <[email protected]>
Matches bspec.
Quoted 25 lines
--- drivers/gpu/drm/i915/display/intel_cdclk.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)drivers/gpu/drm/i915/display/intel_cdclk.c +6
-1@@ -2606,7 +2606,12 @@ static int intel_compute_max_dotclk(struct drm_i915_private *dev_priv)*/ void intel_update_max_cdclk (struct drm_i915_private *dev_priv) { -if (INTEL_GEN (dev_priv) >=11 ) { +if (IS_ELKHARTLAKE (dev_priv)) { +if (dev_priv->cdclk.hw.ref ==24000 ) + dev_priv->max_cdclk_freq =552000 ; +else + dev_priv->max_cdclk_freq =556800 ; + }else if (INTEL_GEN (dev_priv) >=11 ) {if (dev_priv->cdclk.hw.ref ==24000 ) dev_priv->max_cdclk_freq =648000 ;else Signature · 1 line
2.22.0
Signature · 9 lines
Matt Roper Graphics Software Engineer IoTG Platform Enabling & Development Intel Corporation (916) 356-2795 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH v2 3/3 drm/i915/ehl: Add voltage level requirement table
In reply to José Roberto de SouzaEHL has it own voltage level requirement depending on cd clock.
BSpec: 21809
--- drivers/gpu/drm/i915/display/intel_cdclk.c | 35 ++++++++++++++-------- 1 file changed, 23 insertions(+), 12 deletions(-)
drivers/gpu/drm/i915/display/intel_cdclk.c +23 -12
@@ -1866,14 +1866,23 @@ static void icl_set_cdclk(struct drm_i915_private *dev_priv, dev_priv->cdclk.hw.voltage_level = cdclk_state->voltage_level; } -static u8 icl_calc_voltage_level (int cdclk) +static u8 icl_calc_voltage_level (struct drm_i915_private *dev_priv,int cdclk) { -if (cdclk >556800 ) -return 2 ; -else if (cdclk >312000 ) -return 1 ; -else -return 0 ; +if (IS_ELKHARTLAKE (dev_priv)) { +if (cdclk >312000 ) +return 2 ; +else if (cdclk >180000 ) +return 1 ; +else +return 0 ; + }else { +if (cdclk >556800 ) +return 2 ; +else if (cdclk >312000 ) +return 1 ; +else +return 0 ; + } } static void icl_get_cdclk(struct drm_i915_private *dev_priv,
@@ -1924,7 +1933,7 @@ static void icl_get_cdclk(struct drm_i915_private *dev_priv,* at least what the CDCLK frequency requires. */ cdclk_state->voltage_level = -icl_calc_voltage_level (cdclk_state->cdclk); +icl_calc_voltage_level (dev_priv, cdclk_state->cdclk); }static void icl_init_cdclk (struct drm_i915_private *dev_priv)
@@ -1959,7 +1968,8 @@ static void icl_init_cdclk(struct drm_i915_private *dev_priv) sanitized_state.vco =icl_calc_cdclk_pll_vco (dev_priv, sanitized_state.cdclk); sanitized_state.voltage_level = -icl_calc_voltage_level (sanitized_state.cdclk); +icl_calc_voltage_level (dev_priv, + sanitized_state.cdclk);icl_set_cdclk (dev_priv, &sanitized_state,INVALID_PIPE ); }
@@ -1970,7 +1980,8 @@ static void icl_uninit_cdclk(struct drm_i915_private *dev_priv) cdclk_state.cdclk = cdclk_state.bypass; cdclk_state.vco =0 ; - cdclk_state.voltage_level =icl_calc_voltage_level (cdclk_state.cdclk); + cdclk_state.voltage_level =icl_calc_voltage_level (dev_priv, + cdclk_state.cdclk);icl_set_cdclk (dev_priv, &cdclk_state,INVALID_PIPE ); }
@@ -2561,7 +2572,7 @@ static int icl_modeset_calc_cdclk(struct intel_atomic_state *state) state->cdclk.logical.vco = vco; state->cdclk.logical.cdclk = cdclk; state->cdclk.logical.voltage_level = -max (icl_calc_voltage_level (cdclk), +max (icl_calc_voltage_level (dev_priv, cdclk),cnl_compute_min_voltage_level (state));if (!state->active_crtcs) {
@@ -2571,7 +2582,7 @@ static int icl_modeset_calc_cdclk(struct intel_atomic_state *state) state->cdclk.actual.vco = vco; state->cdclk.actual.cdclk = cdclk; state->cdclk.actual.voltage_level = -icl_calc_voltage_level (cdclk); +icl_calc_voltage_level (dev_priv, cdclk); }else { state->cdclk.actual = state->cdclk.logical; }
Signature · 6 lines
2.22.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH v2 3/3] drm/i915/ehl: Add voltage level requirement table
Quoted 7 lines · José Roberto de Souza
EHL has it own voltage level requirement depending on cd clock.
BSpec: 21809
Cc Clint Taylor <[email protected]>Cc Matt Roper <[email protected]>Cc Ville Syrjälä <[email protected]>Signed-off-by José Roberto de Souza <[email protected]>
Matches bspec.
Quoted 89 lines
--- drivers/gpu/drm/i915/display/intel_cdclk.c | 35 ++++++++++++++-------- 1 file changed, 23 insertions(+), 12 deletions(-)drivers/gpu/drm/i915/display/intel_cdclk.c +23
-12@@ -1866,14 +1866,23 @@ static void icl_set_cdclk(struct drm_i915_private *dev_priv, dev_priv->cdclk.hw.voltage_level = cdclk_state->voltage_level; } -static u8 icl_calc_voltage_level (int cdclk) +static u8 icl_calc_voltage_level (struct drm_i915_private *dev_priv,int cdclk) { -if (cdclk >556800 ) -return 2 ; -else if (cdclk >312000 ) -return 1 ; -else -return 0 ; +if (IS_ELKHARTLAKE (dev_priv)) { +if (cdclk >312000 ) +return 2 ; +else if (cdclk >180000 ) +return 1 ; +else +return 0 ; + }else { +if (cdclk >556800 ) +return 2 ; +else if (cdclk >312000 ) +return 1 ; +else +return 0 ; + } } static void icl_get_cdclk(struct drm_i915_private *dev_priv,@@ -1924,7 +1933,7 @@ static void icl_get_cdclk(struct drm_i915_private *dev_priv,* at least what the CDCLK frequency requires. */ cdclk_state->voltage_level = -icl_calc_voltage_level (cdclk_state->cdclk); +icl_calc_voltage_level (dev_priv, cdclk_state->cdclk); }static void icl_init_cdclk (struct drm_i915_private *dev_priv)@@ -1959,7 +1968,8 @@ static void icl_init_cdclk(struct drm_i915_private *dev_priv) sanitized_state.vco =icl_calc_cdclk_pll_vco (dev_priv, sanitized_state.cdclk); sanitized_state.voltage_level = -icl_calc_voltage_level (sanitized_state.cdclk); +icl_calc_voltage_level (dev_priv, + sanitized_state.cdclk);icl_set_cdclk (dev_priv, &sanitized_state,INVALID_PIPE ); }@@ -1970,7 +1980,8 @@ static void icl_uninit_cdclk(struct drm_i915_private *dev_priv) cdclk_state.cdclk = cdclk_state.bypass; cdclk_state.vco =0 ; - cdclk_state.voltage_level =icl_calc_voltage_level (cdclk_state.cdclk); + cdclk_state.voltage_level =icl_calc_voltage_level (dev_priv, + cdclk_state.cdclk);icl_set_cdclk (dev_priv, &cdclk_state,INVALID_PIPE ); }@@ -2561,7 +2572,7 @@ static int icl_modeset_calc_cdclk(struct intel_atomic_state *state) state->cdclk.logical.vco = vco; state->cdclk.logical.cdclk = cdclk; state->cdclk.logical.voltage_level = -max (icl_calc_voltage_level (cdclk), +max (icl_calc_voltage_level (dev_priv, cdclk),cnl_compute_min_voltage_level (state));if (!state->active_crtcs) {@@ -2571,7 +2582,7 @@ static int icl_modeset_calc_cdclk(struct intel_atomic_state *state) state->cdclk.actual.vco = vco; state->cdclk.actual.cdclk = cdclk; state->cdclk.actual.voltage_level = -icl_calc_voltage_level (cdclk); +icl_calc_voltage_level (dev_priv, cdclk); }else { state->cdclk.actual = state->cdclk.logical; }Signature · 1 line
2.22.0
Signature · 9 lines
Matt Roper Graphics Software Engineer IoTG Platform Enabling & Development Intel Corporation (916) 356-2795 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✗ Fi.CI.SPARSE: warning for series starting with [v2,1/3] drm/i915/icl: Add new supported CD clocks
In reply to José Roberto de Souza== Series Details ==
== Series Details ==
Series: series starting with [v2,1/3] drm/i915/icl: Add new supported CD clocks
URL : https://patchwork.freedesktop.org/series/62490/
State : warning
== Summary ==
$ dim sparse origin/drm-tip Sparse version: v0.5.2 Commit: drm/i915/icl: Add new supported CD clocks Okay!
Commit: drm/i915/ehl: Remove unsupported cd clocks Okay!
Commit: drm/i915/ehl: Add voltage level requirement table -O:drivers/gpu/drm/i915/display/intel_cdclk.c:2564:17: warning: expression using sizeof(void) -O:drivers/gpu/drm/i915/display/intel_cdclk.c:2564:17: warning: expression using sizeof(void) +drivers/gpu/drm/i915/display/intel_cdclk.c:2575:17: warning: expression using sizeof(void) +drivers/gpu/drm/i915/display/intel_cdclk.c:2575:17: warning: expression using sizeof(void)
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.BAT: success for series starting with [v2,1/3] drm/i915/icl: Add new supported CD clocks
In reply to José Roberto de Souza== Series Details ==
== Series Details ==
Series: series starting with [v2,1/3] drm/i915/icl: Add new supported CD clocks
URL : https://patchwork.freedesktop.org/series/62490/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_6318 -> Patchwork_13378
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13378/
Known issues
------------
Here are the changes found in Patchwork_13378 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_suspend@basic-s4-devices:
- fi-blb-e6850: [PASS][1] -> [INCOMPLETE][2] ([fdo#107718])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6318/fi-blb-e6850/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13378/fi-blb-e6850/igt@[email protected]
* igt@gem_flink_basic@flink-lifetime:
- fi-icl-u3: [PASS][3] -> [DMESG-WARN][4] ([fdo#107724])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6318/fi-icl-u3/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13378/fi-icl-u3/igt@[email protected]
* igt@i915_selftest@live_blt:
- fi-skl-iommu: [PASS][5] -> [INCOMPLETE][6] ([fdo#108602])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6318/fi-skl-iommu/igt@i915_selftest@live_blt.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13378/fi-skl-iommu/igt@i915_selftest@live_blt.html
* igt@i915_selftest@live_client:
- fi-icl-dsi: [PASS][7] -> [INCOMPLETE][8] ([fdo#107713])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6318/fi-icl-dsi/igt@i915_selftest@live_client.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13378/fi-icl-dsi/igt@i915_selftest@live_client.html
#### Possible fixes ####
* igt@gem_exec_reloc@basic-cpu-read-noreloc:
- fi-icl-u3: [DMESG-WARN][9] ([fdo#107724]) -> [PASS][10] +1 similar issue
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6318/fi-icl-u3/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13378/fi-icl-u3/igt@[email protected]
* igt@kms_chamelium@hdmi-hpd-fast:
- fi-kbl-7500u: [FAIL][11] ([fdo#109485]) -> [PASS][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6318/fi-kbl-7500u/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13378/fi-kbl-7500u/igt@[email protected]
[fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
[fdo#107718]: https://bugs.freedesktop.org/show_bug.cgi?id=107718
[fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724
[fdo#108602]: https://bugs.freedesktop.org/show_bug.cgi?id=108602
[fdo#109485]: https://bugs.freedesktop.org/show_bug.cgi?id=109485
Participating hosts (52 -> 44)
------------------------------
Missing (8): fi-ilk-m540 fi-skl-gvtdvm fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-icl-y fi-byt-clapper fi-bdw-samus
Build changes
-------------
* Linux: CI_DRM_6318 -> Patchwork_13378
CI_DRM_6318: 56b793e31c67ac9e0aa1dd72c013202f38cb5174 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5064: 22850c1906550fb97b405c019275dcfb34be8cf7 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_13378: a3a23103503b0bab70f808f531dc2bbd5e80189a @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
a3a23103503b drm/i915/ehl: Add voltage level requirement table 810a613be18f drm/i915/ehl: Remove unsupported cd clocks 81c82ba6178a drm/i915/icl: Add new supported CD clocks
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13378/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✗ Fi.CI.IGT: failure for series starting with [v2,1/3] drm/i915/icl: Add new supported CD clocks
In reply to José Roberto de Souza== Series Details ==
== Series Details ==
Series: series starting with [v2,1/3] drm/i915/icl: Add new supported CD clocks
URL : https://patchwork.freedesktop.org/series/62490/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_6318_full -> Patchwork_13378_full
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_13378_full absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_13378_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_13378_full:
### IGT changes ###
#### Possible regressions ####
* igt@kms_cursor_crc@pipe-b-cursor-64x64-offscreen:
- shard-kbl: [PASS][1] -> [DMESG-WARN][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6318/shard-kbl4/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13378/shard-kbl2/igt@[email protected]
Known issues
------------
Here are the changes found in Patchwork_13378_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_persistent_relocs@forked-interruptible-thrashing:
- shard-snb: [PASS][3] -> [DMESG-WARN][4] ([fdo#110789] / [fdo#110913 ]) +1 similar issue
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6318/shard-snb7/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13378/shard-snb5/igt@[email protected]
* igt@gem_userptr_blits@map-fixed-invalidate-busy-gup:
- shard-apl: [PASS][5] -> [DMESG-WARN][6] ([fdo#110913 ]) +2 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6318/shard-apl4/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13378/shard-apl1/igt@[email protected]
- shard-kbl: [PASS][7] -> [DMESG-WARN][8] ([fdo#110913 ]) +1 similar issue
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6318/shard-kbl3/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13378/shard-kbl6/igt@[email protected]
* igt@gem_workarounds@suspend-resume-context:
- shard-apl: [PASS][9] -> [DMESG-WARN][10] ([fdo#108566]) +2 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6318/shard-apl4/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13378/shard-apl2/igt@[email protected]
* igt@i915_pm_rpm@gem-mmap-gtt:
- shard-iclb: [PASS][11] -> [INCOMPLETE][12] ([fdo#107713] / [fdo#108840])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6318/shard-iclb2/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13378/shard-iclb2/igt@[email protected]
* igt@kms_atomic_transition@2x-modeset-transitions-fencing:
- shard-hsw: [PASS][13] -> [SKIP][14] ([fdo#109271]) +12 similar issues
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6318/shard-hsw7/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13378/shard-hsw1/igt@[email protected]
* igt@kms_cursor_legacy@2x-cursor-vs-flip-legacy:
- shard-glk: [PASS][15] -> [INCOMPLETE][16] ([fdo#103359] / [k.org#198133]) +1 similar issue
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6318/shard-glk7/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13378/shard-glk7/igt@[email protected]
* igt@kms_flip@flip-vs-suspend:
- shard-skl: [PASS][17] -> [INCOMPLETE][18] ([fdo#109507])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6318/shard-skl4/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13378/shard-skl10/igt@[email protected]
* igt@kms_flip_tiling@flip-x-tiled:
- shard-kbl: [PASS][19] -> [DMESG-WARN][20] ([fdo#103313])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6318/shard-kbl4/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13378/shard-kbl2/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-indfb-draw-mmap-cpu:
- shard-iclb: [PASS][21] -> [FAIL][22] ([fdo#103167]) +8 similar issues
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6318/shard-iclb5/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-indfb-draw-mmap-cpu.html
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13378/shard-iclb6/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-indfb-draw-mmap-cpu.html
* igt@kms_plane_alpha_blend@pipe-a-constant-alpha-min:
- shard-skl: [PASS][23] -> [FAIL][24] ([fdo#108145])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6318/shard-skl7/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13378/shard-skl7/igt@[email protected]
* igt@kms_plane_lowres@pipe-c-tiling-y:
- shard-kbl: [PASS][25] -> [DMESG-WARN][26] ([fdo#105345])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6318/shard-kbl4/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13378/shard-kbl2/igt@[email protected]
* igt@kms_psr@psr2_suspend:
- shard-iclb: [PASS][27] -> [SKIP][28] ([fdo#109441]) +1 similar issue
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6318/shard-iclb2/igt@kms_psr@psr2_suspend.html
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13378/shard-iclb5/igt@kms_psr@psr2_suspend.html
* igt@kms_setmode@basic:
- shard-hsw: [PASS][29] -> [FAIL][30] ([fdo#99912])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6318/shard-hsw1/igt@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13378/shard-hsw7/igt@[email protected]
- shard-kbl: [PASS][31] -> [FAIL][32] ([fdo#99912])
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6318/shard-kbl3/igt@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13378/shard-kbl4/igt@[email protected]
* igt@kms_vblank@pipe-b-wait-forked:
- shard-iclb: [PASS][33] -> [INCOMPLETE][34] ([fdo#107713]) +2 similar issues
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6318/shard-iclb8/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13378/shard-iclb7/igt@[email protected]
* igt@perf_pmu@rc6:
- shard-kbl: [PASS][35] -> [SKIP][36] ([fdo#109271])
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6318/shard-kbl4/igt@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13378/shard-kbl7/igt@[email protected]
#### Possible fixes ####
* igt@gem_ctx_isolation@bcs0-s3:
- shard-apl: [DMESG-WARN][37] ([fdo#108566]) -> [PASS][38] +2 similar issues
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6318/shard-apl2/igt@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13378/shard-apl8/igt@[email protected]
* igt@gem_eio@banned:
- shard-apl: [DMESG-WARN][39] ([fdo#110913 ]) -> [PASS][40]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6318/shard-apl2/igt@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13378/shard-apl8/igt@[email protected]
* igt@gem_exec_balancer@smoke:
- shard-iclb: [SKIP][41] ([fdo#110854]) -> [PASS][42]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6318/shard-iclb6/igt@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13378/shard-iclb1/igt@[email protected]
* igt@gem_persistent_relocs@forked-faulting-reloc-thrashing:
- shard-snb: [DMESG-WARN][43] ([fdo#110789] / [fdo#110913 ]) -> [PASS][44]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6318/shard-snb5/igt@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13378/shard-snb4/igt@[email protected]
* igt@gem_persistent_relocs@forked-thrashing:
- shard-kbl: [DMESG-WARN][45] ([fdo#110913 ]) -> [PASS][46] +1 similar issue
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6318/shard-kbl2/igt@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13378/shard-kbl3/igt@[email protected]
* igt@gem_userptr_blits@map-fixed-invalidate-busy-gup:
- shard-snb: [DMESG-WARN][47] ([fdo#110913 ]) -> [PASS][48]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6318/shard-snb4/igt@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13378/shard-snb4/igt@[email protected]
* igt@i915_pm_rpm@i2c:
- shard-hsw: [FAIL][49] ([fdo#104097]) -> [PASS][50]
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6318/shard-hsw1/igt@[email protected]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13378/shard-hsw5/igt@[email protected]
* igt@i915_pm_rpm@system-suspend:
- shard-kbl: [INCOMPLETE][51] ([fdo#103665] / [fdo#107807]) -> [PASS][52]
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6318/shard-kbl1/igt@[email protected]
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13378/shard-kbl3/igt@[email protected]
* igt@kms_cursor_crc@pipe-c-cursor-suspend:
- shard-skl: [INCOMPLETE][53] ([fdo#110741]) -> [PASS][54]
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6318/shard-skl4/igt@[email protected]
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13378/shard-skl4/igt@[email protected]
* igt@kms_cursor_legacy@cursorb-vs-flipb-atomic:
- shard-hsw: [SKIP][55] ([fdo#109271]) -> [PASS][56] +21 similar issues
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6318/shard-hsw1/igt@[email protected]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13378/shard-hsw5/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-shrfb-plflip-blt:
- shard-iclb: [FAIL][57] ([fdo#103167]) -> [PASS][58] +11 similar issues
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6318/shard-iclb1/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-shrfb-plflip-blt.html
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13378/shard-iclb7/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-shrfb-plflip-blt.html
* igt@kms_plane_alpha_blend@pipe-c-coverage-7efc:
- shard-skl: [FAIL][59] ([fdo#108145] / [fdo#110403]) -> [PASS][60]
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6318/shard-skl7/igt@[email protected]
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13378/shard-skl1/igt@[email protected]
* igt@kms_plane_lowres@pipe-a-tiling-x:
- shard-iclb: [FAIL][61] ([fdo#103166]) -> [PASS][62]
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6318/shard-iclb6/igt@[email protected]
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13378/shard-iclb4/igt@[email protected]
* igt@kms_psr@psr2_cursor_plane_move:
- shard-iclb: [SKIP][63] ([fdo#109441]) -> [PASS][64] +1 similar issue
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6318/shard-iclb7/igt@kms_psr@psr2_cursor_plane_move.html
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13378/shard-iclb2/igt@kms_psr@psr2_cursor_plane_move.html
* igt@perf_pmu@busy-double-start-bcs0:
- shard-kbl: [DMESG-WARN][65] -> [PASS][66]
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6318/shard-kbl3/igt@[email protected]
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13378/shard-kbl4/igt@[email protected]
[fdo#103166]: https://bugs.freedesktop.org/show_bug.cgi?id=103166
[fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
[fdo#103313]: https://bugs.freedesktop.org/show_bug.cgi?id=103313
[fdo#103359]: https://bugs.freedesktop.org/show_bug.cgi?id=103359
[fdo#103665]: https://bugs.freedesktop.org/show_bug.cgi?id=103665
[fdo#104097]: https://bugs.freedesktop.org/show_bug.cgi?id=104097
[fdo#105345]: https://bugs.freedesktop.org/show_bug.cgi?id=105345
[fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
[fdo#107807]: https://bugs.freedesktop.org/show_bug.cgi?id=107807
[fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
[fdo#108566]: https://bugs.freedesktop.org/show_bug.cgi?id=108566
[fdo#108840]: https://bugs.freedesktop.org/show_bug.cgi?id=108840
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#109507]: https://bugs.freedesktop.org/show_bug.cgi?id=109507
[fdo#110403]: https://bugs.freedesktop.org/show_bug.cgi?id=110403
[fdo#110741]: https://bugs.freedesktop.org/show_bug.cgi?id=110741
[fdo#110789]: https://bugs.freedesktop.org/show_bug.cgi?id=110789
[fdo#110854]: https://bugs.freedesktop.org/show_bug.cgi?id=110854
[fdo#110913 ]: https://bugs.freedesktop.org/show_bug.cgi?id=110913
[fdo#99912]: https://bugs.freedesktop.org/show_bug.cgi?id=99912
[k.org#198133]: https://bugzilla.kernel.org/show_bug.cgi?id=198133
Participating hosts (10 -> 10)
------------------------------
No changes in participating hosts
Build changes
-------------
* Linux: CI_DRM_6318 -> Patchwork_13378
CI_DRM_6318: 56b793e31c67ac9e0aa1dd72c013202f38cb5174 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5064: 22850c1906550fb97b405c019275dcfb34be8cf7 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_13378: a3a23103503b0bab70f808f531dc2bbd5e80189a @ 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_13378/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 8 lines · José Roberto de Souza
Now 180, 172.8 and 192 MHz are supported.
180 and 172.8 MHz CD clocks will only be used when audio is not enabled as state by BSpec and implemented in
intel_crtc_compute_min_cdclk(), CD clock must be at least twice of Azalia BCLK and BCLK by default is 96 MHz, it could be set to 48 MHz but we are not reading it.
Quoted 5 lines
BSpec: 20598
BSpec: 15729Cc Clint Taylor <[email protected]>Cc Ville Syrjälä <[email protected]>Signed-off-by José Roberto de Souza <[email protected]>
I think Ville wanted a 'static' on the range arrays. But aside from that, the changes here match the bspec, so
Quoted 83 lines
--- drivers/gpu/drm/i915/display/intel_cdclk.c | 30 +++++++++++++++------- 1 file changed, 21 insertions(+), 9 deletions(-)drivers/gpu/drm/i915/display/intel_cdclk.c +21
-9@@ -1756,9 +1756,10 @@ static void cnl_sanitize_cdclk(struct drm_i915_private *dev_priv)static int icl_calc_cdclk (int min_cdclk,unsigned int ref) { -int ranges_24[] = {312000 ,552000 ,648000 }; -int ranges_19_38[] = {307200 ,556800 ,652800 }; -int *ranges; +const int ranges_24[] = {180000 ,192000 ,312000 ,552000 ,648000 }; +const int ranges_19_38[] = {172800 ,192000 ,307200 ,556800 ,652800 }; +const int *ranges; +int len, i;switch (ref) {default :@@ -1766,19 +1767,22 @@ static int icl_calc_cdclk(int min_cdclk, unsigned int ref)/* fall through */ case 24000 : ranges = ranges_24; + len =ARRAY_SIZE (ranges_24);break ;case 19200 :case 38400 : ranges = ranges_19_38; + len =ARRAY_SIZE (ranges_19_38);break ; } -if (min_cdclk > ranges[1 ]) -return ranges[2 ]; -else if (min_cdclk > ranges[0 ]) -return ranges[1 ]; -else -return ranges[0 ]; +for (i =0 ; i < len; i++) { +if (min_cdclk <= ranges[i]) +return ranges[i]; + } + +WARN_ON (min_cdclk > ranges[len -1 ]); +return ranges[len -1 ]; }static int icl_calc_cdclk_pll_vco (struct drm_i915_private *dev_priv,int cdclk)@@ -1792,16 +1796,24 @@ static int icl_calc_cdclk_pll_vco(struct drm_i915_private *dev_priv, int cdclk)default :MISSING_CASE (cdclk);/* fall through */ +case 172800 :case 307200 :case 556800 :case 652800 :WARN_ON (dev_priv->cdclk.hw.ref !=19200 && dev_priv->cdclk.hw.ref !=38400 );break ; +case 180000 :case 312000 :case 552000 :case 648000 :WARN_ON (dev_priv->cdclk.hw.ref !=24000 ); +break ; +case 192000 : +WARN_ON (dev_priv->cdclk.hw.ref !=19200 && + dev_priv->cdclk.hw.ref !=38400 && + dev_priv->cdclk.hw.ref !=24000 ); +break ; } ratio = cdclk / (dev_priv->cdclk.hw.ref /2 );Signature · 6 lines
2.22.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 9 lines
Matt Roper Graphics Software Engineer IoTG Platform Enabling & Development Intel Corporation (916) 356-2795 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 17 lines · Matt Roper
Quoted 9 lines · José Roberto de Souza
Now 180, 172.8 and 192 MHz are supported.
180 and 172.8 MHz CD clocks will only be used when audio is not enabled as state by BSpec and implemented in
intel_crtc_compute_min_cdclk(), CD clock must be at least twice of Azalia BCLK and BCLK by default is 96 MHz, it could be set to 48 MHz
but we are not reading it.Quoted 5 lines
BSpec: 20598
BSpec: 15729Cc Clint Taylor <[email protected]>Cc Ville Syrjälä <[email protected]>Signed-off-by José Roberto de Souza <[email protected]>
Quoted 4 lines
I think Ville wanted a 'static' on the range arrays. But aside from that, the changes here match the bspec, so
Reviewed-by Matt Roper <[email protected]>
Oh I forgot that.
I did the audio test while on low cd clock frequencies, going to wait one more day before fix that.
Quoted 84 lines
Quoted 84 lines
--- drivers/gpu/drm/i915/display/intel_cdclk.c | 30 +++++++++++++++--- ---- 1 file changed, 21 insertions(+), 9 deletions(-)drivers/gpu/drm/i915/display/intel_cdclk.c +4
-3@@ -1756,9 +1756,10 @@ static void cnl_sanitize_cdclk(struct drm_i915_private *dev_priv)static int icl_calc_cdclk (int min_cdclk,unsigned int ref) { -int ranges_24[] = {312000 ,552000 ,648000 }; -int ranges_19_38[] = {307200 ,556800 ,652800 }; -int *ranges; +const int ranges_24[] = {180000 ,192000 ,312000 ,552000 ,648000 }; +const int ranges_19_38[] = {172800 ,192000 ,307200 ,556800 ,652800 }; +const int *ranges; +int len, i;drivers/gpu/drm/i915/display/intel_cdclk.c +9
-6switch (ref) {default :@@ -1766,19 +1767,22 @@ static int icl_calc_cdclk(int min_cdclk, unsigned int ref)/* fall through */ case 24000 : ranges = ranges_24; + len =ARRAY_SIZE (ranges_24);break ;case 19200 :case 38400 : ranges = ranges_19_38; + len =ARRAY_SIZE (ranges_19_38);break ; } -if (min_cdclk > ranges[1 ]) -return ranges[2 ]; -else if (min_cdclk > ranges[0 ]) -return ranges[1 ]; -else -return ranges[0 ]; +for (i =0 ; i < len; i++) { +if (min_cdclk <= ranges[i]) +return ranges[i]; + } + +WARN_ON (min_cdclk > ranges[len -1 ]); +return ranges[len -1 ]; }static int icl_calc_cdclk_pll_vco(struct
drm_i915_private*dev_priv, int cdclk)drivers/gpu/drm/i915/display/intel_cdclk.c +8
-0@@ -1792,16 +1796,24 @@ static int icl_calc_cdclk_pll_vco(struct drm_i915_private *dev_priv, int cdclk) default:MISSING_CASE (cdclk );/* fall through */ +case 172800 :case 307200 :case 556800 :case 652800 :WARN_ON (dev_priv->cdclk.hw.ref !=19200 && dev_priv->cdclk.hw.ref !=38400 );break ; +case 180000 :case 312000 :case 552000 :case 648000 :WARN_ON (dev_priv->cdclk.hw.ref !=24000 ); +break ; +case 192000 : +WARN_ON (dev_priv->cdclk.hw.ref !=19200 && + dev_priv->cdclk.hw.ref !=38400 && + dev_priv->cdclk.hw.ref !=24000 ); +break ; }
Quoted 8 lines
Quoted 8 lines
ratio = cdclk / (
dev_priv->cdclk.hw.ref/ 2);Signature · 6 lines
2.22.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx