drm/i915: Implement a bit of bw_state readout
Subsystems (3)
PATCH 1/1 drm/i915: Implement a bit of bw_state readout
From: Ville Syrjälä <[email protected]>
We currently fail to reconstruct the bw related cdclk limits during readout, which triggers a cdclk reclaculation during fastboot, which is then likely forces a full modeset anyway. Reconstruct some of the missing state so that we can skip the cdclk recomputation and thus have a higher chance for flicker free boot.
--- drivers/gpu/drm/i915/display/intel_bw.c | 9 ++++++--- drivers/gpu/drm/i915/display/intel_display.c | 7 +++++-- 2 files changed, 11 insertions(+), 5 deletions(-)
drivers/gpu/drm/i915/display/intel_bw.c +6 -3
@@ -627,11 +627,14 @@ void intel_bw_crtc_update(struct intel_bw_state *bw_state,intel_bw_crtc_data_rate (crtc_state); bw_state->num_active_planes[crtc->pipe] =intel_bw_crtc_num_active_planes (crtc_state); + bw_state->min_cdclk[crtc->pipe] = +intel_bw_crtc_min_cdclk (crtc_state); -drm_dbg_kms (&i915->drm,"pipe %c data rate %u num active planes %u\n" , -pipe_name (crtc->pipe), +drm_dbg_kms (&i915->drm,"[CRTC:%d:%s] data rate %u num active planes %u min cdclk %d kHz\n" , + crtc->base.base.id, crtc->base.name, bw_state->data_rate[crtc->pipe], - bw_state->num_active_planes[crtc->pipe]); + bw_state->num_active_planes[crtc->pipe], + bw_state->min_cdclk[crtc->pipe]); } static unsigned int intel_bw_num_active_planes(struct drm_i915_private *dev_priv,
drivers/gpu/drm/i915/display/intel_display.c +5 -2
@@ -2498,6 +2498,7 @@ static void intel_crtc_disable_noatomic(struct intel_crtc *crtc, bw_state->data_rate[pipe] =0 ; bw_state->num_active_planes[pipe] =0 ; + bw_state->min_cdclk[pipe] =0 ; }/*
@@ -9310,6 +9311,8 @@ static void intel_modeset_readout_hw_state(struct drm_device *dev)to_intel_cdclk_state (dev_priv->cdclk.obj.state);struct intel_dbuf_state *dbuf_state =to_intel_dbuf_state (dev_priv->dbuf.obj.state); +struct intel_bw_state *bw_state = +to_intel_bw_state (dev_priv->bw_obj.state);enum pipe pipe;struct intel_crtc *crtc;struct intel_encoder *encoder;
@@ -9425,8 +9428,6 @@ static void intel_modeset_readout_hw_state(struct drm_device *dev)drm_connector_list_iter_end (&conn_iter);for_each_intel_crtc (dev, crtc) { -struct intel_bw_state *bw_state = -to_intel_bw_state (dev_priv->bw_obj.state);struct intel_crtc_state *crtc_state =to_intel_crtc_state (crtc->base.state);struct intel_plane *plane;
@@ -9490,6 +9491,8 @@ static void intel_modeset_readout_hw_state(struct drm_device *dev)intel_bw_crtc_update (bw_state, crtc_state); } + + cdclk_state->bw_min_cdclk =intel_bw_min_cdclk (dev_priv, bw_state); } static void
Signature · 1 line
2.35.1
Patchwork
CI[Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915: Implement a bit of bw_state readout
== Series Details ==
== Series Details ==
Series: drm/i915: Implement a bit of bw_state readout
URL : https://patchwork.freedesktop.org/series/105299/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_11776 -> Patchwork_105299v1
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/index.html
Participating hosts (35 -> 34)
------------------------------
Additional (1): fi-cml-u2
Missing (2): fi-blb-e6850 fi-bdw-samus
Known issues
------------
Here are the changes found in Patchwork_105299v1 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_fence@basic-busy@bcs0:
- fi-cml-u2: NOTRUN -> [SKIP][1] ([i915#1208]) +1 similar issue
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/fi-cml-u2/igt@gem_exec_fence@[email protected]
* igt@gem_huc_copy@huc-copy:
- fi-cml-u2: NOTRUN -> [SKIP][2] ([i915#2190])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/fi-cml-u2/igt@[email protected]
* igt@gem_lmem_swapping@verify-random:
- fi-cml-u2: NOTRUN -> [SKIP][3] ([i915#4613]) +3 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/fi-cml-u2/igt@[email protected]
- fi-tgl-u2: NOTRUN -> [SKIP][4] ([i915#4613]) +3 similar issues
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/fi-tgl-u2/igt@[email protected]
* igt@i915_selftest@live@hangcheck:
- fi-hsw-g3258: [PASS][5] -> [INCOMPLETE][6] ([i915#4785])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11776/fi-hsw-g3258/igt@i915_selftest@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/fi-hsw-g3258/igt@i915_selftest@[email protected]
* igt@i915_selftest@live@requests:
- fi-pnv-d510: [PASS][7] -> [DMESG-FAIL][8] ([i915#4528])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11776/fi-pnv-d510/igt@i915_selftest@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/fi-pnv-d510/igt@i915_selftest@[email protected]
* igt@i915_suspend@basic-s3-without-i915:
- fi-tgl-u2: NOTRUN -> [SKIP][9] ([i915#5903])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/fi-tgl-u2/igt@[email protected]
* igt@kms_chamelium@common-hpd-after-suspend:
- fi-tgl-u2: NOTRUN -> [SKIP][10] ([fdo#109284] / [fdo#111827])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/fi-tgl-u2/igt@[email protected]
- fi-hsw-4770: NOTRUN -> [SKIP][11] ([fdo#109271] / [fdo#111827])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/fi-hsw-4770/igt@[email protected]
* igt@kms_chamelium@vga-hpd-fast:
- fi-cml-u2: NOTRUN -> [SKIP][12] ([fdo#109284] / [fdo#111827]) +8 similar issues
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/fi-cml-u2/igt@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy:
- fi-cml-u2: NOTRUN -> [SKIP][13] ([fdo#109278]) +1 similar issue
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/fi-cml-u2/igt@[email protected]
* igt@kms_force_connector_basic@force-load-detect:
- fi-cml-u2: NOTRUN -> [SKIP][14] ([fdo#109285])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/fi-cml-u2/igt@[email protected]
* igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-d:
- fi-cml-u2: NOTRUN -> [SKIP][15] ([fdo#109278] / [i915#533])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/fi-cml-u2/igt@[email protected]
* igt@kms_setmode@basic-clone-single-crtc:
- fi-cml-u2: NOTRUN -> [SKIP][16] ([i915#3555])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/fi-cml-u2/igt@[email protected]
* igt@prime_vgem@basic-userptr:
- fi-cml-u2: NOTRUN -> [SKIP][17] ([fdo#109295] / [i915#3301])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/fi-cml-u2/igt@[email protected]
* igt@runner@aborted:
- fi-pnv-d510: NOTRUN -> [FAIL][18] ([fdo#109271] / [i915#2403] / [i915#4312])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/fi-pnv-d510/igt@[email protected]
- fi-hsw-g3258: NOTRUN -> [FAIL][19] ([fdo#109271] / [i915#4312])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/fi-hsw-g3258/igt@[email protected]
#### Possible fixes ####
* igt@i915_selftest@live@hangcheck:
- fi-hsw-4770: [INCOMPLETE][20] ([i915#3303] / [i915#4785]) -> [PASS][21]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11776/fi-hsw-4770/igt@i915_selftest@[email protected]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/fi-hsw-4770/igt@i915_selftest@[email protected]
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109278]: https://bugs.freedesktop.org/show_bug.cgi?id=109278
[fdo#109284]: https://bugs.freedesktop.org/show_bug.cgi?id=109284
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#109295]: https://bugs.freedesktop.org/show_bug.cgi?id=109295
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#1208]: https://gitlab.freedesktop.org/drm/intel/issues/1208
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2403]: https://gitlab.freedesktop.org/drm/intel/issues/2403
[i915#3301]: https://gitlab.freedesktop.org/drm/intel/issues/3301
[i915#3303]: https://gitlab.freedesktop.org/drm/intel/issues/3303
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#4312]: https://gitlab.freedesktop.org/drm/intel/issues/4312
[i915#4528]: https://gitlab.freedesktop.org/drm/intel/issues/4528
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4785]: https://gitlab.freedesktop.org/drm/intel/issues/4785
[i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533
[i915#5903]: https://gitlab.freedesktop.org/drm/intel/issues/5903
Build changes
-------------
* Linux: CI_DRM_11776 -> Patchwork_105299v1
CI-20190529: 20190529
CI_DRM_11776: ac17a5249380aaabe5d1eaebd9b3a2eedc08ccdc @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_6536: e3de4d32b7a509635fbff4d5131c05a7767699f7 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_105299v1: ac17a5249380aaabe5d1eaebd9b3a2eedc08ccdc @ git://anongit.freedesktop.org/gfx-ci/linux
### Linux commits
dff040a5d124 drm/i915: Implement a bit of bw_state readout
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/index.html
Patchwork
CI[Intel-gfx] ✗ Fi.CI.IGT: failure for drm/i915: Implement a bit of bw_state readout
In reply to Ville Syrjala== Series Details ==
== Series Details ==
Series: drm/i915: Implement a bit of bw_state readout
URL : https://patchwork.freedesktop.org/series/105299/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_11776_full -> Patchwork_105299v1_full
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_105299v1_full absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_105299v1_full, please notify your bug team to allow them to document this new failure mode, which will reduce false positives in CI.
Participating hosts (10 -> 10)
------------------------------
No changes in participating hosts
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_105299v1_full:
### IGT changes ###
#### Possible regressions ####
* igt@kms_vblank@pipe-a-ts-continuation-dpms-suspend:
- shard-tglb: [PASS][1] -> [INCOMPLETE][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11776/shard-tglb2/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-tglb2/igt@[email protected]
Known issues
------------
Here are the changes found in Patchwork_105299v1_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_eio@kms:
- shard-tglb: [PASS][3] -> [FAIL][4] ([i915#5784])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11776/shard-tglb2/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-tglb2/igt@[email protected]
* igt@gem_exec_balancer@parallel-keep-in-fence:
- shard-iclb: [PASS][5] -> [SKIP][6] ([i915#4525]) +1 similar issue
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11776/shard-iclb4/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-iclb3/igt@[email protected]
* igt@gem_exec_fair@basic-deadline:
- shard-apl: NOTRUN -> [FAIL][7] ([i915#6141])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-apl1/igt@[email protected]
* igt@gem_exec_fair@basic-none-share@rcs0:
- shard-iclb: [PASS][8] -> [FAIL][9] ([i915#2842])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11776/shard-iclb6/igt@gem_exec_fair@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-iclb4/igt@gem_exec_fair@[email protected]
- shard-apl: [PASS][10] -> [SKIP][11] ([fdo#109271])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11776/shard-apl1/igt@gem_exec_fair@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-apl2/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-none@bcs0:
- shard-tglb: [PASS][12] -> [FAIL][13] ([i915#2842]) +1 similar issue
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11776/shard-tglb2/igt@gem_exec_fair@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-tglb2/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-none@vcs1:
- shard-iclb: NOTRUN -> [FAIL][14] ([i915#2842])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-iclb2/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace-share@rcs0:
- shard-glk: [PASS][15] -> [FAIL][16] ([i915#2842]) +1 similar issue
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11776/shard-glk5/igt@gem_exec_fair@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-glk8/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace@rcs0:
- shard-kbl: [PASS][17] -> [FAIL][18] ([i915#2842])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11776/shard-kbl1/igt@gem_exec_fair@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-kbl1/igt@gem_exec_fair@[email protected]
* igt@gem_lmem_swapping@parallel-multi:
- shard-kbl: NOTRUN -> [SKIP][19] ([fdo#109271] / [i915#4613]) +1 similar issue
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-kbl3/igt@[email protected]
* igt@gem_workarounds@suspend-resume-fd:
- shard-kbl: [PASS][20] -> [DMESG-WARN][21] ([i915#180])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11776/shard-kbl4/igt@[email protected]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-kbl6/igt@[email protected]
* igt@gen9_exec_parse@allowed-single:
- shard-apl: [PASS][22] -> [DMESG-WARN][23] ([i915#5566] / [i915#716])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11776/shard-apl8/igt@[email protected]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-apl4/igt@[email protected]
* igt@i915_pm_dc@dc6-psr:
- shard-iclb: [PASS][24] -> [FAIL][25] ([i915#454])
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11776/shard-iclb8/igt@[email protected]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-iclb7/igt@[email protected]
* igt@kms_big_fb@y-tiled-max-hw-stride-64bpp-rotate-0-async-flip:
- shard-skl: NOTRUN -> [FAIL][26] ([i915#3763])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-skl9/igt@[email protected]
* igt@kms_ccs@pipe-c-crc-primary-basic-y_tiled_gen12_rc_ccs_cc:
- shard-kbl: NOTRUN -> [SKIP][27] ([fdo#109271] / [i915#3886]) +3 similar issues
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-kbl6/igt@kms_ccs@pipe-c-crc-primary-basic-y_tiled_gen12_rc_ccs_cc.html
* igt@kms_ccs@pipe-c-missing-ccs-buffer-y_tiled_gen12_mc_ccs:
- shard-apl: NOTRUN -> [SKIP][28] ([fdo#109271] / [i915#3886]) +1 similar issue
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-apl7/igt@kms_ccs@pipe-c-missing-ccs-buffer-y_tiled_gen12_mc_ccs.html
* igt@kms_ccs@pipe-d-ccs-on-another-bo-y_tiled_gen12_mc_ccs:
- shard-kbl: NOTRUN -> [SKIP][29] ([fdo#109271]) +86 similar issues
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-kbl6/igt@kms_ccs@pipe-d-ccs-on-another-bo-y_tiled_gen12_mc_ccs.html
* igt@kms_chamelium@dp-hpd-storm-disable:
- shard-apl: NOTRUN -> [SKIP][30] ([fdo#109271] / [fdo#111827]) +2 similar issues
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-apl1/igt@[email protected]
* igt@kms_color_chamelium@pipe-b-ctm-0-75:
- shard-kbl: NOTRUN -> [SKIP][31] ([fdo#109271] / [fdo#111827]) +8 similar issues
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-kbl6/igt@[email protected]
* igt@kms_color_chamelium@pipe-c-ctm-green-to-red:
- shard-skl: NOTRUN -> [SKIP][32] ([fdo#109271] / [fdo#111827])
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-skl9/igt@[email protected]
* igt@kms_cursor_legacy@pipe-d-single-bo:
- shard-kbl: NOTRUN -> [SKIP][33] ([fdo#109271] / [i915#533])
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-kbl3/igt@[email protected]
* igt@kms_fbcon_fbt@fbc-suspend:
- shard-apl: [PASS][34] -> [FAIL][35] ([i915#4767])
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11776/shard-apl4/igt@[email protected]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-apl6/igt@[email protected]
* igt@kms_flip@flip-vs-suspend-interruptible@b-dp1:
- shard-apl: NOTRUN -> [DMESG-WARN][36] ([i915#180]) +2 similar issues
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-apl2/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-suspend@a-dp1:
- shard-kbl: NOTRUN -> [DMESG-WARN][37] ([i915#180]) +1 similar issue
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-kbl6/igt@kms_flip@[email protected]
* igt@kms_flip@plain-flip-ts-check-interruptible@a-edp1:
- shard-skl: [PASS][38] -> [FAIL][39] ([i915#2122])
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11776/shard-skl9/igt@kms_flip@[email protected]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-skl7/igt@kms_flip@[email protected]
* igt@kms_plane_alpha_blend@pipe-a-alpha-opaque-fb:
- shard-kbl: NOTRUN -> [FAIL][40] ([fdo#108145] / [i915#265])
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-kbl3/igt@[email protected]
* igt@kms_plane_scaling@plane-downscale-with-pixel-format-factor-0-5@pipe-b-edp-1:
- shard-iclb: [PASS][41] -> [SKIP][42] ([i915#5176]) +2 similar issues
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11776/shard-iclb7/igt@kms_plane_scaling@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-iclb2/igt@kms_plane_scaling@[email protected]
* igt@kms_plane_scaling@plane-upscale-with-modifiers-factor-0-25@pipe-b-edp-1:
- shard-skl: [PASS][43] -> [DMESG-WARN][44] ([i915#1982])
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11776/shard-skl6/igt@kms_plane_scaling@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-skl4/igt@kms_plane_scaling@[email protected]
* igt@kms_psr2_sf@primary-plane-update-sf-dmg-area:
- shard-kbl: NOTRUN -> [SKIP][45] ([fdo#109271] / [i915#658])
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-kbl6/igt@[email protected]
* igt@kms_psr@psr2_sprite_plane_onoff:
- shard-iclb: [PASS][46] -> [SKIP][47] ([fdo#109441]) +2 similar issues
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11776/shard-iclb2/igt@kms_psr@psr2_sprite_plane_onoff.html
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-iclb1/igt@kms_psr@psr2_sprite_plane_onoff.html
* igt@kms_writeback@writeback-check-output:
- shard-kbl: NOTRUN -> [SKIP][48] ([fdo#109271] / [i915#2437])
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-kbl3/igt@[email protected]
- shard-apl: NOTRUN -> [SKIP][49] ([fdo#109271] / [i915#2437])
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-apl7/igt@[email protected]
* igt@prime_nv_pcopy@test3_4:
- shard-apl: NOTRUN -> [SKIP][50] ([fdo#109271]) +57 similar issues
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-apl2/igt@prime_nv_pcopy@test3_4.html
* igt@prime_vgem@fence-read-hang:
- shard-skl: NOTRUN -> [SKIP][51] ([fdo#109271]) +1 similar issue
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-skl9/igt@[email protected]
* igt@sysfs_clients@fair-7:
- shard-kbl: NOTRUN -> [SKIP][52] ([fdo#109271] / [i915#2994])
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-kbl3/igt@[email protected]
- shard-apl: NOTRUN -> [SKIP][53] ([fdo#109271] / [i915#2994]) +1 similar issue
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-apl7/igt@[email protected]
#### Possible fixes ####
* igt@gem_ctx_persistence@many-contexts:
- shard-kbl: [INCOMPLETE][54] ([i915#3593]) -> [PASS][55]
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11776/shard-kbl3/igt@[email protected]
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-kbl6/igt@[email protected]
* igt@gem_exec_balancer@parallel-out-fence:
- shard-iclb: [SKIP][56] ([i915#4525]) -> [PASS][57] +2 similar issues
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11776/shard-iclb5/igt@[email protected]
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-iclb4/igt@[email protected]
* igt@gem_exec_fair@basic-none-solo@rcs0:
- shard-apl: [FAIL][58] ([i915#2842]) -> [PASS][59] +1 similar issue
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11776/shard-apl1/igt@gem_exec_fair@[email protected]
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-apl8/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-none@rcs0:
- shard-glk: [FAIL][60] ([i915#2842]) -> [PASS][61]
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11776/shard-glk9/igt@gem_exec_fair@[email protected]
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-glk5/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-none@vecs0:
- shard-kbl: [FAIL][62] ([i915#2842]) -> [PASS][63] +2 similar issues
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11776/shard-kbl7/igt@gem_exec_fair@[email protected]
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-kbl7/igt@gem_exec_fair@[email protected]
* igt@gem_exec_fair@basic-pace@vcs1:
- shard-tglb: [FAIL][64] ([i915#2842]) -> [PASS][65] +1 similar issue
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11776/shard-tglb1/igt@gem_exec_fair@[email protected]
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-tglb8/igt@gem_exec_fair@[email protected]
* igt@gem_exec_whisper@basic-queues-all:
- shard-glk: [DMESG-WARN][66] ([i915#118]) -> [PASS][67] +1 similar issue
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11776/shard-glk4/igt@[email protected]
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-glk2/igt@[email protected]
* igt@gem_huc_copy@huc-copy:
- shard-tglb: [SKIP][68] ([i915#2190]) -> [PASS][69]
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11776/shard-tglb7/igt@[email protected]
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-tglb5/igt@[email protected]
* igt@gen9_exec_parse@allowed-single:
- shard-skl: [DMESG-WARN][70] ([i915#5566] / [i915#716]) -> [PASS][71]
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11776/shard-skl10/igt@[email protected]
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-skl9/igt@[email protected]
* igt@i915_module_load@reload-with-fault-injection:
- shard-skl: [DMESG-WARN][72] ([i915#1982]) -> [PASS][73] +1 similar issue
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11776/shard-skl1/igt@[email protected]
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-skl1/igt@[email protected]
* igt@i915_pm_dc@dc6-dpms:
- shard-iclb: [FAIL][74] ([i915#454]) -> [PASS][75]
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11776/shard-iclb3/igt@[email protected]
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-iclb6/igt@[email protected]
* igt@i915_pm_dc@dc9-dpms:
- shard-iclb: [SKIP][76] ([i915#4281]) -> [PASS][77]
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11776/shard-iclb3/igt@[email protected]
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-iclb6/igt@[email protected]
* igt@i915_selftest@live@hangcheck:
- shard-tglb: [DMESG-WARN][78] ([i915#5591]) -> [PASS][79]
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11776/shard-tglb2/igt@i915_selftest@[email protected]
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-tglb3/igt@i915_selftest@[email protected]
* igt@i915_suspend@fence-restore-tiled2untiled:
- shard-apl: [DMESG-WARN][80] ([i915#180]) -> [PASS][81] +2 similar issues
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11776/shard-apl8/igt@[email protected]
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-apl2/igt@[email protected]
* igt@i915_suspend@fence-restore-untiled:
- shard-kbl: [DMESG-WARN][82] ([i915#180]) -> [PASS][83] +2 similar issues
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11776/shard-kbl6/igt@[email protected]
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-kbl7/igt@[email protected]
* igt@kms_async_flips@alternate-sync-async-flip@pipe-c-edp-1:
- shard-skl: [FAIL][84] ([i915#2521]) -> [PASS][85]
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11776/shard-skl10/igt@kms_async_flips@[email protected]
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-skl9/igt@kms_async_flips@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions:
- shard-glk: [FAIL][86] ([i915#2346]) -> [PASS][87]
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11776/shard-glk4/igt@[email protected]
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-glk3/igt@[email protected]
* igt@kms_flip@2x-plain-flip-fb-recreate-interruptible@ab-hdmi-a1-hdmi-a2:
- shard-glk: [FAIL][88] ([i915#2122]) -> [PASS][89]
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11776/shard-glk9/igt@kms_flip@[email protected]
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-glk5/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-expired-vblank-interruptible@c-edp1:
- shard-skl: [FAIL][90] ([i915#79]) -> [PASS][91]
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11776/shard-skl10/igt@kms_flip@[email protected]
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-skl9/igt@kms_flip@[email protected]
* igt@kms_flip@plain-flip-fb-recreate@a-edp1:
- shard-skl: [FAIL][92] ([i915#2122]) -> [PASS][93] +3 similar issues
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11776/shard-skl10/igt@kms_flip@[email protected]
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-skl9/igt@kms_flip@[email protected]
* igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-16bpp-ytile-downscaling:
- shard-iclb: [SKIP][94] ([i915#3701]) -> [PASS][95] +1 similar issue
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11776/shard-iclb2/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-16bpp-ytile-downscaling.html
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-iclb5/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-16bpp-ytile-downscaling.html
* igt@kms_plane_scaling@plane-scaler-with-clipping-clamping-pixel-formats@pipe-b-edp-1:
- shard-iclb: [SKIP][96] ([i915#5176]) -> [PASS][97] +1 similar issue
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11776/shard-iclb3/igt@kms_plane_scaling@plane-scaler-with-clipping-clamping-pixel-formats@pipe-b-edp-1.html
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-iclb6/igt@kms_plane_scaling@plane-scaler-with-clipping-clamping-pixel-formats@pipe-b-edp-1.html
* igt@kms_plane_scaling@planes-downscale-factor-0-5@pipe-a-edp-1:
- shard-iclb: [SKIP][98] ([i915#5235]) -> [PASS][99] +2 similar issues
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11776/shard-iclb2/igt@kms_plane_scaling@[email protected]
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-iclb5/igt@kms_plane_scaling@[email protected]
* igt@kms_psr@psr2_sprite_blt:
- shard-iclb: [SKIP][100] ([fdo#109441]) -> [PASS][101] +2 similar issues
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11776/shard-iclb7/igt@kms_psr@psr2_sprite_blt.html
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-iclb2/igt@kms_psr@psr2_sprite_blt.html
* igt@perf@polling-parameterized:
- shard-skl: [FAIL][102] ([i915#5639]) -> [PASS][103]
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11776/shard-skl6/igt@[email protected]
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-skl4/igt@[email protected]
#### Warnings ####
* igt@gem_exec_fair@basic-none@rcs0:
- shard-tglb: [SKIP][104] ([i915#2848]) -> [FAIL][105] ([i915#2842])
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11776/shard-tglb2/igt@gem_exec_fair@[email protected]
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-tglb2/igt@gem_exec_fair@[email protected]
* igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area:
- shard-iclb: [SKIP][106] ([fdo#111068] / [i915#658]) -> [SKIP][107] ([i915#2920])
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_11776/shard-iclb7/igt@[email protected]
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_105299v1/shard-iclb2/igt@[email protected]
[fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#118]: https://gitlab.freedesktop.org/drm/intel/issues/118
[i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
[i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
[i915#2122]: https://gitlab.freedesktop.org/drm/intel/issues/2122
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2346]: https://gitlab.freedesktop.org/drm/intel/issues/2346
[i915#2437]: https://gitlab.freedesktop.org/drm/intel/issues/2437
[i915#2521]: https://gitlab.freedesktop.org/drm/intel/issues/2521
[i915#265]: https://gitlab.freedesktop.org/drm/intel/issues/265
[i915#2842]: https://gitlab.freedesktop.org/drm/intel/issues/2842
[i915#2848]: https://gitlab.freedesktop.org/drm/intel/issues/2848
[i915#2920]: https://gitlab.freedesktop.org/drm/intel/issues/2920
[i915#2994]: https://gitlab.freedesktop.org/drm/intel/issues/2994
[i915#3593]: https://gitlab.freedesktop.org/drm/intel/issues/3593
[i915#3701]: https://gitlab.freedesktop.org/drm/intel/issues/3701
[i915#3763]: https://gitlab.freedesktop.org/drm/intel/issues/3763
[i915#3886]: https://gitlab.freedesktop.org/drm/intel/issues/3886
[i915#4281]: https://gitlab.freedesktop.org/drm/intel/issues/4281
[i915#4525]: https://gitlab.freedesktop.org/drm/intel/issues/4525
[i915#454]: https://gitlab.freedesktop.org/drm/intel/issues/454
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4767]: https://gitlab.freedesktop.org/drm/intel/issues/4767
[i915#5176]: https://gitlab.freedesktop.org/drm/intel/issues/5176
[i915#5235]: https://gitlab.freedesktop.org/drm/intel/issues/5235
[i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533
[i915#5566]: https://gitlab.freedesktop.org/drm/intel/issues/5566
[i915#5591]: https://gitlab.freedesktop.org/drm/intel/issues/5591
[i915#5639]: https://gitlab.freedesktop.org/drm/intel/issues/5639
[i915#5784]: https://gitlab.freedesktop.org/drm/intel/issues/5784
[i915#6141]: https://gitlab.freedesktop.org/drm/intel/issues/6141
[i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658
[i915#716]: https://gitlab.freedesktop.org/drm/intel/issues/716
[i915#79]: https://gitlab.freedesktop.org/drm/intel/issues/79
Build changes
-------------
* Linux: CI_DRM_11776 -> Patchwork_105299v1
CI-20190529: 20190529
CI_DRM_11776: ac17a5249380aaabe5d1eaebd9b3a2eedc08ccdc @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_6536: e3de4d32b7a509635fbff4d5131c05a7767699f7 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_105299v1: ac17a5249380aaabe5d1eaebd9b3a2eedc08ccdc @ 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_105299v1/index.html
Quoted 8 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
We currently fail to reconstruct the bw related cdclk limits during readout, which triggers a cdclk reclaculation during fastboot, which is then likely forces a full modeset anyway. Reconstruct some of the missing state so that we can skip the cdclk recomputation and thus have a higher chance for flicker free boot.
Problem is that intel_bw_min_cdclk is using intel_bw_dbuf_min_cdclk, which in turns relies that bw_state->dbuf_bw was already calculated, however this is calculated in intel_bw_calc_min_cdclk, which is called from intel_cdclk_atomic_check.
So wondering will that work?
Stan
Quoted 72 lines
Cc Stanislav Lisovskiy <[email protected]>Signed-off-by Ville Syrjälä <[email protected]>--- drivers/gpu/drm/i915/display/intel_bw.c | 9 ++++++--- drivers/gpu/drm/i915/display/intel_display.c | 7 +++++-- 2 files changed, 11 insertions(+), 5 deletions(-)drivers/gpu/drm/i915/display/intel_bw.c +6
-3@@ -627,11 +627,14 @@ void intel_bw_crtc_update(struct intel_bw_state *bw_state,intel_bw_crtc_data_rate (crtc_state); bw_state->num_active_planes[crtc->pipe] =intel_bw_crtc_num_active_planes (crtc_state); + bw_state->min_cdclk[crtc->pipe] = +intel_bw_crtc_min_cdclk (crtc_state); -drm_dbg_kms (&i915->drm,"pipe %c data rate %u num active planes %u\n" , -pipe_name (crtc->pipe), +drm_dbg_kms (&i915->drm,"[CRTC:%d:%s] data rate %u num active planes %u min cdclk %d kHz\n" , + crtc->base.base.id, crtc->base.name, bw_state->data_rate[crtc->pipe], - bw_state->num_active_planes[crtc->pipe]); + bw_state->num_active_planes[crtc->pipe], + bw_state->min_cdclk[crtc->pipe]); } static unsigned int intel_bw_num_active_planes(struct drm_i915_private *dev_priv,drivers/gpu/drm/i915/display/intel_display.c +5
-2@@ -2498,6 +2498,7 @@ static void intel_crtc_disable_noatomic(struct intel_crtc *crtc, bw_state->data_rate[pipe] =0 ; bw_state->num_active_planes[pipe] =0 ; + bw_state->min_cdclk[pipe] =0 ; }/* @@ -9310,6 +9311,8 @@ static void intel_modeset_readout_hw_state(struct drm_device *dev)to_intel_cdclk_state (dev_priv->cdclk.obj.state);struct intel_dbuf_state *dbuf_state =to_intel_dbuf_state (dev_priv->dbuf.obj.state); +struct intel_bw_state *bw_state = +to_intel_bw_state (dev_priv->bw_obj.state);enum pipe pipe;struct intel_crtc *crtc;struct intel_encoder *encoder;@@ -9425,8 +9428,6 @@ static void intel_modeset_readout_hw_state(struct drm_device *dev)drm_connector_list_iter_end (&conn_iter);for_each_intel_crtc (dev, crtc) { -struct intel_bw_state *bw_state = -to_intel_bw_state (dev_priv->bw_obj.state);struct intel_crtc_state *crtc_state =to_intel_crtc_state (crtc->base.state);struct intel_plane *plane;@@ -9490,6 +9491,8 @@ static void intel_modeset_readout_hw_state(struct drm_device *dev)intel_bw_crtc_update (bw_state, crtc_state); } + + cdclk_state->bw_min_cdclk =intel_bw_min_cdclk (dev_priv, bw_state); } static voidSignature · 1 line
2.35.1
Quoted 10 lines · Stanislav
Quoted 8 lines · Ville Syrjala
From: Ville Syrjälä <[email protected]>
We currently fail to reconstruct the bw related cdclk limits during readout, which triggers a cdclk reclaculation during fastboot, which is then likely forces a full modeset anyway. Reconstruct some of the missing state so that we can skip the cdclk recomputation and thus have a higher chance for flicker free boot.
Quoted 6 lines
Problem is that
intel_bw_min_cdclkis usingintel_bw_dbuf_min_cdclk, which in turns relies thatbw_state->dbuf_bwwas already calculated, however this is calculated inintel_bw_calc_min_cdclk, which is called fromintel_cdclk_atomic_check.So wondering will that work?
Hmm. I guess we're more or less just missing a call to skl_crtc_calc_dbuf_bw(), but I don't have all that code paged in atm so might be missing something.
So as is this is probably not a complete solution, but it did avoid the cdclk modeset on some machine I tested. I guess that one was a tgl and thus the maximum pipe read bandwidth stuff kicked in and populated things suffiiciently to avoid the full cdclk recalculation. I'll have to try this on some older machine to check how it behaves...
Quoted 75 lines
Stan
Quoted 72 lines
Cc Stanislav Lisovskiy <[email protected]>Signed-off-by Ville Syrjälä <[email protected]>--- drivers/gpu/drm/i915/display/intel_bw.c | 9 ++++++--- drivers/gpu/drm/i915/display/intel_display.c | 7 +++++-- 2 files changed, 11 insertions(+), 5 deletions(-)drivers/gpu/drm/i915/display/intel_bw.c +6
-3@@ -627,11 +627,14 @@ void intel_bw_crtc_update(struct intel_bw_state *bw_state,intel_bw_crtc_data_rate (crtc_state); bw_state->num_active_planes[crtc->pipe] =intel_bw_crtc_num_active_planes (crtc_state); + bw_state->min_cdclk[crtc->pipe] = +intel_bw_crtc_min_cdclk (crtc_state); -drm_dbg_kms (&i915->drm,"pipe %c data rate %u num active planes %u\n" , -pipe_name (crtc->pipe), +drm_dbg_kms (&i915->drm,"[CRTC:%d:%s] data rate %u num active planes %u min cdclk %d kHz\n" , + crtc->base.base.id, crtc->base.name, bw_state->data_rate[crtc->pipe], - bw_state->num_active_planes[crtc->pipe]); + bw_state->num_active_planes[crtc->pipe], + bw_state->min_cdclk[crtc->pipe]); } static unsigned int intel_bw_num_active_planes(struct drm_i915_private *dev_priv,drivers/gpu/drm/i915/display/intel_display.c +5
-2@@ -2498,6 +2498,7 @@ static void intel_crtc_disable_noatomic(struct intel_crtc *crtc, bw_state->data_rate[pipe] =0 ; bw_state->num_active_planes[pipe] =0 ; + bw_state->min_cdclk[pipe] =0 ; }/* @@ -9310,6 +9311,8 @@ static void intel_modeset_readout_hw_state(struct drm_device *dev)to_intel_cdclk_state (dev_priv->cdclk.obj.state);struct intel_dbuf_state *dbuf_state =to_intel_dbuf_state (dev_priv->dbuf.obj.state); +struct intel_bw_state *bw_state = +to_intel_bw_state (dev_priv->bw_obj.state);enum pipe pipe;struct intel_crtc *crtc;struct intel_encoder *encoder;@@ -9425,8 +9428,6 @@ static void intel_modeset_readout_hw_state(struct drm_device *dev)drm_connector_list_iter_end (&conn_iter);for_each_intel_crtc (dev, crtc) { -struct intel_bw_state *bw_state = -to_intel_bw_state (dev_priv->bw_obj.state);struct intel_crtc_state *crtc_state =to_intel_crtc_state (crtc->base.state);struct intel_plane *plane;@@ -9490,6 +9491,8 @@ static void intel_modeset_readout_hw_state(struct drm_device *dev)intel_bw_crtc_update (bw_state, crtc_state); } + + cdclk_state->bw_min_cdclk =intel_bw_min_cdclk (dev_priv, bw_state); } static voidSignature · 1 line
2.35.1
Signature · 2 lines
Ville Syrjälä Intel