drm/i915: Add comments for WaKeepPG1ActiveDueToDMCIssue
Subsystems (2)
PATCH 1/1 drm/i915: Add comments for WaKeepPG1ActiveDueToDMCIssue
skl,kbl and cnl need to keep pg1 active unconditionally. We already do this but the workaround name was missing, add it.
--- drivers/gpu/drm/i915/intel_runtime_pm.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/gpu/drm/i915/intel_runtime_pm.c +2 -0
@@ -2566,6 +2566,7 @@ static void skl_display_core_init(struct drm_i915_private *dev_priv,mutex_lock (&power_domains->lock); well =lookup_power_well (dev_priv,SKL_DISP_PW_1 ); +/* WaKeepPG1ActiveDueToDMCIssue:skl,kbl */ intel_power_well_enable (dev_priv, well); well =lookup_power_well (dev_priv,SKL_DISP_PW_MISC_IO );
@@ -2741,6 +2742,7 @@ static void cnl_display_core_init(struct drm_i915_private *dev_priv, bool resume*/ mutex_lock (&power_domains->lock); well =lookup_power_well (dev_priv,SKL_DISP_PW_1 ); +/* WaKeepPG1ActiveDueToDMCIssue:cnl */ intel_power_well_enable (dev_priv, well);mutex_unlock (&power_domains->lock);
Signature · 6 lines
2.11.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.BAT: success for drm/i915: Add comments for WaKeepPG1ActiveDueToDMCIssue
== Series Details ==
== Series Details ==
Series: drm/i915: Add comments for WaKeepPG1ActiveDueToDMCIssue
URL : https://patchwork.freedesktop.org/series/28748/
State : success
== Summary ==
Series 28748v1 drm/i915: Add comments for WaKeepPG1ActiveDueToDMCIssue
https://patchwork.freedesktop.org/api/1.0/series/28748/revisions/1/mbox/
Test gem_exec_parallel:
Subgroup basic:
fail -> PASS (fi-ilk-650) fdo#101735
Test gem_ringfill:
Subgroup basic-default:
skip -> PASS (fi-bsw-n3050) fdo#101915fdo#101735 https://bugs.freedesktop.org/show_bug.cgi?id=101735
fdo#101915 https://bugs.freedesktop.org/show_bug.cgi?id=101915
fi-bdw-5557u total:279 pass:268 dwarn:0 dfail:0 fail:0 skip:11 time:447s fi-bdw-gvtdvm total:279 pass:265 dwarn:0 dfail:0 fail:0 skip:14 time:432s fi-blb-e6850 total:279 pass:224 dwarn:1 dfail:0 fail:0 skip:54 time:353s fi-bsw-n3050 total:279 pass:243 dwarn:0 dfail:0 fail:0 skip:36 time:546s fi-bxt-j4205 total:279 pass:260 dwarn:0 dfail:0 fail:0 skip:19 time:518s fi-byt-j1900 total:279 pass:254 dwarn:1 dfail:0 fail:0 skip:24 time:521s fi-byt-n2820 total:279 pass:250 dwarn:1 dfail:0 fail:0 skip:28 time:508s fi-glk-2a total:279 pass:260 dwarn:0 dfail:0 fail:0 skip:19 time:602s fi-hsw-4770 total:279 pass:263 dwarn:0 dfail:0 fail:0 skip:16 time:442s fi-hsw-4770r total:279 pass:263 dwarn:0 dfail:0 fail:0 skip:16 time:415s fi-ilk-650 total:279 pass:229 dwarn:0 dfail:0 fail:0 skip:50 time:411s fi-ivb-3520m total:279 pass:261 dwarn:0 dfail:0 fail:0 skip:18 time:511s fi-ivb-3770 total:279 pass:261 dwarn:0 dfail:0 fail:0 skip:18 time:475s fi-kbl-7500u total:279 pass:261 dwarn:0 dfail:0 fail:0 skip:18 time:473s fi-kbl-7560u total:279 pass:269 dwarn:0 dfail:0 fail:0 skip:10 time:583s fi-kbl-r total:279 pass:261 dwarn:0 dfail:0 fail:0 skip:18 time:587s fi-pnv-d510 total:279 pass:223 dwarn:1 dfail:0 fail:0 skip:55 time:524s fi-skl-6260u total:279 pass:269 dwarn:0 dfail:0 fail:0 skip:10 time:460s fi-skl-6700k total:279 pass:261 dwarn:0 dfail:0 fail:0 skip:18 time:470s fi-skl-6770hq total:279 pass:269 dwarn:0 dfail:0 fail:0 skip:10 time:482s fi-skl-gvtdvm total:279 pass:266 dwarn:0 dfail:0 fail:0 skip:13 time:437s fi-skl-x1585l total:279 pass:269 dwarn:0 dfail:0 fail:0 skip:10 time:496s fi-snb-2520m total:279 pass:251 dwarn:0 dfail:0 fail:0 skip:28 time:548s fi-snb-2600 total:279 pass:250 dwarn:0 dfail:0 fail:0 skip:29 time:414s
7a620d02bd0a7015fe8f6fc8ae830d47b101394d drm-tip: 2017y-08m-14d-09h-26m-51s UTC integration manifest 072311aa24e7 drm/i915: Add comments for WaKeepPG1ActiveDueToDMCIssue
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_5394/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Vivi, Rodrigo
maintainerQuoted 23 lines · Mika Kuoppala
skl,kbl and cnl need to keep pg1 active unconditionally. We already do this but the workaround name was missing, add it.
Cc Imre Deak <[email protected]>Cc Rodrigo Vivi <[email protected]>Signed-off-by Mika Kuoppala <[email protected]>--- drivers/gpu/drm/i915/intel_runtime_pm.c | 2 ++ 1 file changed, 2 insertions(+)drivers/gpu/drm/i915/intel_runtime_pm.c +1
-0@@ -2566,6 +2566,7 @@ static void skl_display_core_init(struct drm_i915_private *dev_priv,mutex_lock (&power_domains->lock); well =lookup_power_well (dev_priv,SKL_DISP_PW_1 ); +/* WaKeepPG1ActiveDueToDMCIssue:skl,kbl */ intel_power_well_enable (dev_priv, well); well =lookup_power_well (dev_priv,SKL_DISP_PW_MISC_IO );
drivers/gpu/drm/i915/intel_runtime_pm.c static void cnl_display_core_init(struct drm_i915_private *dev_priv, bool resume · line 2745
Quoted 4 lines
drivers/gpu/drm/i915/intel_runtime_pm.c +1
-0@@ -2741,6 +2742,7 @@ static void cnl_display_core_init(struct drm_i915_private *dev_priv, bool resume*/ mutex_lock (&power_domains->lock); well =lookup_power_well (dev_priv,SKL_DISP_PW_1 ); +/* WaKeepPG1ActiveDueToDMCIssue:cnl */
I don't believe that the workaround is here.
This is only part of regular sequence to initialize display "Enable Power Well 1 (PG1)"
Maybe the workaround is on the definition of the domain itself:
/* Handled by the DMC firmware
*/
.domains = 0,
Maybe we should do something like:
- /* Handled by the DMC firmware
*/
+ /* WaKeepPG1ActiveDueToDMCIssue:cnl */
But a follow-up question is: what should we do with BXT and GLK? Since this Wa is only mentioned for SKL, KBL and CNL, but we are using the same logic for all of them.
(For CFL let's assume == KBL because DMC firmware is the same)
drivers/gpu/drm/i915/intel_runtime_pm.c static void cnl_display_core_init(struct drm_i915_private *dev_priv, bool resume · line 2748
Quoted 3 lines
drivers/gpu/drm/i915/intel_runtime_pm.c +0
-0intel_power_well_enable (dev_priv, well);mutex_unlock (&power_domains->lock);
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx