drm/i915/display: Don't program DBUF_CTL tracker state service
Subsystems (3)
PATCH 1/1 drm/i915/display: Don't program DBUF_CTL tracker state service
While display initialization along with MBUS credits programming DBUF_CTL register is also programmed, as a part of it the tracker state service field is also set to 0x8 value when default value is other than 0x8 which are for platforms past display version 13. For remaining platforms the default value is already 0x8 so don't program them.
Bspec: 49213
--- drivers/gpu/drm/i915/display/intel_display_power.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/display/intel_display_power.c +1 -1
@@ -1126,7 +1126,7 @@ static void gen12_dbuf_slices_config(struct intel_display *display) {enum dbuf_slice slice; -if (display->platform.alderlake_p) +if (DISPLAY_VER (display) >=13 )return ;for_each_dbuf_slice (display, slice)
Signature · 1 line
2.25.1
Quoted 37 lines
-----Original Message-----
From: Vodapalli, Ravi Kumar <[email protected]>
Sent: Tuesday, December 17, 2024 11:00 PM
To: [email protected]
Cc: Vivekanandan, Balasubramani <[email protected]>; Roper, Matthew D <[email protected]>; De Marchi, Lucas <[email protected]>; Sousa, Gustavo <[email protected]>; Taylor, Clinton A <[email protected]>; Atwood, Matthew S <[email protected]>; Bhadane, Dnyaneshwar <[email protected]>; Kalvala, Haridhar <[email protected]>; Chauhan, Shekhar <[email protected]>
Subject: [PATCH] drm/i915/display: Don't programDBUF_CTLtracker state serviceWhile display initialization along with MBUS credits programming
DBUF_CTLregister is also programmed, as a part of it the tracker state service field is also set to0x8value when default value is other than0x8which are for platforms past display version 13.
For remaining platforms the default value is already0x8so don't program them.Bspec: 49213
Signed-off-by Ravi Kumar Vodapalli <[email protected]>--- drivers/gpu/drm/i915/display/intel_display_power.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/i915/display/intel_display_power.c +0
-0
drivers/gpu/drm/i915/display/intel_display_power.c static void gen12_dbuf_slices_config(struct · line 1129
Quoted 5 lines
drivers/gpu/drm/i915/display/intel_display_power.c +1
-1@@ -1126,7 +1126,7 @@ static void gen12_dbuf_slices_config(struct intel_display *display) {enum dbuf_slice slice; -if (display->platform.alderlake_p) +if (DISPLAY_VER (display) >=13 )
Hi Ravi,
This new condition is not needed here since there's already a similar check in the caller function icl_display_core_init(). Please update the condition at the caller function and remove this code from here.
Dnyaneshwar,
Quoted 5 lines
drivers/gpu/drm/i915/display/intel_display_power.c +0
-1return ;for_each_dbuf_slice (display, slice) --2.25.1
Hi,
My inline comments
Quoted 39 lines · Dnyaneshwar
Quoted 39 lines
-----Original Message-----
From: Vodapalli, Ravi Kumar<[email protected]>
Sent: Tuesday, December 17, 2024 11:00 PM To:[email protected]
Cc: Vivekanandan, Balasubramani <[email protected]>; Roper, Matthew D <[email protected]>; De Marchi, Lucas <[email protected]>; Sousa, Gustavo<[email protected]>; Taylor, Clinton A<[email protected]>; Atwood, Matthew S <[email protected]>; Bhadane, Dnyaneshwar <[email protected]>; Kalvala, Haridhar <[email protected]>; Chauhan, Shekhar <[email protected]>
Subject: [PATCH] drm/i915/display: Don't programDBUF_CTLtracker state serviceWhile display initialization along with MBUS credits programming
DBUF_CTLregister is also programmed, as a part of it the tracker state service field is also set to0x8value when default value is other than0x8which are for platforms past display version 13.
For remaining platforms the default value is already0x8so don't program them.Bspec: 49213
Signed-off-by Ravi Kumar Vodapalli<[email protected]>--- drivers/gpu/drm/i915/display/intel_display_power.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/i915/display/intel_display_power.c +0
-0@@ -1126,7 +1126,7 @@ static void gen12_dbuf_slices_config(struct intel_display *display) {enum dbuf_slice slice;
Quoted 5 lines
drivers/gpu/drm/i915/display/intel_display_power.c static void gen12_dbuf_slices_config(struct intel_display *display) · line 1129
Quoted 2 lines
drivers/gpu/drm/i915/display/intel_display_power.c +1
-1-if (display->platform.alderlake_p) +if (DISPLAY_VER (display) >=13 )Hi Ravi,
This new condition is not needed here since there's already a similar check in the caller functionicl_display_core_init(). Please update the condition at the caller function and remove this code from here.
As MattR explained The function gen12_dbuf_slices_config() name suggest that it is called for gen12 platform onwards and higher, any changes in the code for higher platforms has to be implemented in that function. Ravi Kumar V
Quoted 6 lines
Dnyaneshwar,
Quoted 5 lines
drivers/gpu/drm/i915/display/intel_display_power.c +0
-1return ;for_each_dbuf_slice (display, slice) --2.25.1
Quoted 44 lines · Ravi Kumar
Hi,
My inline comments
Quoted 38 lines · Dnyaneshwar
Quoted 38 lines
-----Original Message-----
From: Vodapalli, Ravi Kumar<[email protected]>
Sent: Tuesday, December 17, 2024 11:00 PM To:[email protected]
Cc: Vivekanandan, Balasubramani <[email protected]>; Roper, Matthew D <[email protected]>; De Marchi, Lucas <[email protected]>; Sousa, Gustavo<[email protected]>; Taylor, Clinton A<[email protected]>; Atwood, Matthew S <[email protected]>; Bhadane, Dnyaneshwar <[email protected]>; Kalvala, Haridhar <[email protected]>; Chauhan, Shekhar <[email protected]>
Subject: [PATCH] drm/i915/display: Don't programDBUF_CTLtracker state serviceWhile display initialization along with MBUS credits programming
DBUF_CTLregister is also programmed, as a part of it the tracker state service field is also set to0x8value when default value is other than0x8which are for platforms past display version 13.
For remaining platforms the default value is already0x8so don't program them.Bspec: 49213
Signed-off-by Ravi Kumar Vodapalli<[email protected]>--- drivers/gpu/drm/i915/display/intel_display_power.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/i915/display/intel_display_power.c +0
-0@@ -1126,7 +1126,7 @@ static void gen12_dbuf_slices_config(struct intel_display *display) {enum dbuf_slice slice;
Quoted 7 lines
Quoted 5 lines
drivers/gpu/drm/i915/display/intel_display_power.c static void gen12_dbuf_slices_config(struct intel_display *display) · line 1129
Quoted 2 lines
drivers/gpu/drm/i915/display/intel_display_power.c +1
-1-if (display->platform.alderlake_p) +if (DISPLAY_VER (display) >=13 )Hi Ravi,
This new condition is not needed here since there's already a similar check in the caller functionicl_display_core_init(). Please update the condition at the caller function and remove this code from here.As MattR explained The function
gen12_dbuf_slices_config()name suggest that it is called for gen12 platform onwards and higher, any changes in the code for higher platforms has to be implemented in that function.
I don't know which part of my review was unclear that you mixed it up with what you wrote above. But what I am trying to convey is that we can easily modify the caller function condition as
if (DISPLAY_VER(display) == 12)
instead of modifying the platform check inside gen12_dbuf_slices_config()
Dnyaneshwar
Quoted 8 lines
Ravi Kumar V
Quoted 6 lines
Dnyaneshwar,
Quoted 5 lines
drivers/gpu/drm/i915/display/intel_display_power.c +0
-1return ;for_each_dbuf_slice (display, slice) --2.25.1
-----Original Message-----
From: Bhadane, Dnyaneshwar <[email protected]>
Sent: Thursday, December 19, 2024 12:55 PM
To: Vodapalli, Ravi Kumar <[email protected]>; [email protected]
Cc: Vivekanandan, Balasubramani <[email protected]>; Roper, Matthew D <[email protected]>; De Marchi, Lucas <[email protected]>; Sousa, Gustavo <[email protected]>; Taylor, Clinton A <[email protected]>; Atwood, Matthew S <[email protected]>; Kalvala, Haridhar <[email protected]>; Chauhan, Shekhar <[email protected]>
Subject: Re: [PATCH] drm/i915/display: Don't program DBUF_CTL tracker state service
Quoted 50 lines · Ravi Kumar
Hi,
My inline comments
Quoted 38 lines · Dnyaneshwar
Quoted 38 lines
-----Original Message-----
From: Vodapalli, Ravi Kumar<[email protected]>
Sent: Tuesday, December 17, 2024 11:00 PM To:[email protected]
Cc: Vivekanandan, Balasubramani <[email protected]>; Roper, Matthew D <[email protected]>; De Marchi, Lucas <[email protected]>; Sousa, Gustavo<[email protected]>; Taylor, Clinton A<[email protected]>; Atwood, Matthew S <[email protected]>; Bhadane, Dnyaneshwar <[email protected]>; Kalvala, Haridhar <[email protected]>; Chauhan, Shekhar <[email protected]>
Subject: [PATCH] drm/i915/display: Don't programDBUF_CTLtracker state serviceWhile display initialization along with MBUS credits programming
DBUF_CTLregister is also programmed, as a part of it the tracker state service field is also set to0x8value when default value is other than0x8which are for platforms past display version 13. For remaining platforms the default value is already0x8so don't program them.Bspec: 49213
Signed-off-by Ravi Kumar Vodapalli<[email protected]>--- drivers/gpu/drm/i915/display/intel_display_power.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/i915/display/intel_display_power.c +0
-0@@ -1126,7 +1126,7 @@ static void gen12_dbuf_slices_config(struct intel_display *display) {enum dbuf_slice slice;Quoted 5 lines
drivers/gpu/drm/i915/display/intel_display_power.c static void gen12_dbuf_slices_config(struct intel_display *display) · line 1129
Quoted 2 lines
drivers/gpu/drm/i915/display/intel_display_power.c +1
-1-if (display->platform.alderlake_p) +if (DISPLAY_VER (display) >=13 )Hi Ravi,
This new condition is not needed here since there's already a similar check in the caller functionicl_display_core_init(). Please update the condition at the caller function and remove this code from here.
Quoted 3 lines
As MattR explained The function
gen12_dbuf_slices_config()name suggest that it is called for gen12 platform onwards and higher, any changes in the code for higher platforms has to be implemented in that function.
I don't know which part of my review was unclear that you mixed it up with what you wrote above. But what I am trying to convey is that we can easily modify the caller function condition as
if (DISPLAY_VER(display) == 12)
instead of modifying the platform check inside gen12_dbuf_slices_config()
Got it what is your view, discussed with MattR what you said seems better.
Dnyaneshwar
Quoted 8 lines
Ravi Kumar V
Quoted 6 lines
Dnyaneshwar,
Quoted 5 lines
drivers/gpu/drm/i915/display/intel_display_power.c +0
-1return ;for_each_dbuf_slice (display, slice) --2.25.1
Patchwork
CI✗ i915.CI.BAT: failure for drm/i915/display: Don't program DBUF_CTL tracker state service
In reply to Ravi Kumar Vodapalli== Series Details ==
== Series Details ==
Series: drm/i915/display: Don't program DBUF_CTL tracker state service
URL : https://patchwork.freedesktop.org/series/142744/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_15861 -> Patchwork_142744v1
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_142744v1 absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes
introduced in Patchwork_142744v1, please notify your bug team ([email protected]) to allow them to document this new failure mode, which will reduce false positives in CI.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_142744v1/index.html
Participating hosts (45 -> 44)
------------------------------
Missing (1): fi-snb-2520m
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_142744v1:
### IGT changes ###
#### Possible regressions ####
* igt@i915_selftest@live@slpc:
- bat-jsl-3: [PASS][1] -> [INCOMPLETE][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15861/bat-jsl-3/igt@i915_selftest@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_142744v1/bat-jsl-3/igt@i915_selftest@[email protected]
Known issues
------------
Here are the changes found in Patchwork_142744v1 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@i915_pm_rpm@module-reload:
- bat-dg1-7: [PASS][3] -> [FAIL][4] ([i915#12903])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15861/bat-dg1-7/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_142744v1/bat-dg1-7/igt@[email protected]
- bat-rpls-4: [PASS][5] -> [FAIL][6] ([i915#12903])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15861/bat-rpls-4/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_142744v1/bat-rpls-4/igt@[email protected]
* igt@i915_selftest@live:
- bat-jsl-3: [PASS][7] -> [INCOMPLETE][8] ([i915#13241])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15861/bat-jsl-3/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_142744v1/bat-jsl-3/igt@[email protected]
* igt@i915_selftest@live@workarounds:
- bat-mtlp-6: [PASS][9] -> [ABORT][10] ([i915#12061]) +1 other test abort
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15861/bat-mtlp-6/igt@i915_selftest@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_142744v1/bat-mtlp-6/igt@i915_selftest@[email protected]
* igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence:
- bat-dg2-11: [PASS][11] -> [SKIP][12] ([i915#9197]) +2 other tests skip
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15861/bat-dg2-11/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_142744v1/bat-dg2-11/igt@[email protected]
#### Possible fixes ####
* igt@i915_selftest@live:
- fi-skl-6600u: [INCOMPLETE][13] ([i915#13050]) -> [PASS][14]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15861/fi-skl-6600u/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_142744v1/fi-skl-6600u/igt@[email protected]
* igt@i915_selftest@live@gt_timelines:
- fi-skl-6600u: [INCOMPLETE][15] -> [PASS][16]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15861/fi-skl-6600u/igt@i915_selftest@live@gt_timelines.html
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_142744v1/fi-skl-6600u/igt@i915_selftest@live@gt_timelines.html
* igt@i915_selftest@live@workarounds:
- {bat-arls-6}: [ABORT][17] ([i915#12061]) -> [PASS][18] +1 other test pass
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_15861/bat-arls-6/igt@i915_selftest@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_142744v1/bat-arls-6/igt@i915_selftest@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[i915#12061]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/12061
[i915#12903]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/12903
[i915#13050]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/13050
[i915#13241]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/13241
[i915#9197]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/9197
Build changes
-------------
* Linux: CI_DRM_15861 -> Patchwork_142744v1
CI-20190529: 20190529
CI_DRM_15861: 561947cbde53a2d22434977709610f42e4f0229b @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_8160: 4f10d98c56498ab29445ae0b06aab6f5a8ec2eca @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_142744v1: 561947cbde53a2d22434977709610f42e4f0229b @ git://anongit.freedesktop.org/gfx-ci/linux
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_142744v1/index.html