drm/i915/ehl: Add support for DPLL4 (v5)
Subsystems (3)
PATCH 1/1 drm/i915/ehl: Add support for DPLL4 (v5)
This patch adds support for DPLL4 on EHL that include the following restrictions:
- DPLL4 cannot be used with DDIA (combo port A internal eDP usage). DPLL4 can be used with other DDIs, including DDID (combo port A external usage).
- DPLL4 cannot be enabled when DC5 or DC6 are enabled.
- The DPLL4 enable, lock, power enabled, and power state are connected to the MGPLL1_ENABLE register.
v2: (suggestions from Bob Paauwe)
- Rework ehl_get_dpll() function to call intel_find_shared_dpll() and iterate twice: once for Combo plls and once for MG plls.
- Use MG pll funcs for DPLL4 instead of creating new ones and modify mg_pll_enable to include the restrictions for EHL.
v3: Fix compilation error
v4: (suggestions from Lucas and Ville)
- Treat DPLL4 as a combo phy PLL and not as MG PLL
- Disable DC states when this DPLL is being enabled
- Reuse icl_get_dpll instead of creating a separate one for EHL
v5: (suggestion from Ville)
- Refcount the DC OFF power domains during the enabling and disabling of this DPLL.
--- drivers/gpu/drm/i915/intel_dpll_mgr.c | 40 ++++++++++++++++++++++--- drivers/gpu/drm/i915/intel_dpll_mgr.h | 5 ++++ drivers/gpu/drm/i915/intel_runtime_pm.c | 21 +++++++++++++ drivers/gpu/drm/i915/intel_runtime_pm.h | 5 ++++ 4 files changed, 67 insertions(+), 4 deletions(-)
drivers/gpu/drm/i915/intel_dpll_mgr.c +36 -4
@@ -22,8 +22,8 @@*/ #include "intel_dpio_phy.h" -#include "intel_dpll_mgr.h" #include "intel_drv.h" +#include "intel_dpll_mgr.h" /** * DOC: Display PLLs
@@ -2806,6 +2806,12 @@ icl_get_dpll(struct intel_crtc_state *crtc_state,if (intel_port_is_combophy (dev_priv, port)) { min =DPLL_ID_ICL_DPLL0 ; max =DPLL_ID_ICL_DPLL1 ; + +if (IS_ELKHARTLAKE (dev_priv)) { +if (encoder->type !=INTEL_OUTPUT_EDP ) + max =DPLL_ID_EHL_DPLL4 ; + } + ret =icl_calc_dpll_state (crtc_state, encoder); }else if (intel_port_is_tc (dev_priv, port)) {if (encoder->type ==INTEL_OUTPUT_DP_MST ) {
@@ -2945,8 +2951,14 @@ static bool combo_pll_get_hw_state(struct drm_i915_private *dev_priv,struct intel_shared_dpll *pll, struct intel_dpll_hw_state *hw_state) { - return icl_pll_get_hw_state(dev_priv, pll, hw_state, - CNL_DPLL_ENABLE(pll->info->id)); + i915_reg_t enable_reg = CNL_DPLL_ENABLE(pll->info->id); + +if (IS_ELKHARTLAKE (dev_priv) && + pll->info->id ==DPLL_ID_EHL_DPLL4 ) { + enable_reg =MG_PLL_ENABLE (0 ); + } + +return icl_pll_get_hw_state (dev_priv, pll, hw_state, enable_reg); } static bool tbt_pll_get_hw_state(struct drm_i915_private *dev_priv,
@@ -3057,6 +3069,14 @@ static void combo_pll_enable(struct drm_i915_private *dev_priv, {i915_reg_t enable_reg =CNL_DPLL_ENABLE (pll->info->id); +if (IS_ELKHARTLAKE (dev_priv) && + pll->info->id ==DPLL_ID_EHL_DPLL4 ) { + enable_reg =MG_PLL_ENABLE (0 ); + +/* Need to disable DC states when this DPLL is enabled. */ +icl_disable_dc_states (dev_priv, pll); + } +icl_pll_power_enable (dev_priv, pll, enable_reg);icl_dpll_write (dev_priv, pll);
@@ -3152,7 +3172,18 @@ static void icl_pll_disable(struct drm_i915_private *dev_priv,static void combo_pll_disable (struct drm_i915_private *dev_priv,struct intel_shared_dpll *pll) { -icl_pll_disable (dev_priv, pll,CNL_DPLL_ENABLE (pll->info->id)); +i915_reg_t enable_reg =CNL_DPLL_ENABLE (pll->info->id); + +if (IS_ELKHARTLAKE (dev_priv) && + pll->info->id ==DPLL_ID_EHL_DPLL4 ) { + enable_reg =MG_PLL_ENABLE (0 ); +icl_pll_disable (dev_priv, pll, enable_reg); + +icl_enable_dc_states (dev_priv, pll); +return ; + } + +icl_pll_disable (dev_priv, pll, enable_reg); } static void tbt_pll_disable(struct drm_i915_private *dev_priv,
@@ -3230,6 +3261,7 @@ static const struct intel_dpll_mgr icl_pll_mgr = {static const struct dpll_info ehl_plls[] = { {"DPLL 0" , &combo_pll_funcs,DPLL_ID_ICL_DPLL0 ,0 }, {"DPLL 1" , &combo_pll_funcs,DPLL_ID_ICL_DPLL1 ,0 }, + {"DPLL 4" , &combo_pll_funcs,DPLL_ID_EHL_DPLL4 ,0 }, { }, };
drivers/gpu/drm/i915/intel_dpll_mgr.h +5 -0
@@ -117,6 +117,10 @@ enum intel_dpll_id {* @DPLL_ID_ICL_DPLL1: ICL combo PHY DPLL1 */ DPLL_ID_ICL_DPLL1 =1 , +/** +* @DPLL_ID_EHL_DPLL4: EHL combo PHY DPLL4 +*/ + DPLL_ID_EHL_DPLL4 = 2,/** * @DPLL_ID_ICL_TBTPLL: ICL TBT PLL */
@@ -312,6 +316,7 @@ struct intel_shared_dpll {* @info: platform specific info */ const struct dpll_info *info; +intel_wakeref_t wakerefs[POWER_DOMAIN_NUM ]; };#define SKL_DPLL0 0
drivers/gpu/drm/i915/intel_runtime_pm.c +21 -0
@@ -5229,3 +5229,24 @@ void intel_runtime_pm_init_early(struct drm_i915_private *i915) {init_intel_runtime_pm_wakeref (i915); } + +void icl_disable_dc_states (struct drm_i915_private *dev_priv, +struct intel_shared_dpll *pll) +{ +enum intel_display_power_domain domain; + +for_each_power_domain (domain,ICL_DISPLAY_DC_OFF_POWER_DOMAINS ) + pll->wakerefs[domain] =intel_display_power_get (dev_priv, + domain); +} + +void icl_enable_dc_states (struct drm_i915_private *dev_priv, +struct intel_shared_dpll *pll) +{ +enum intel_display_power_domain domain; + +for_each_power_domain (domain,ICL_DISPLAY_DC_OFF_POWER_DOMAINS ) +intel_display_power_put (dev_priv, domain, + pll->wakerefs[domain]); +} +
drivers/gpu/drm/i915/intel_runtime_pm.h +5 -0
@@ -139,4 +139,9 @@ void chv_phy_powergate_lanes(struct intel_encoder *encoder,bool chv_phy_powergate_ch (struct drm_i915_private *dev_priv,enum dpio_phy phy,enum dpio_channel ch,bool override); +void icl_disable_dc_states (struct drm_i915_private *dev_priv, +struct intel_shared_dpll *pll); +void icl_enable_dc_states (struct drm_i915_private *dev_priv, +struct intel_shared_dpll *pll); +#endif /* __INTEL_RUNTIME_PM_H__ */
Signature · 6 lines
2.21.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✗ Fi.CI.BAT: failure for drm/i915/ehl: Add support for DPLL4 (v5)
== Series Details ==
== Series Details ==
Series: drm/i915/ehl: Add support for DPLL4 (v5)
URL : https://patchwork.freedesktop.org/series/61684/
State : failure
== Summary ==
Applying: drm/i915/ehl: Add support for DPLL4 (v5) .git/rebase-apply/patch:146: new blank line at EOF.
+
warning: 1 line adds whitespace errors.
Using index info to reconstruct a base tree...
M drivers/gpu/drm/i915/intel_dpll_mgr.c
M drivers/gpu/drm/i915/intel_dpll_mgr.h
M drivers/gpu/drm/i915/intel_runtime_pm.c
M drivers/gpu/drm/i915/intel_runtime_pm.h
Falling back to patching base and 3-way merge...
Auto-merging drivers/gpu/drm/i915/intel_runtime_pm.h
CONFLICT (content): Merge conflict in drivers/gpu/drm/i915/intel_runtime_pm.h Auto-merging drivers/gpu/drm/i915/intel_runtime_pm.c
Auto-merging drivers/gpu/drm/i915/intel_dpll_mgr.h
Auto-merging drivers/gpu/drm/i915/intel_dpll_mgr.c
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch' to see the failed patch Patch failed at 0001 drm/i915/ehl: Add support for DPLL4 (v5) When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 1/1 drm/i915/ehl: Add support for DPLL4 (v6)
This patch adds support for DPLL4 on EHL that include the following restrictions:
- DPLL4 cannot be used with DDIA (combo port A internal eDP usage). DPLL4 can be used with other DDIs, including DDID (combo port A external usage).
- DPLL4 cannot be enabled when DC5 or DC6 are enabled.
- The DPLL4 enable, lock, power enabled, and power state are connected to the MGPLL1_ENABLE register.
v2: (suggestions from Bob Paauwe)
- Rework ehl_get_dpll() function to call intel_find_shared_dpll() and iterate twice: once for Combo plls and once for MG plls.
- Use MG pll funcs for DPLL4 instead of creating new ones and modify mg_pll_enable to include the restrictions for EHL.
v3: Fix compilation error
v4: (suggestions from Lucas and Ville)
- Treat DPLL4 as a combo phy PLL and not as MG PLL
- Disable DC states when this DPLL is being enabled
- Reuse icl_get_dpll instead of creating a separate one for EHL
v5: (suggestion from Ville)
- Refcount the DC OFF power domains during the enabling and disabling of this DPLL.
v6: rebase
--- drivers/gpu/drm/i915/intel_display_power.c | 20 +++++++++++ drivers/gpu/drm/i915/intel_display_power.h | 6 ++++ drivers/gpu/drm/i915/intel_dpll_mgr.c | 40 +++++++++++++++++++--- drivers/gpu/drm/i915/intel_dpll_mgr.h | 5 +++ 4 files changed, 67 insertions(+), 4 deletions(-)
drivers/gpu/drm/i915/intel_display_power.c +20 -0
@@ -4524,6 +4524,26 @@ void intel_power_domains_resume(struct drm_i915_private *i915)intel_power_domains_verify_state (i915); } +void icl_disable_dc_states (struct drm_i915_private *dev_priv, +struct intel_shared_dpll *pll) +{ +enum intel_display_power_domain domain; + +for_each_power_domain (domain,ICL_DISPLAY_DC_OFF_POWER_DOMAINS ) + pll->wakerefs[domain] =intel_display_power_get (dev_priv, + domain); +} + +void icl_enable_dc_states (struct drm_i915_private *dev_priv, +struct intel_shared_dpll *pll) +{ +enum intel_display_power_domain domain; + +for_each_power_domain (domain,ICL_DISPLAY_DC_OFF_POWER_DOMAINS ) +intel_display_power_put (dev_priv, domain, + pll->wakerefs[domain]); +} +#if IS_ENABLED (CONFIG_DRM_I915_DEBUG_RUNTIME_PM )static void intel_power_domains_dump_info (struct drm_i915_private *i915)
drivers/gpu/drm/i915/intel_display_power.h +6 -0
@@ -12,6 +12,7 @@struct drm_i915_private ;struct intel_encoder ; +struct intel_shared_dpll ;enum intel_display_power_domain {POWER_DOMAIN_DISPLAY_CORE ,
@@ -285,4 +286,9 @@ void chv_phy_powergate_lanes(struct intel_encoder *encoder,bool chv_phy_powergate_ch (struct drm_i915_private *dev_priv,enum dpio_phy phy,enum dpio_channel ch,bool override); +void icl_disable_dc_states (struct drm_i915_private *dev_priv, +struct intel_shared_dpll *pll); +void icl_enable_dc_states (struct drm_i915_private *dev_priv, +struct intel_shared_dpll *pll); +#endif /* __INTEL_DISPLAY_POWER_H__ */
drivers/gpu/drm/i915/intel_dpll_mgr.c +36 -4
@@ -22,8 +22,8 @@*/ #include "intel_dpio_phy.h" -#include "intel_dpll_mgr.h" #include "intel_drv.h" +#include "intel_dpll_mgr.h" /** * DOC: Display PLLs
@@ -2806,6 +2806,12 @@ icl_get_dpll(struct intel_crtc_state *crtc_state,if (intel_port_is_combophy (dev_priv, port)) { min =DPLL_ID_ICL_DPLL0 ; max =DPLL_ID_ICL_DPLL1 ; + +if (IS_ELKHARTLAKE (dev_priv)) { +if (encoder->type !=INTEL_OUTPUT_EDP ) + max =DPLL_ID_EHL_DPLL4 ; + } + ret =icl_calc_dpll_state (crtc_state, encoder); }else if (intel_port_is_tc (dev_priv, port)) {if (encoder->type ==INTEL_OUTPUT_DP_MST ) {
@@ -2945,8 +2951,14 @@ static bool combo_pll_get_hw_state(struct drm_i915_private *dev_priv,struct intel_shared_dpll *pll, struct intel_dpll_hw_state *hw_state) { - return icl_pll_get_hw_state(dev_priv, pll, hw_state, - CNL_DPLL_ENABLE(pll->info->id)); + i915_reg_t enable_reg = CNL_DPLL_ENABLE(pll->info->id); + +if (IS_ELKHARTLAKE (dev_priv) && + pll->info->id ==DPLL_ID_EHL_DPLL4 ) { + enable_reg =MG_PLL_ENABLE (0 ); + } + +return icl_pll_get_hw_state (dev_priv, pll, hw_state, enable_reg); } static bool tbt_pll_get_hw_state(struct drm_i915_private *dev_priv,
@@ -3057,6 +3069,14 @@ static void combo_pll_enable(struct drm_i915_private *dev_priv, {i915_reg_t enable_reg =CNL_DPLL_ENABLE (pll->info->id); +if (IS_ELKHARTLAKE (dev_priv) && + pll->info->id ==DPLL_ID_EHL_DPLL4 ) { + enable_reg =MG_PLL_ENABLE (0 ); + +/* Need to disable DC states when this DPLL is enabled. */ +icl_disable_dc_states (dev_priv, pll); + } +icl_pll_power_enable (dev_priv, pll, enable_reg);icl_dpll_write (dev_priv, pll);
@@ -3152,7 +3172,18 @@ static void icl_pll_disable(struct drm_i915_private *dev_priv,static void combo_pll_disable (struct drm_i915_private *dev_priv,struct intel_shared_dpll *pll) { -icl_pll_disable (dev_priv, pll,CNL_DPLL_ENABLE (pll->info->id)); +i915_reg_t enable_reg =CNL_DPLL_ENABLE (pll->info->id); + +if (IS_ELKHARTLAKE (dev_priv) && + pll->info->id ==DPLL_ID_EHL_DPLL4 ) { + enable_reg =MG_PLL_ENABLE (0 ); +icl_pll_disable (dev_priv, pll, enable_reg); + +icl_enable_dc_states (dev_priv, pll); +return ; + } + +icl_pll_disable (dev_priv, pll, enable_reg); } static void tbt_pll_disable(struct drm_i915_private *dev_priv,
@@ -3230,6 +3261,7 @@ static const struct intel_dpll_mgr icl_pll_mgr = {static const struct dpll_info ehl_plls[] = { {"DPLL 0" , &combo_pll_funcs,DPLL_ID_ICL_DPLL0 ,0 }, {"DPLL 1" , &combo_pll_funcs,DPLL_ID_ICL_DPLL1 ,0 }, + {"DPLL 4" , &combo_pll_funcs,DPLL_ID_EHL_DPLL4 ,0 }, { }, };
drivers/gpu/drm/i915/intel_dpll_mgr.h +5 -0
@@ -117,6 +117,10 @@ enum intel_dpll_id {* @DPLL_ID_ICL_DPLL1: ICL combo PHY DPLL1 */ DPLL_ID_ICL_DPLL1 =1 , +/** +* @DPLL_ID_EHL_DPLL4: EHL combo PHY DPLL4 +*/ + DPLL_ID_EHL_DPLL4 = 2,/** * @DPLL_ID_ICL_TBTPLL: ICL TBT PLL */
@@ -312,6 +316,7 @@ struct intel_shared_dpll {* @info: platform specific info */ const struct dpll_info *info; +intel_wakeref_t wakerefs[POWER_DOMAIN_NUM ]; };#define SKL_DPLL0 0
Signature · 6 lines
2.21.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✗ Fi.CI.BAT: failure for drm/i915/ehl: Add support for DPLL4 (v6)
In reply to Patchwork== Series Details ==
== Series Details ==
Series: drm/i915/ehl: Add support for DPLL4 (v6)
URL : https://patchwork.freedesktop.org/series/61696/
State : failure
== Summary ==
CALL scripts/checksyscalls.sh
CALL scripts/atomic/check-atomics.sh
DESCEND objtool
CHK include/generated/compile.h
CC [M] drivers/gpu/drm/i915/header_test_intel_dpll_mgr.o
In file included from drivers/gpu/drm/i915/header_test_intel_dpll_mgr.c:1:0:drivers/gpu/drm/i915/intel_dpll_mgr.h:319:2: error: unknown type name ‘intel_wakeref_t’
intel_wakeref_t wakerefs[POWER_DOMAIN_NUM];
^~~~~~~~~~~~~~~drivers/gpu/drm/i915/intel_dpll_mgr.h:319:27: error: ‘POWER_DOMAIN_NUM’ undeclared here (not in a function)
intel_wakeref_t wakerefs[POWER_DOMAIN_NUM];
^~~~~~~~~~~~~~~~scripts/Makefile.build:278: recipe for target 'drivers/gpu/drm/i915/header_test_intel_dpll_mgr.o' failed make[4]: *** [drivers/gpu/drm/i915/header_test_intel_dpll_mgr.o] Error 1 scripts/Makefile.build:489: recipe for target 'drivers/gpu/drm/i915' failed
make[3]: *** [drivers/gpu/drm/i915] Error 2scripts/Makefile.build:489: recipe for target 'drivers/gpu/drm' failed
make[2]: *** [drivers/gpu/drm] Error 2scripts/Makefile.build:489: recipe for target 'drivers/gpu' failed
make[1]: *** [drivers/gpu] Error 2
Makefile:1071: recipe for target 'drivers' failed
make: *** [drivers] Error 2
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 160 lines · Vivek Kasireddy
This patch adds support for DPLL4 on EHL that include the following restrictions:
- DPLL4 cannot be used with DDIA (combo port A internal eDP usage). DPLL4 can be used with other DDIs, including DDID (combo port A external usage).
- DPLL4 cannot be enabled when DC5 or DC6 are enabled.
- The DPLL4 enable, lock, power enabled, and power state are connected to the
MGPLL1_ENABLEregister.v2: (suggestions from Bob Paauwe)
- Reworkehl_get_dpll()function to callintel_find_shared_dpll()and iterate twice: once for Combo plls and once for MG plls.- Use MG pll funcs for DPLL4 instead of creating new ones and modify
mg_pll_enableto include the restrictions for EHL.v3: Fix compilation error
v4: (suggestions from Lucas and Ville)
- Treat DPLL4 as a combo phy PLL and not as MG PLL
- Disable DC states when this DPLL is being enabled
- Reuseicl_get_dpllinstead of creating a separate one for EHLv5: (suggestion from Ville)
- Refcount the DC OFF power domains during the enabling and disabling of this DPLL.Cc Lucas De Marchi <[email protected]>Cc José Roberto de Souza <[email protected]>Cc Ville Syrjälä <[email protected]>Cc Matt Roper <[email protected]>Signed-off-by Vivek Kasireddy <[email protected]>--- drivers/gpu/drm/i915/intel_dpll_mgr.c | 40 ++++++++++++++++++++++--- drivers/gpu/drm/i915/intel_dpll_mgr.h | 5 ++++ drivers/gpu/drm/i915/intel_runtime_pm.c | 21 +++++++++++++ drivers/gpu/drm/i915/intel_runtime_pm.h | 5 ++++ 4 files changed, 67 insertions(+), 4 deletions(-)drivers/gpu/drm/i915/intel_dpll_mgr.c +36
-4@@ -22,8 +22,8 @@*/ #include "intel_dpio_phy.h" -#include "intel_dpll_mgr.h" #include "intel_drv.h" +#include "intel_dpll_mgr.h" /** * DOC: Display PLLs @@ -2806,6 +2806,12 @@ icl_get_dpll(struct intel_crtc_state *crtc_state,if (intel_port_is_combophy (dev_priv, port)) { min =DPLL_ID_ICL_DPLL0 ; max =DPLL_ID_ICL_DPLL1 ; + +if (IS_ELKHARTLAKE (dev_priv)) { +if (encoder->type !=INTEL_OUTPUT_EDP ) + max =DPLL_ID_EHL_DPLL4 ; + } + ret =icl_calc_dpll_state (crtc_state, encoder); }else if (intel_port_is_tc (dev_priv, port)) {if (encoder->type ==INTEL_OUTPUT_DP_MST ) {@@ -2945,8 +2951,14 @@ static bool combo_pll_get_hw_state(struct drm_i915_private *dev_priv,struct intel_shared_dpll *pll, struct intel_dpll_hw_state *hw_state) { - return icl_pll_get_hw_state(dev_priv, pll, hw_state, - CNL_DPLL_ENABLE(pll->info->id)); + i915_reg_t enable_reg = CNL_DPLL_ENABLE(pll->info->id); + +if (IS_ELKHARTLAKE (dev_priv) && + pll->info->id ==DPLL_ID_EHL_DPLL4 ) { + enable_reg =MG_PLL_ENABLE (0 ); + } + +return icl_pll_get_hw_state (dev_priv, pll, hw_state, enable_reg); } static bool tbt_pll_get_hw_state(struct drm_i915_private *dev_priv,@@ -3057,6 +3069,14 @@ static void combo_pll_enable(struct drm_i915_private *dev_priv, {i915_reg_t enable_reg =CNL_DPLL_ENABLE (pll->info->id); +if (IS_ELKHARTLAKE (dev_priv) && + pll->info->id ==DPLL_ID_EHL_DPLL4 ) { + enable_reg =MG_PLL_ENABLE (0 ); + +/* Need to disable DC states when this DPLL is enabled. */ +icl_disable_dc_states (dev_priv, pll); + } +icl_pll_power_enable (dev_priv, pll, enable_reg);icl_dpll_write (dev_priv, pll);@@ -3152,7 +3172,18 @@ static void icl_pll_disable(struct drm_i915_private *dev_priv,static void combo_pll_disable (struct drm_i915_private *dev_priv,struct intel_shared_dpll *pll) { -icl_pll_disable (dev_priv, pll,CNL_DPLL_ENABLE (pll->info->id)); +i915_reg_t enable_reg =CNL_DPLL_ENABLE (pll->info->id); + +if (IS_ELKHARTLAKE (dev_priv) && + pll->info->id ==DPLL_ID_EHL_DPLL4 ) { + enable_reg =MG_PLL_ENABLE (0 ); +icl_pll_disable (dev_priv, pll, enable_reg); + +icl_enable_dc_states (dev_priv, pll); +return ; + } + +icl_pll_disable (dev_priv, pll, enable_reg); } static void tbt_pll_disable(struct drm_i915_private *dev_priv,@@ -3230,6 +3261,7 @@ static const struct intel_dpll_mgr icl_pll_mgr = {static const struct dpll_info ehl_plls[] = { {"DPLL 0" , &combo_pll_funcs,DPLL_ID_ICL_DPLL0 ,0 }, {"DPLL 1" , &combo_pll_funcs,DPLL_ID_ICL_DPLL1 ,0 }, + {"DPLL 4" , &combo_pll_funcs,DPLL_ID_EHL_DPLL4 ,0 }, { }, };drivers/gpu/drm/i915/intel_dpll_mgr.h +5
-0@@ -117,6 +117,10 @@ enum intel_dpll_id {* @DPLL_ID_ICL_DPLL1: ICL combo PHY DPLL1 */ DPLL_ID_ICL_DPLL1 =1 , +/** +* @DPLL_ID_EHL_DPLL4: EHL combo PHY DPLL4 +*/ + DPLL_ID_EHL_DPLL4 = 2,/** * @DPLL_ID_ICL_TBTPLL: ICL TBT PLL */ @@ -312,6 +316,7 @@ struct intel_shared_dpll {* @info: platform specific info */ const struct dpll_info *info; +intel_wakeref_t wakerefs[POWER_DOMAIN_NUM ]; };#define SKL_DPLL0 0drivers/gpu/drm/i915/intel_runtime_pm.c +0
-0@@ -5229,3 +5229,24 @@ void intel_runtime_pm_init_early(struct drm_i915_private *i915) {init_intel_runtime_pm_wakeref (i915); }
drivers/gpu/drm/i915/intel_runtime_pm.c void intel_runtime_pm_init_early(struct drm_i915_private *i915) · line 5241
Quoted 10 lines
drivers/gpu/drm/i915/intel_runtime_pm.c +10
-0+ +void icl_disable_dc_states (struct drm_i915_private *dev_priv, +struct intel_shared_dpll *pll) +{ +enum intel_display_power_domain domain; + +for_each_power_domain (domain,ICL_DISPLAY_DC_OFF_POWER_DOMAINS ) + pll->wakerefs[domain] =intel_display_power_get (dev_priv, + domain); +}
Well, using power domains ment adding a new domain for this purpose.
Quoted 32 lines
drivers/gpu/drm/i915/intel_runtime_pm.c +11
-0+ +void icl_enable_dc_states (struct drm_i915_private *dev_priv, +struct intel_shared_dpll *pll) +{ +enum intel_display_power_domain domain; + +for_each_power_domain (domain,ICL_DISPLAY_DC_OFF_POWER_DOMAINS ) +intel_display_power_put (dev_priv, domain, + pll->wakerefs[domain]); +} +drivers/gpu/drm/i915/intel_runtime_pm.h +5
-0@@ -139,4 +139,9 @@ void chv_phy_powergate_lanes(struct intel_encoder *encoder,bool chv_phy_powergate_ch (struct drm_i915_private *dev_priv,enum dpio_phy phy,enum dpio_channel ch,bool override); +void icl_disable_dc_states (struct drm_i915_private *dev_priv, +struct intel_shared_dpll *pll); +void icl_enable_dc_states (struct drm_i915_private *dev_priv, +struct intel_shared_dpll *pll); +#endif /* __INTEL_RUNTIME_PM_H__ */ Signature · 6 lines
2.21.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
PATCH 1/1 drm/i915/ehl: Add support for DPLL4 (v7)
This patch adds support for DPLL4 on EHL that include the following restrictions:
- DPLL4 cannot be used with DDIA (combo port A internal eDP usage). DPLL4 can be used with other DDIs, including DDID (combo port A external usage).
- DPLL4 cannot be enabled when DC5 or DC6 are enabled.
- The DPLL4 enable, lock, power enabled, and power state are connected to the MGPLL1_ENABLE register.
v2: (suggestions from Bob Paauwe)
- Rework ehl_get_dpll() function to call intel_find_shared_dpll() and iterate twice: once for Combo plls and once for MG plls.
- Use MG pll funcs for DPLL4 instead of creating new ones and modify mg_pll_enable to include the restrictions for EHL.
v3: Fix compilation error
v4: (suggestions from Lucas and Ville)
- Treat DPLL4 as a combo phy PLL and not as MG PLL
- Disable DC states when this DPLL is being enabled
- Reuse icl_get_dpll instead of creating a separate one for EHL
v5: (suggestion from Ville)
- Refcount the DC OFF power domains during the enabling and disabling of this DPLL.
v6: rebase
v7: (suggestion from Imre)
- Add a new power domain instead of iterating over the domains assoicated with DC OFF power well.
--- drivers/gpu/drm/i915/intel_display_power.c | 3 ++ drivers/gpu/drm/i915/intel_display_power.h | 1 + drivers/gpu/drm/i915/intel_dpll_mgr.c | 44 ++++++++++++++++++++-- drivers/gpu/drm/i915/intel_dpll_mgr.h | 6 +++ 4 files changed, 51 insertions(+), 3 deletions(-)
drivers/gpu/drm/i915/intel_display_power.c +3 -0
@@ -116,6 +116,8 @@ intel_display_power_domain_str(enum intel_display_power_domain domain)return "MODESET" ;case POWER_DOMAIN_GT_IRQ :return "GT_IRQ" ; +case POWER_DOMAIN_DPLL4 : +return "DPLL4" ;default :MISSING_CASE (domain);return "?" ;
@@ -2357,6 +2359,7 @@ void intel_display_power_put(struct drm_i915_private *dev_priv, ICL_PW_2_POWER_DOMAINS | \ BIT_ULL(POWER_DOMAIN_MODESET) | \ BIT_ULL(POWER_DOMAIN_AUX_A) | \ + BIT_ULL(POWER_DOMAIN_DPLL4) | \ BIT_ULL(POWER_DOMAIN_INIT))#define ICL_DDI_IO_A_POWER_DOMAINS ( \
drivers/gpu/drm/i915/intel_display_power.h +1 -0
@@ -59,6 +59,7 @@ enum intel_display_power_domain {POWER_DOMAIN_GMBUS ,POWER_DOMAIN_MODESET ,POWER_DOMAIN_GT_IRQ , +POWER_DOMAIN_DPLL4 ,POWER_DOMAIN_INIT , POWER_DOMAIN_NUM,
drivers/gpu/drm/i915/intel_dpll_mgr.c +41 -3
74 lines not on this page · raw message
drivers/gpu/drm/i915/intel_dpll_mgr.h +6 -0
@@ -28,6 +28,7 @@#include <linux/types.h> #include "intel_display.h" +#include "intel_wakeref.h" /*FIXME: Move this to a more appropriate place. */ #define abs_diff (a, b) ({ \
@@ -117,6 +118,10 @@ enum intel_dpll_id {* @DPLL_ID_ICL_DPLL1: ICL combo PHY DPLL1 */ DPLL_ID_ICL_DPLL1 =1 , +/** +* @DPLL_ID_EHL_DPLL4: EHL combo PHY DPLL4 +*/ + DPLL_ID_EHL_DPLL4 = 2,/** * @DPLL_ID_ICL_TBTPLL: ICL TBT PLL */
@@ -312,6 +317,7 @@ struct intel_shared_dpll {* @info: platform specific info */ const struct dpll_info *info; +intel_wakeref_t wakeref; };#define SKL_DPLL0 0
Signature · 6 lines
2.21.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH] drm/i915/ehl: Add support for DPLL4 (v7)
Quoted 31 lines · Vivek Kasireddy
This patch adds support for DPLL4 on EHL that include the following restrictions:
- DPLL4 cannot be used with DDIA (combo port A internal eDP usage). DPLL4 can be used with other DDIs, including DDID (combo port A external usage).
- DPLL4 cannot be enabled when DC5 or DC6 are enabled.
- The DPLL4 enable, lock, power enabled, and power state are connected
to theMGPLL1_ENABLEregister.v2: (suggestions from Bob Paauwe)
- Reworkehl_get_dpll()function to callintel_find_shared_dpll()and iterate twice: once for Combo plls and once for MG plls.- Use MG pll funcs for DPLL4 instead of creating new ones and modify
mg_pll_enableto include the restrictions for EHL.v3: Fix compilation error
v4: (suggestions from Lucas and Ville)
- Treat DPLL4 as a combo phy PLL and not as MG PLL
- Disable DC states when this DPLL is being enabled
- Reuseicl_get_dpllinstead of creating a separate one for EHLv5: (suggestion from Ville)
- Refcount the DC OFF power domains during the enabling and disabling of this DPLL.
Quoted 5 lines
v6: rebase
v7: (suggestion from Imre)
- Add a new power domain instead of iterating over the domains assoicated with DC OFF power well.
All the comments were addressed, people in CC have any other comments?
Quoted 170 lines
Cc Lucas De Marchi <[email protected]>Cc José Roberto de Souza <[email protected]>Cc Ville Syrjälä <[email protected]>Cc Matt Roper <[email protected]>Signed-off-by Vivek Kasireddy <[email protected]>--- drivers/gpu/drm/i915/intel_display_power.c | 3 ++ drivers/gpu/drm/i915/intel_display_power.h | 1 + drivers/gpu/drm/i915/intel_dpll_mgr.c | 44 ++++++++++++++++++++-- drivers/gpu/drm/i915/intel_dpll_mgr.h | 6 +++ 4 files changed, 51 insertions(+), 3 deletions(-)drivers/gpu/drm/i915/intel_display_power.c +2
-0@@ -116,6 +116,8 @@ intel_display_power_domain_str(enum intel_display_power_domain domain)return "MODESET" ;case POWER_DOMAIN_GT_IRQ :return "GT_IRQ" ; +case POWER_DOMAIN_DPLL4 : +return "DPLL4" ;default :MISSING_CASE (domain);drivers/gpu/drm/i915/intel_display_power.c +1
-0return "?" ;@@ -2357,6 +2359,7 @@ void intel_display_power_put(struct drm_i915_private *dev_priv,ICL_PW_2_POWER_DOMAINS | \BIT_ULL (POWER_DOMAIN_MODESET ) | \BIT_ULL (POWER_DOMAIN_AUX_A ) | \ +BIT_ULL (POWER_DOMAIN_DPLL4 ) | \ BIT_ULL(POWER_DOMAIN_INIT))#define
ICL_DDI_IO_A_POWER_DOMAINS( \drivers/gpu/drm/i915/intel_display_power.h +1
-0@@ -59,6 +59,7 @@ enum intel_display_power_domain {POWER_DOMAIN_GMBUS ,POWER_DOMAIN_MODESET ,POWER_DOMAIN_GT_IRQ , +POWER_DOMAIN_DPLL4 ,POWER_DOMAIN_INIT , POWER_DOMAIN_NUM,drivers/gpu/drm/i915/intel_dpll_mgr.c +6
-0@@ -2806,6 +2806,12 @@ icl_get_dpll(struct intel_crtc_state *crtc_state, if (intel_port_is_combophy(dev_priv, port)) { min =DPLL_ID_ICL_DPLL0 ; max =DPLL_ID_ICL_DPLL1 ; + +if (IS_ELKHARTLAKE (dev_priv)) { +if (encoder->type !=INTEL_OUTPUT_EDP ) + max =DPLL_ID_EHL_DPLL4 ; + } + ret =icl_calc_dpll_state (crtc_state, encoder); } else if (intel_port_is_tc(dev_priv, port)) {drivers/gpu/drm/i915/intel_dpll_mgr.c +8
-2if (encoder->type ==INTEL_OUTPUT_DP_MST ) {@@ -2945,8 +2951,14 @@ static bool combo_pll_get_hw_state(structdrm_i915_private *dev_priv, struct intel_shared_dpll *pll, struct intel_dpll_hw_state *hw_state) { - return icl_pll_get_hw_state(dev_priv, pll, hw_state, - CNL_DPLL_ENABLE(pll->info->id)); + i915_reg_t enable_reg = CNL_DPLL_ENABLE(pll->info->id); + +if (IS_ELKHARTLAKE (dev_priv) && + pll->info->id ==DPLL_ID_EHL_DPLL4 ) { + enable_reg =MG_PLL_ENABLE (0 ); + } + +return icl_pll_get_hw_state (dev_priv, pll, hw_state, enable_reg);}
static bool tbt_pll_get_hw_state(struct
drm_i915_private*dev_priv,drivers/gpu/drm/i915/intel_dpll_mgr.c +6
-0@@ -3057,6 +3069,19 @@ static void combo_pll_enable(struct drm_i915_private *dev_priv, {i915_reg_t enable_reg =CNL_DPLL_ENABLE (pll->info->id); +if (IS_ELKHARTLAKE (dev_priv) && + pll->info->id ==DPLL_ID_EHL_DPLL4 ) { + enable_reg =MG_PLL_ENABLE (0 ); + +/* +* We need to disable DC states when this DPLL is enabled.
drivers/gpu/drm/i915/intel_dpll_mgr.c +1
-0+* This can be done by taking a reference on DPLL4 power
drivers/gpu/drm/i915/intel_dpll_mgr.c +4
-0+* domain. +*/ + pll->wakeref =intel_display_power_get (dev_priv, + POWER_DOMAIN_DPLL4);
drivers/gpu/drm/i915/intel_dpll_mgr.c +15
-1+ } +icl_pll_power_enable (dev_priv, pll, enable_reg);icl_dpll_write (dev_priv, pll);@@ -3152,7 +3177,19 @@ static void icl_pll_disable(structdrm_i915_private *dev_priv, static void combo_pll_disable(struct drm_i915_private *dev_priv, struct intel_shared_dpll *pll) { - icl_pll_disable(dev_priv, pll, CNL_DPLL_ENABLE(pll->info->id)); + i915_reg_t enable_reg = CNL_DPLL_ENABLE(pll->info->id); + +if (IS_ELKHARTLAKE (dev_priv) && + pll->info->id ==DPLL_ID_EHL_DPLL4 ) { + enable_reg =MG_PLL_ENABLE (0 ); +icl_pll_disable (dev_priv, pll, enable_reg); + +intel_display_power_put (dev_priv,POWER_DOMAIN_DPLL4 , + pll->wakeref); +return ; + } + +icl_pll_disable (dev_priv, pll, enable_reg); }static void tbt_pll_disable(struct
drm_i915_private*dev_priv,drivers/gpu/drm/i915/intel_dpll_mgr.c +1
-0@@ -3230,6 +3267,7 @@ static const struct intel_dpll_mgr icl_pll_mgr = {static const struct dpll_info ehl_plls[] = { {"DPLL 0" , &combo_pll_funcs,DPLL_ID_ICL_DPLL0 ,0 }, {"DPLL 1" , &combo_pll_funcs,DPLL_ID_ICL_DPLL1 ,0 }, + {"DPLL 4" , &combo_pll_funcs,DPLL_ID_EHL_DPLL4 ,0 }, { }, };drivers/gpu/drm/i915/intel_dpll_mgr.h +5
-0@@ -28,6 +28,7 @@#include <linux/types.h> #include "intel_display.h" +#include "intel_wakeref.h" /*FIXME: Move this to a more appropriate place. */ #define abs_diff (a, b) ({ \@@ -117,6 +118,10 @@ enum intel_dpll_id {* @DPLL_ID_ICL_DPLL1: ICL combo PHY DPLL1 */ DPLL_ID_ICL_DPLL1 =1 , +/** +* @DPLL_ID_EHL_DPLL4: EHL combo PHY DPLL4 +*/ + DPLL_ID_EHL_DPLL4 = 2,/** * @DPLL_ID_ICL_TBTPLL: ICL TBT PLL */
drivers/gpu/drm/i915/intel_dpll_mgr.h struct intel_shared_dpll { · line 323
Quoted 7 lines
drivers/gpu/drm/i915/intel_dpll_mgr.h +1
-0@@ -312,6 +317,7 @@ struct intel_shared_dpll {* @info: platform specific info */ const struct dpll_info *info; +intel_wakeref_t wakeref; };#define SKL_DPLL0 0
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH] drm/i915/ehl: Add support for DPLL4 (v7)
In reply to Vivek KasireddyQuoted 74 lines · Vivek Kasireddy
This patch adds support for DPLL4 on EHL that include the following restrictions:
- DPLL4 cannot be used with DDIA (combo port A internal eDP usage). DPLL4 can be used with other DDIs, including DDID (combo port A external usage).
- DPLL4 cannot be enabled when DC5 or DC6 are enabled.
- The DPLL4 enable, lock, power enabled, and power state are connected to the
MGPLL1_ENABLEregister.v2: (suggestions from Bob Paauwe)
- Reworkehl_get_dpll()function to callintel_find_shared_dpll()and iterate twice: once for Combo plls and once for MG plls.- Use MG pll funcs for DPLL4 instead of creating new ones and modify
mg_pll_enableto include the restrictions for EHL.v3: Fix compilation error
v4: (suggestions from Lucas and Ville)
- Treat DPLL4 as a combo phy PLL and not as MG PLL
- Disable DC states when this DPLL is being enabled
- Reuseicl_get_dpllinstead of creating a separate one for EHLv5: (suggestion from Ville)
- Refcount the DC OFF power domains during the enabling and disabling of this DPLL.v6: rebase
v7: (suggestion from Imre)
- Add a new power domain instead of iterating over the domains assoicated with DC OFF power well.Cc Lucas De Marchi <[email protected]>Cc José Roberto de Souza <[email protected]>Cc Ville Syrjälä <[email protected]>Cc Matt Roper <[email protected]>Signed-off-by Vivek Kasireddy <[email protected]>--- drivers/gpu/drm/i915/intel_display_power.c | 3 ++ drivers/gpu/drm/i915/intel_display_power.h | 1 + drivers/gpu/drm/i915/intel_dpll_mgr.c | 44 ++++++++++++++++++++-- drivers/gpu/drm/i915/intel_dpll_mgr.h | 6 +++ 4 files changed, 51 insertions(+), 3 deletions(-)drivers/gpu/drm/i915/intel_display_power.c +3
-0@@ -116,6 +116,8 @@ intel_display_power_domain_str(enum intel_display_power_domain domain)return "MODESET" ;case POWER_DOMAIN_GT_IRQ :return "GT_IRQ" ; +case POWER_DOMAIN_DPLL4 : +return "DPLL4" ;default :MISSING_CASE (domain);return "?" ;@@ -2357,6 +2359,7 @@ void intel_display_power_put(struct drm_i915_private *dev_priv, ICL_PW_2_POWER_DOMAINS | \ BIT_ULL(POWER_DOMAIN_MODESET) | \ BIT_ULL(POWER_DOMAIN_AUX_A) | \ + BIT_ULL(POWER_DOMAIN_DPLL4) | \ BIT_ULL(POWER_DOMAIN_INIT))#define ICL_DDI_IO_A_POWER_DOMAINS ( \drivers/gpu/drm/i915/intel_display_power.h +0
-0
drivers/gpu/drm/i915/intel_display_power.h enum intel_display_power_domain { · line 62
Quoted 4 lines
drivers/gpu/drm/i915/intel_display_power.h +1
-0@@ -59,6 +59,7 @@ enum intel_display_power_domain {POWER_DOMAIN_GMBUS ,POWER_DOMAIN_MODESET ,POWER_DOMAIN_GT_IRQ , + POWER_DOMAIN_DPLL4,
Probably should give this a bit more abstract name. _DPLL_NO_DC ?
Or should we just make it a generic _NO_DC power domain?
Though it's a bit annoying that we leak the DC yes vs. no into power domains which are supposed to be pretty abstract.
Hmm. Or we could just abuse the MODESET domain here as that's pretty much the "make sure my PLLs aren't shut down" domain?
Quoted 8 lines
drivers/gpu/drm/i915/intel_display_power.h +0
-0POWER_DOMAIN_INIT , POWER_DOMAIN_NUM,drivers/gpu/drm/i915/intel_dpll_mgr.c +0
-0
drivers/gpu/drm/i915/intel_dpll_mgr.c icl_get_dpll(struct intel_crtc_state *crtc_state, · line 2812
Quoted 7 lines
drivers/gpu/drm/i915/intel_dpll_mgr.c +4
-0@@ -2806,6 +2806,12 @@ icl_get_dpll(struct intel_crtc_state *crtc_state,if (intel_port_is_combophy (dev_priv, port)) { min =DPLL_ID_ICL_DPLL0 ; max =DPLL_ID_ICL_DPLL1 ; + +if (IS_ELKHARTLAKE (dev_priv)) { +if (encoder->type !=INTEL_OUTPUT_EDP ) + max =DPLL_ID_EHL_DPLL4 ;
I think we want
IS_EHL && port != PORT_A
Quoted 46 lines
drivers/gpu/drm/i915/intel_dpll_mgr.c +23
-2+ } + ret =icl_calc_dpll_state (crtc_state, encoder); }else if (intel_port_is_tc (dev_priv, port)) {if (encoder->type ==INTEL_OUTPUT_DP_MST ) {@@ -2945,8 +2951,14 @@ static bool combo_pll_get_hw_state(struct drm_i915_private *dev_priv,struct intel_shared_dpll *pll, struct intel_dpll_hw_state *hw_state) { - return icl_pll_get_hw_state(dev_priv, pll, hw_state, - CNL_DPLL_ENABLE(pll->info->id)); + i915_reg_t enable_reg = CNL_DPLL_ENABLE(pll->info->id); + +if (IS_ELKHARTLAKE (dev_priv) && + pll->info->id ==DPLL_ID_EHL_DPLL4 ) { + enable_reg =MG_PLL_ENABLE (0 ); + } + +return icl_pll_get_hw_state (dev_priv, pll, hw_state, enable_reg); } static bool tbt_pll_get_hw_state(struct drm_i915_private *dev_priv,@@ -3057,6 +3069,19 @@ static void combo_pll_enable(struct drm_i915_private *dev_priv, {i915_reg_t enable_reg =CNL_DPLL_ENABLE (pll->info->id); +if (IS_ELKHARTLAKE (dev_priv) && + pll->info->id ==DPLL_ID_EHL_DPLL4 ) { + enable_reg =MG_PLL_ENABLE (0 ); + +/* +* We need to disable DC states when this DPLL is enabled. +* This can be done by taking a reference on DPLL4 power +* domain. +*/ + pll->wakeref =intel_display_power_get (dev_priv, +POWER_DOMAIN_DPLL4 ); + } +icl_pll_power_enable (dev_priv, pll, enable_reg);icl_dpll_write (dev_priv, pll);@@ -3152,7 +3177,19 @@ static void icl_pll_disable(struct drm_i915_private *dev_priv,static void combo_pll_disable (struct drm_i915_private *dev_priv,struct intel_shared_dpll *pll) {
drivers/gpu/drm/i915/intel_dpll_mgr.c static void icl_pll_disable(struct drm_i915_private *dev_priv, · line 3188
Quoted 10 lines
drivers/gpu/drm/i915/intel_dpll_mgr.c +9
-1-icl_pll_disable (dev_priv, pll,CNL_DPLL_ENABLE (pll->info->id)); +i915_reg_t enable_reg =CNL_DPLL_ENABLE (pll->info->id); + +if (IS_ELKHARTLAKE (dev_priv) && + pll->info->id ==DPLL_ID_EHL_DPLL4 ) { + enable_reg =MG_PLL_ENABLE (0 ); +icl_pll_disable (dev_priv, pll, enable_reg); + +intel_display_power_put (dev_priv,POWER_DOMAIN_DPLL4 , + pll->wakeref);
What happens if we didn't turn on the DPLL ourself? Ie. the BIOS did it?
Quoted 48 lines
drivers/gpu/drm/i915/intel_dpll_mgr.c +5
-0+return ; + } + +icl_pll_disable (dev_priv, pll, enable_reg); } static void tbt_pll_disable(struct drm_i915_private *dev_priv,@@ -3230,6 +3267,7 @@ static const struct intel_dpll_mgr icl_pll_mgr = {static const struct dpll_info ehl_plls[] = { {"DPLL 0" , &combo_pll_funcs,DPLL_ID_ICL_DPLL0 ,0 }, {"DPLL 1" , &combo_pll_funcs,DPLL_ID_ICL_DPLL1 ,0 }, + {"DPLL 4" , &combo_pll_funcs,DPLL_ID_EHL_DPLL4 ,0 }, { }, };drivers/gpu/drm/i915/intel_dpll_mgr.h +6
-0@@ -28,6 +28,7 @@#include <linux/types.h> #include "intel_display.h" +#include "intel_wakeref.h" /*FIXME: Move this to a more appropriate place. */ #define abs_diff (a, b) ({ \@@ -117,6 +118,10 @@ enum intel_dpll_id {* @DPLL_ID_ICL_DPLL1: ICL combo PHY DPLL1 */ DPLL_ID_ICL_DPLL1 =1 , +/** +* @DPLL_ID_EHL_DPLL4: EHL combo PHY DPLL4 +*/ + DPLL_ID_EHL_DPLL4 = 2,/** * @DPLL_ID_ICL_TBTPLL: ICL TBT PLL */ @@ -312,6 +317,7 @@ struct intel_shared_dpll {* @info: platform specific info */ const struct dpll_info *info; +intel_wakeref_t wakeref; };#define SKL_DPLL0 0Signature · 1 line
2.21.0
Signature · 6 lines
Ville Syrjälä Intel _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH] drm/i915/ehl: Add support for DPLL4 (v7)
Quoted 69 lines · Ville Syrjälä
Quoted 68 lines · Vivek Kasireddy
This patch adds support for DPLL4 on EHL that include the following restrictions:
- DPLL4 cannot be used with DDIA (combo port A internal eDP usage). DPLL4 can be used with other DDIs, including DDID (combo port A external usage).
- DPLL4 cannot be enabled when DC5 or DC6 are enabled.
- The DPLL4 enable, lock, power enabled, and power state are connected to the
MGPLL1_ENABLEregister.v2: (suggestions from Bob Paauwe)
- Reworkehl_get_dpll()function to callintel_find_shared_dpll()and iterate twice: once for Combo plls and once for MG plls.- Use MG pll funcs for DPLL4 instead of creating new ones and modify
mg_pll_enableto include the restrictions for EHL.v3: Fix compilation error
v4: (suggestions from Lucas and Ville)
- Treat DPLL4 as a combo phy PLL and not as MG PLL
- Disable DC states when this DPLL is being enabled
- Reuseicl_get_dpllinstead of creating a separate one for EHLv5: (suggestion from Ville)
- Refcount the DC OFF power domains during the enabling and disabling of this DPLL.v6: rebase
v7: (suggestion from Imre)
- Add a new power domain instead of iterating over the domains assoicated with DC OFF power well.Cc Lucas De Marchi <[email protected]>Cc José Roberto de Souza <[email protected]>Cc Ville Syrjälä <[email protected]>Cc Matt Roper <[email protected]>Signed-off-by Vivek Kasireddy <[email protected]>--- drivers/gpu/drm/i915/intel_display_power.c | 3 ++ drivers/gpu/drm/i915/intel_display_power.h | 1 + drivers/gpu/drm/i915/intel_dpll_mgr.c | 44 ++++++++++++++++++++-- drivers/gpu/drm/i915/intel_dpll_mgr.h | 6 +++ 4 files changed, 51 insertions(+), 3 deletions(-)drivers/gpu/drm/i915/intel_display_power.c +3
-0@@ -116,6 +116,8 @@ intel_display_power_domain_str(enum intel_display_power_domain domain)return "MODESET" ;case POWER_DOMAIN_GT_IRQ :return "GT_IRQ" ; +case POWER_DOMAIN_DPLL4 : +return "DPLL4" ;default :MISSING_CASE (domain);return "?" ;@@ -2357,6 +2359,7 @@ void intel_display_power_put(struct drm_i915_private *dev_priv,ICL_PW_2_POWER_DOMAINS | \BIT_ULL (POWER_DOMAIN_MODESET ) | \BIT_ULL (POWER_DOMAIN_AUX_A ) | \ +BIT_ULL (POWER_DOMAIN_DPLL4 ) | \ BIT_ULL(POWER_DOMAIN_INIT))
Quoted 12 lines
drivers/gpu/drm/i915/intel_display_power.h enum intel_display_power_domain { · line 62
Quoted 10 lines
drivers/gpu/drm/i915/intel_display_power.c +0
-0#define ICL_DDI_IO_A_POWER_DOMAINS ( \drivers/gpu/drm/i915/intel_display_power.h +1
-0@@ -59,6 +59,7 @@ enum intel_display_power_domain {POWER_DOMAIN_GMBUS ,POWER_DOMAIN_MODESET ,POWER_DOMAIN_GT_IRQ , + POWER_DOMAIN_DPLL4,Probably should give this a bit more abstract name.
_DPLL_NO_DC?
I think DPLL_NO_DC or DPLL_DC_OFF is ok, we could rename it to be more generic later if a new user similar to this one comes up.
Quoted 8 lines
Or should we just make it a generic
_NO_DCpower domain?Though it's a bit annoying that we leak the DC yes vs. no into power domains which are supposed to be pretty abstract.
Hmm. Or we could just abuse the MODESET domain here as that's pretty much the "make sure my PLLs aren't shut down" domain?
I think it's better to keep it for the use of modeset alone, for debugging purposes.
Quoted 73 lines
Quoted 9 lines
drivers/gpu/drm/i915/intel_display_power.h +0
-0POWER_DOMAIN_INIT , POWER_DOMAIN_NUM,drivers/gpu/drm/i915/intel_dpll_mgr.c +0
-0drivers/gpu/drm/i915/intel_dpll_mgr.c icl_get_dpll(struct intel_crtc_state *crtc_state, · line 2812
Quoted 7 lines
drivers/gpu/drm/i915/intel_dpll_mgr.c +4
-0@@ -2806,6 +2806,12 @@ icl_get_dpll(struct intel_crtc_state *crtc_state,if (intel_port_is_combophy (dev_priv, port)) { min =DPLL_ID_ICL_DPLL0 ; max =DPLL_ID_ICL_DPLL1 ; + +if (IS_ELKHARTLAKE (dev_priv)) { +if (encoder->type !=INTEL_OUTPUT_EDP ) + max =DPLL_ID_EHL_DPLL4 ;I think we want
IS_EHL&& port !=PORT_AQuoted 51 lines
drivers/gpu/drm/i915/intel_dpll_mgr.c +27
-3+ } + ret =icl_calc_dpll_state (crtc_state, encoder); }else if (intel_port_is_tc (dev_priv, port)) {if (encoder->type ==INTEL_OUTPUT_DP_MST ) {@@ -2945,8 +2951,14 @@ static bool combo_pll_get_hw_state(struct drm_i915_private *dev_priv,struct intel_shared_dpll *pll, struct intel_dpll_hw_state *hw_state) { - return icl_pll_get_hw_state(dev_priv, pll, hw_state, - CNL_DPLL_ENABLE(pll->info->id)); + i915_reg_t enable_reg = CNL_DPLL_ENABLE(pll->info->id); + +if (IS_ELKHARTLAKE (dev_priv) && + pll->info->id ==DPLL_ID_EHL_DPLL4 ) { + enable_reg =MG_PLL_ENABLE (0 ); + } + +return icl_pll_get_hw_state (dev_priv, pll, hw_state, enable_reg); } static bool tbt_pll_get_hw_state(struct drm_i915_private *dev_priv,@@ -3057,6 +3069,19 @@ static void combo_pll_enable(struct drm_i915_private *dev_priv, {i915_reg_t enable_reg =CNL_DPLL_ENABLE (pll->info->id); +if (IS_ELKHARTLAKE (dev_priv) && + pll->info->id ==DPLL_ID_EHL_DPLL4 ) { + enable_reg =MG_PLL_ENABLE (0 ); + +/* +* We need to disable DC states when this DPLL is enabled. +* This can be done by taking a reference on DPLL4 power +* domain. +*/ + pll->wakeref =intel_display_power_get (dev_priv, +POWER_DOMAIN_DPLL4 ); + } +icl_pll_power_enable (dev_priv, pll, enable_reg);icl_dpll_write (dev_priv, pll);@@ -3152,7 +3177,19 @@ static void icl_pll_disable(struct drm_i915_private *dev_priv,static void combo_pll_disable (struct drm_i915_private *dev_priv,struct intel_shared_dpll *pll) { -icl_pll_disable (dev_priv, pll,CNL_DPLL_ENABLE (pll->info->id)); +i915_reg_t enable_reg =CNL_DPLL_ENABLE (pll->info->id); + +if (IS_ELKHARTLAKE (dev_priv) && + pll->info->id ==DPLL_ID_EHL_DPLL4 ) {
Quoted 8 lines
drivers/gpu/drm/i915/intel_dpll_mgr.c static void icl_pll_disable(struct drm_i915_private *dev_priv, · line 3188
Quoted 5 lines
drivers/gpu/drm/i915/intel_dpll_mgr.c +5
-0+ enable_reg =MG_PLL_ENABLE (0 ); +icl_pll_disable (dev_priv, pll, enable_reg); + +intel_display_power_put (dev_priv,POWER_DOMAIN_DPLL4 , + pll->wakeref);What happens if we didn't turn on the DPLL ourself? Ie. the BIOS did it?
Hm, yea, we'd need to get a reference for those cases from intel_modeset_setup_hw_state().
Quoted 46 lines
Quoted 46 lines
drivers/gpu/drm/i915/intel_dpll_mgr.c +5
-0+return ; + } + +icl_pll_disable (dev_priv, pll, enable_reg); } static void tbt_pll_disable(struct drm_i915_private *dev_priv,@@ -3230,6 +3267,7 @@ static const struct intel_dpll_mgr icl_pll_mgr = {static const struct dpll_info ehl_plls[] = { {"DPLL 0" , &combo_pll_funcs,DPLL_ID_ICL_DPLL0 ,0 }, {"DPLL 1" , &combo_pll_funcs,DPLL_ID_ICL_DPLL1 ,0 }, + {"DPLL 4" , &combo_pll_funcs,DPLL_ID_EHL_DPLL4 ,0 }, { }, };drivers/gpu/drm/i915/intel_dpll_mgr.h +6
-0@@ -28,6 +28,7 @@#include <linux/types.h> #include "intel_display.h" +#include "intel_wakeref.h" /*FIXME: Move this to a more appropriate place. */ #define abs_diff (a, b) ({ \@@ -117,6 +118,10 @@ enum intel_dpll_id {* @DPLL_ID_ICL_DPLL1: ICL combo PHY DPLL1 */ DPLL_ID_ICL_DPLL1 =1 , +/** +* @DPLL_ID_EHL_DPLL4: EHL combo PHY DPLL4 +*/ + DPLL_ID_EHL_DPLL4 = 2,/** * @DPLL_ID_ICL_TBTPLL: ICL TBT PLL */ @@ -312,6 +317,7 @@ struct intel_shared_dpll {* @info: platform specific info */ const struct dpll_info *info; +intel_wakeref_t wakeref; };
Quoted 11 lines
Quoted 3 lines
drivers/gpu/drm/i915/intel_dpll_mgr.h +0
-0#define SKL_DPLL0 0Signature · 1 line
2.21.0Signature · 6 lines
Ville Syrjälä Intel _______________________________________________ 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
PATCH 1/1 drm/i915/ehl: Add support for DPLL4 (v8)
This patch adds support for DPLL4 on EHL that include the following restrictions:
- DPLL4 cannot be used with DDIA (combo port A internal eDP usage). DPLL4 can be used with other DDIs, including DDID (combo port A external usage).
- DPLL4 cannot be enabled when DC5 or DC6 are enabled.
- The DPLL4 enable, lock, power enabled, and power state are connected to the MGPLL1_ENABLE register.
v2: (suggestions from Bob Paauwe)
- Rework ehl_get_dpll() function to call intel_find_shared_dpll() and iterate twice: once for Combo plls and once for MG plls.
- Use MG pll funcs for DPLL4 instead of creating new ones and modify mg_pll_enable to include the restrictions for EHL.
v3: Fix compilation error
v4: (suggestions from Lucas and Ville)
- Treat DPLL4 as a combo phy PLL and not as MG PLL
- Disable DC states when this DPLL is being enabled
- Reuse icl_get_dpll instead of creating a separate one for EHL
v5: (suggestion from Ville)
- Refcount the DC OFF power domains during the enabling and disabling of this DPLL.
v6: rebase
v7: (suggestion from Imre)
- Add a new power domain instead of iterating over the domains assoicated with DC OFF power well.
v8: (Ville and Imre)
- Rename POWER_DOMAIN_DPLL4 TO POWER_DOMAIN_DPLL_DC_OFF
- Grab a reference in intel_modeset_setup_hw_state() if this DPLL was already enabled perhaps by BIOS.
- Check for the port type instead of the encoder
--- drivers/gpu/drm/i915/display/intel_display.c | 6 +++ .../drm/i915/display/intel_display_power.c | 3 ++ .../drm/i915/display/intel_display_power.h | 1 + drivers/gpu/drm/i915/display/intel_dpll_mgr.c | 42 +++++++++++++++++-- drivers/gpu/drm/i915/display/intel_dpll_mgr.h | 6 +++ 5 files changed, 55 insertions(+), 3 deletions(-)
drivers/gpu/drm/i915/display/intel_display.c +6 -0
@@ -16778,6 +16778,12 @@ intel_modeset_setup_hw_state(struct drm_device *dev,for (i =0 ; i < dev_priv->num_shared_dpll; i++) {struct intel_shared_dpll *pll = &dev_priv->shared_dplls[i]; +if (IS_ELKHARTLAKE (dev_priv) && pll->on && + pll->info->id ==DPLL_ID_EHL_DPLL4 ) { + pll->wakeref =intel_display_power_get (dev_priv, +POWER_DOMAIN_DPLL_DC_OFF ); + } +if (!pll->on || pll->active_mask)continue ;
drivers/gpu/drm/i915/display/intel_display_power.c +3 -0
@@ -117,6 +117,8 @@ intel_display_power_domain_str(enum intel_display_power_domain domain)return "MODESET" ;case POWER_DOMAIN_GT_IRQ :return "GT_IRQ" ; +case POWER_DOMAIN_DPLL_DC_OFF : +return "DPLL_DC_OFF" ;default :MISSING_CASE (domain);return "?" ;
@@ -2361,6 +2363,7 @@ void intel_display_power_put(struct drm_i915_private *dev_priv, ICL_PW_2_POWER_DOMAINS | \ BIT_ULL(POWER_DOMAIN_MODESET) | \ BIT_ULL(POWER_DOMAIN_AUX_A) | \ + BIT_ULL(POWER_DOMAIN_DPLL_DC_OFF) | \ BIT_ULL(POWER_DOMAIN_INIT))#define ICL_DDI_IO_A_POWER_DOMAINS ( \
drivers/gpu/drm/i915/display/intel_display_power.h +1 -0
@@ -59,6 +59,7 @@ enum intel_display_power_domain {POWER_DOMAIN_GMBUS ,POWER_DOMAIN_MODESET ,POWER_DOMAIN_GT_IRQ , +POWER_DOMAIN_DPLL_DC_OFF ,POWER_DOMAIN_INIT , POWER_DOMAIN_NUM,
drivers/gpu/drm/i915/display/intel_dpll_mgr.c +39 -3
72 lines not on this page · raw message
drivers/gpu/drm/i915/display/intel_dpll_mgr.h +6 -0
@@ -28,6 +28,7 @@#include <linux/types.h> #include "intel_display.h" +#include "intel_wakeref.h" /*FIXME: Move this to a more appropriate place. */ #define abs_diff (a, b) ({ \
@@ -117,6 +118,10 @@ enum intel_dpll_id {* @DPLL_ID_ICL_DPLL1: ICL combo PHY DPLL1 */ DPLL_ID_ICL_DPLL1 =1 , +/** +* @DPLL_ID_EHL_DPLL4: EHL combo PHY DPLL4 +*/ + DPLL_ID_EHL_DPLL4 = 2,/** * @DPLL_ID_ICL_TBTPLL: ICL TBT PLL */
@@ -312,6 +317,7 @@ struct intel_shared_dpll {* @info: platform specific info */ const struct dpll_info *info; +intel_wakeref_t wakeref; };#define SKL_DPLL0 0
Signature · 6 lines
2.21.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH] drm/i915/ehl: Add support for DPLL4 (v8)
Quoted 37 lines · Vivek Kasireddy
This patch adds support for DPLL4 on EHL that include the following restrictions:
- DPLL4 cannot be used with DDIA (combo port A internal eDP usage). DPLL4 can be used with other DDIs, including DDID (combo port A external usage).
- DPLL4 cannot be enabled when DC5 or DC6 are enabled.
- The DPLL4 enable, lock, power enabled, and power state are connected
to theMGPLL1_ENABLEregister.v2: (suggestions from Bob Paauwe)
- Reworkehl_get_dpll()function to callintel_find_shared_dpll()and iterate twice: once for Combo plls and once for MG plls.- Use MG pll funcs for DPLL4 instead of creating new ones and modify
mg_pll_enableto include the restrictions for EHL.v3: Fix compilation error
v4: (suggestions from Lucas and Ville)
- Treat DPLL4 as a combo phy PLL and not as MG PLL
- Disable DC states when this DPLL is being enabled
- Reuseicl_get_dpllinstead of creating a separate one for EHLv5: (suggestion from Ville)
- Refcount the DC OFF power domains during the enabling and disabling of this DPLL.v6: rebase
v7: (suggestion from Imre)
- Add a new power domain instead of iterating over the domains assoicated with DC OFF power well.
Quoted 6 lines
v8: (Ville and Imre)
- RenamePOWER_DOMAIN_DPLL4TOPOWER_DOMAIN_DPLL_DC_OFF
- Grab a reference inintel_modeset_setup_hw_state()if this DPLL was already enabled perhaps by BIOS.
- Check for the port type instead of the encoder
Quoted 191 lines
Cc José Roberto de Souza <[email protected]>Cc Ville Syrjälä <[email protected]>Cc Matt Roper <[email protected]>Cc Imre Deak <[email protected]>Signed-off-by Vivek Kasireddy <[email protected]>--- drivers/gpu/drm/i915/display/intel_display.c | 6 +++ .../drm/i915/display/intel_display_power.c | 3 ++ .../drm/i915/display/intel_display_power.h | 1 + drivers/gpu/drm/i915/display/intel_dpll_mgr.c | 42 +++++++++++++++++-- drivers/gpu/drm/i915/display/intel_dpll_mgr.h | 6 +++ 5 files changed, 55 insertions(+), 3 deletions(-)drivers/gpu/drm/i915/display/intel_display.c +4
-0@@ -16778,6 +16778,12 @@ intel_modeset_setup_hw_state(struct drm_device *dev, for (i = 0; i < dev_priv->num_shared_dpll; i++) {struct intel_shared_dpll *pll = &dev_priv- >shared_dplls[i]; +if (IS_ELKHARTLAKE (dev_priv) && pll->on && + pll->info->id ==DPLL_ID_EHL_DPLL4 ) { + pll->wakeref =intel_display_power_get (dev_priv, + POWER_DO
MAIN_DPLL_DC_OFF);drivers/gpu/drm/i915/display/intel_display.c +2
-0+ } +if (!pll->on || pll->active_mask)continue ;drivers/gpu/drm/i915/display/intel_display_power.c +2
-0@@ -117,6 +117,8 @@ intel_display_power_domain_str(enum intel_display_power_domain domain)return "MODESET" ;case POWER_DOMAIN_GT_IRQ :return "GT_IRQ" ; +case POWER_DOMAIN_DPLL_DC_OFF : +return "DPLL_DC_OFF" ;default :MISSING_CASE (domain);drivers/gpu/drm/i915/display/intel_display_power.c +1
-0return "?" ;@@ -2361,6 +2363,7 @@ void intel_display_power_put(struct drm_i915_private *dev_priv,ICL_PW_2_POWER_DOMAINS | \BIT_ULL (POWER_DOMAIN_MODESET ) | \BIT_ULL (POWER_DOMAIN_AUX_A ) | \ +BIT_ULL (POWER_DOMAIN_DPLL_DC_OFF ) | \ BIT_ULL(POWER_DOMAIN_INIT))#define
ICL_DDI_IO_A_POWER_DOMAINS( \drivers/gpu/drm/i915/display/intel_display_power.h +1
-0@@ -59,6 +59,7 @@ enum intel_display_power_domain {POWER_DOMAIN_GMBUS ,POWER_DOMAIN_MODESET ,POWER_DOMAIN_GT_IRQ , +POWER_DOMAIN_DPLL_DC_OFF ,POWER_DOMAIN_INIT , POWER_DOMAIN_NUM,drivers/gpu/drm/i915/display/intel_dpll_mgr.c +4
-0@@ -2806,6 +2806,10 @@ icl_get_dpll(struct intel_crtc_state *crtc_state, if (intel_port_is_combophy(dev_priv, port)) { min =DPLL_ID_ICL_DPLL0 ; max =DPLL_ID_ICL_DPLL1 ; + +if (IS_ELKHARTLAKE (dev_priv) && port !=PORT_A ) + max =DPLL_ID_EHL_DPLL4 ; + ret =icl_calc_dpll_state (crtc_state, encoder); } else if (intel_port_is_tc(dev_priv, port)) {drivers/gpu/drm/i915/display/intel_dpll_mgr.c +8
-2if (encoder->type ==INTEL_OUTPUT_DP_MST ) {@@ -2945,8 +2949,14 @@ static bool combo_pll_get_hw_state(structdrm_i915_private *dev_priv, struct intel_shared_dpll *pll, struct intel_dpll_hw_state *hw_state) { - return icl_pll_get_hw_state(dev_priv, pll, hw_state, - CNL_DPLL_ENABLE(pll->info->id)); + i915_reg_t enable_reg = CNL_DPLL_ENABLE(pll->info->id); + +if (IS_ELKHARTLAKE (dev_priv) && + pll->info->id ==DPLL_ID_EHL_DPLL4 ) { + enable_reg =MG_PLL_ENABLE (0 ); + } + +return icl_pll_get_hw_state (dev_priv, pll, hw_state, enable_reg);}
static bool tbt_pll_get_hw_state(struct
drm_i915_private*dev_priv,drivers/gpu/drm/i915/display/intel_dpll_mgr.c +6
-0@@ -3057,6 +3067,19 @@ static void combo_pll_enable(struct drm_i915_private *dev_priv, {i915_reg_t enable_reg =CNL_DPLL_ENABLE (pll->info->id); +if (IS_ELKHARTLAKE (dev_priv) && + pll->info->id ==DPLL_ID_EHL_DPLL4 ) { + enable_reg =MG_PLL_ENABLE (0 ); + +/* +* We need to disable DC states when this DPLL is enabled.
drivers/gpu/drm/i915/display/intel_dpll_mgr.c +1
-0+* This can be done by taking a reference on DPLL4 power
drivers/gpu/drm/i915/display/intel_dpll_mgr.c +4
-0+* domain. +*/ + pll->wakeref =intel_display_power_get (dev_priv, + POWER_DOMAIN_DPL
L_DC_OFF);drivers/gpu/drm/i915/display/intel_dpll_mgr.c +15
-1+ } +icl_pll_power_enable (dev_priv, pll, enable_reg);icl_dpll_write (dev_priv, pll);@@ -3152,7 +3175,19 @@ static void icl_pll_disable(structdrm_i915_private *dev_priv, static void combo_pll_disable(struct drm_i915_private *dev_priv, struct intel_shared_dpll *pll) { - icl_pll_disable(dev_priv, pll, CNL_DPLL_ENABLE(pll->info->id)); + i915_reg_t enable_reg = CNL_DPLL_ENABLE(pll->info->id); + +if (IS_ELKHARTLAKE (dev_priv) && + pll->info->id ==DPLL_ID_EHL_DPLL4 ) { + enable_reg =MG_PLL_ENABLE (0 ); +icl_pll_disable (dev_priv, pll, enable_reg); + +intel_display_power_put (dev_priv,POWER_DOMAIN_DPLL_DC_OFF , + pll->wakeref); +return ; + } + +icl_pll_disable (dev_priv, pll, enable_reg); }static void tbt_pll_disable(struct
drm_i915_private*dev_priv,drivers/gpu/drm/i915/display/intel_dpll_mgr.c +1
-0@@ -3230,6 +3265,7 @@ static const struct intel_dpll_mgr icl_pll_mgr = {static const struct dpll_info ehl_plls[] = { {"DPLL 0" , &combo_pll_funcs,DPLL_ID_ICL_DPLL0 ,0 }, {"DPLL 1" , &combo_pll_funcs,DPLL_ID_ICL_DPLL1 ,0 }, + {"DPLL 4" , &combo_pll_funcs,DPLL_ID_EHL_DPLL4 ,0 }, { }, };drivers/gpu/drm/i915/display/intel_dpll_mgr.h +5
-0@@ -28,6 +28,7 @@#include <linux/types.h> #include "intel_display.h" +#include "intel_wakeref.h" /*FIXME: Move this to a more appropriate place. */ #define abs_diff (a, b) ({ \@@ -117,6 +118,10 @@ enum intel_dpll_id {* @DPLL_ID_ICL_DPLL1: ICL combo PHY DPLL1 */ DPLL_ID_ICL_DPLL1 =1 , +/** +* @DPLL_ID_EHL_DPLL4: EHL combo PHY DPLL4 +*/ + DPLL_ID_EHL_DPLL4 = 2,/** * @DPLL_ID_ICL_TBTPLL: ICL TBT PLL */
drivers/gpu/drm/i915/display/intel_dpll_mgr.h struct intel_shared_dpll { · line 323
Quoted 7 lines
drivers/gpu/drm/i915/display/intel_dpll_mgr.h +1
-0@@ -312,6 +317,7 @@ struct intel_shared_dpll {* @info: platform specific info */ const struct dpll_info *info; +intel_wakeref_t wakeref; };#define SKL_DPLL0 0
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH] drm/i915/ehl: Add support for DPLL4 (v8)
In reply to Vivek KasireddyQuoted 60 lines · Vivek Kasireddy
This patch adds support for DPLL4 on EHL that include the following restrictions:
- DPLL4 cannot be used with DDIA (combo port A internal eDP usage). DPLL4 can be used with other DDIs, including DDID (combo port A external usage).
- DPLL4 cannot be enabled when DC5 or DC6 are enabled.
- The DPLL4 enable, lock, power enabled, and power state are connected to the
MGPLL1_ENABLEregister.v2: (suggestions from Bob Paauwe)
- Reworkehl_get_dpll()function to callintel_find_shared_dpll()and iterate twice: once for Combo plls and once for MG plls.- Use MG pll funcs for DPLL4 instead of creating new ones and modify
mg_pll_enableto include the restrictions for EHL.v3: Fix compilation error
v4: (suggestions from Lucas and Ville)
- Treat DPLL4 as a combo phy PLL and not as MG PLL
- Disable DC states when this DPLL is being enabled
- Reuseicl_get_dpllinstead of creating a separate one for EHLv5: (suggestion from Ville)
- Refcount the DC OFF power domains during the enabling and disabling of this DPLL.v6: rebase
v7: (suggestion from Imre)
- Add a new power domain instead of iterating over the domains assoicated with DC OFF power well.v8: (Ville and Imre)
- RenamePOWER_DOMAIN_DPLL4TOPOWER_DOMAIN_DPLL_DC_OFF
- Grab a reference inintel_modeset_setup_hw_state()if this DPLL was already enabled perhaps by BIOS.
- Check for the port type instead of the encoderCc José Roberto de Souza <[email protected]>Cc Ville Syrjälä <[email protected]>Cc Matt Roper <[email protected]>Cc Imre Deak <[email protected]>Signed-off-by Vivek Kasireddy <[email protected]>--- drivers/gpu/drm/i915/display/intel_display.c | 6 +++ .../drm/i915/display/intel_display_power.c | 3 ++ .../drm/i915/display/intel_display_power.h | 1 + drivers/gpu/drm/i915/display/intel_dpll_mgr.c | 42 +++++++++++++++++-- drivers/gpu/drm/i915/display/intel_dpll_mgr.h | 6 +++ 5 files changed, 55 insertions(+), 3 deletions(-)drivers/gpu/drm/i915/display/intel_display.c +0
-0
drivers/gpu/drm/i915/display/intel_display.c intel_modeset_setup_hw_state(struct drm_device *dev, · line 16785
Quoted 8 lines
drivers/gpu/drm/i915/display/intel_display.c +5
-0@@ -16778,6 +16778,12 @@ intel_modeset_setup_hw_state(struct drm_device *dev,for (i =0 ; i < dev_priv->num_shared_dpll; i++) {struct intel_shared_dpll *pll = &dev_priv->shared_dplls[i]; +if (IS_ELKHARTLAKE (dev_priv) && pll->on && + pll->info->id ==DPLL_ID_EHL_DPLL4 ) { + pll->wakeref =intel_display_power_get (dev_priv, +POWER_DOMAIN_DPLL_DC_OFF ); + }
I think this a bit too late. We should do it before intel_sanitize_crtc() as that may already call intel_disable_shared_dpll().
Quoted 151 lines
drivers/gpu/drm/i915/display/intel_display.c +1
-0+if (!pll->on || pll->active_mask)continue ;drivers/gpu/drm/i915/display/intel_display_power.c +3
-0@@ -117,6 +117,8 @@ intel_display_power_domain_str(enum intel_display_power_domain domain)return "MODESET" ;case POWER_DOMAIN_GT_IRQ :return "GT_IRQ" ; +case POWER_DOMAIN_DPLL_DC_OFF : +return "DPLL_DC_OFF" ;default :MISSING_CASE (domain);return "?" ;@@ -2361,6 +2363,7 @@ void intel_display_power_put(struct drm_i915_private *dev_priv, ICL_PW_2_POWER_DOMAINS | \ BIT_ULL(POWER_DOMAIN_MODESET) | \ BIT_ULL(POWER_DOMAIN_AUX_A) | \ + BIT_ULL(POWER_DOMAIN_DPLL_DC_OFF) | \ BIT_ULL(POWER_DOMAIN_INIT))#define ICL_DDI_IO_A_POWER_DOMAINS ( \drivers/gpu/drm/i915/display/intel_display_power.h +1
-0@@ -59,6 +59,7 @@ enum intel_display_power_domain {POWER_DOMAIN_GMBUS ,POWER_DOMAIN_MODESET ,POWER_DOMAIN_GT_IRQ , +POWER_DOMAIN_DPLL_DC_OFF ,POWER_DOMAIN_INIT , POWER_DOMAIN_NUM,drivers/gpu/drm/i915/display/intel_dpll_mgr.c +39
-3@@ -2806,6 +2806,10 @@ icl_get_dpll(struct intel_crtc_state *crtc_state,if (intel_port_is_combophy (dev_priv, port)) { min =DPLL_ID_ICL_DPLL0 ; max =DPLL_ID_ICL_DPLL1 ; + +if (IS_ELKHARTLAKE (dev_priv) && port !=PORT_A ) + max =DPLL_ID_EHL_DPLL4 ; + ret =icl_calc_dpll_state (crtc_state, encoder); }else if (intel_port_is_tc (dev_priv, port)) {if (encoder->type ==INTEL_OUTPUT_DP_MST ) {@@ -2945,8 +2949,14 @@ static bool combo_pll_get_hw_state(struct drm_i915_private *dev_priv,struct intel_shared_dpll *pll, struct intel_dpll_hw_state *hw_state) { - return icl_pll_get_hw_state(dev_priv, pll, hw_state, - CNL_DPLL_ENABLE(pll->info->id)); + i915_reg_t enable_reg = CNL_DPLL_ENABLE(pll->info->id); + +if (IS_ELKHARTLAKE (dev_priv) && + pll->info->id ==DPLL_ID_EHL_DPLL4 ) { + enable_reg =MG_PLL_ENABLE (0 ); + } + +return icl_pll_get_hw_state (dev_priv, pll, hw_state, enable_reg); } static bool tbt_pll_get_hw_state(struct drm_i915_private *dev_priv,@@ -3057,6 +3067,19 @@ static void combo_pll_enable(struct drm_i915_private *dev_priv, {i915_reg_t enable_reg =CNL_DPLL_ENABLE (pll->info->id); +if (IS_ELKHARTLAKE (dev_priv) && + pll->info->id ==DPLL_ID_EHL_DPLL4 ) { + enable_reg =MG_PLL_ENABLE (0 ); + +/* +* We need to disable DC states when this DPLL is enabled. +* This can be done by taking a reference on DPLL4 power +* domain. +*/ + pll->wakeref =intel_display_power_get (dev_priv, +POWER_DOMAIN_DPLL_DC_OFF ); + } +icl_pll_power_enable (dev_priv, pll, enable_reg);icl_dpll_write (dev_priv, pll);@@ -3152,7 +3175,19 @@ static void icl_pll_disable(struct drm_i915_private *dev_priv,static void combo_pll_disable (struct drm_i915_private *dev_priv,struct intel_shared_dpll *pll) { -icl_pll_disable (dev_priv, pll,CNL_DPLL_ENABLE (pll->info->id)); +i915_reg_t enable_reg =CNL_DPLL_ENABLE (pll->info->id); + +if (IS_ELKHARTLAKE (dev_priv) && + pll->info->id ==DPLL_ID_EHL_DPLL4 ) { + enable_reg =MG_PLL_ENABLE (0 ); +icl_pll_disable (dev_priv, pll, enable_reg); + +intel_display_power_put (dev_priv,POWER_DOMAIN_DPLL_DC_OFF , + pll->wakeref); +return ; + } + +icl_pll_disable (dev_priv, pll, enable_reg); } static void tbt_pll_disable(struct drm_i915_private *dev_priv,@@ -3230,6 +3265,7 @@ static const struct intel_dpll_mgr icl_pll_mgr = {static const struct dpll_info ehl_plls[] = { {"DPLL 0" , &combo_pll_funcs,DPLL_ID_ICL_DPLL0 ,0 }, {"DPLL 1" , &combo_pll_funcs,DPLL_ID_ICL_DPLL1 ,0 }, + {"DPLL 4" , &combo_pll_funcs,DPLL_ID_EHL_DPLL4 ,0 }, { }, };drivers/gpu/drm/i915/display/intel_dpll_mgr.h +6
-0@@ -28,6 +28,7 @@#include <linux/types.h> #include "intel_display.h" +#include "intel_wakeref.h" /*FIXME: Move this to a more appropriate place. */ #define abs_diff (a, b) ({ \@@ -117,6 +118,10 @@ enum intel_dpll_id {* @DPLL_ID_ICL_DPLL1: ICL combo PHY DPLL1 */ DPLL_ID_ICL_DPLL1 =1 , +/** +* @DPLL_ID_EHL_DPLL4: EHL combo PHY DPLL4 +*/ + DPLL_ID_EHL_DPLL4 = 2,/** * @DPLL_ID_ICL_TBTPLL: ICL TBT PLL */ @@ -312,6 +317,7 @@ struct intel_shared_dpll {* @info: platform specific info */ const struct dpll_info *info; +intel_wakeref_t wakeref; };#define SKL_DPLL0 0Signature · 1 line
2.21.0
Signature · 6 lines
Ville Syrjälä Intel _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 1/1 drm/i915/ehl: Add support for DPLL4 (v9)
This patch adds support for DPLL4 on EHL that include the following restrictions:
- DPLL4 cannot be used with DDIA (combo port A internal eDP usage). DPLL4 can be used with other DDIs, including DDID (combo port A external usage).
- DPLL4 cannot be enabled when DC5 or DC6 are enabled.
- The DPLL4 enable, lock, power enabled, and power state are connected to the MGPLL1_ENABLE register.
v2: (suggestions from Bob Paauwe)
- Rework ehl_get_dpll() function to call intel_find_shared_dpll() and iterate twice: once for Combo plls and once for MG plls.
- Use MG pll funcs for DPLL4 instead of creating new ones and modify mg_pll_enable to include the restrictions for EHL.
v3: Fix compilation error
v4: (suggestions from Lucas and Ville)
- Treat DPLL4 as a combo phy PLL and not as MG PLL
- Disable DC states when this DPLL is being enabled
- Reuse icl_get_dpll instead of creating a separate one for EHL
v5: (suggestion from Ville)
- Refcount the DC OFF power domains during the enabling and disabling of this DPLL.
v6: rebase
v7: (suggestion from Imre)
- Add a new power domain instead of iterating over the domains assoicated with DC OFF power well.
v8: (Ville and Imre)
- Rename POWER_DOMAIN_DPLL4 TO POWER_DOMAIN_DPLL_DC_OFF
- Grab a reference in intel_modeset_setup_hw_state() if this DPLL was already enabled perhaps by BIOS.
- Check for the port type instead of the encoder
v9: (Ville)
- Move the block of code that grabs a reference to the power domain POWER_DOMAIN_DPLL_DC_OFF to intel_modeset_readout_hw_state() to ensure that there is a reference present before this DPLL might get disabled.
--- drivers/gpu/drm/i915/display/intel_display.c | 7 ++++ .../drm/i915/display/intel_display_power.c | 3 ++ .../drm/i915/display/intel_display_power.h | 1 + drivers/gpu/drm/i915/display/intel_dpll_mgr.c | 42 +++++++++++++++++-- drivers/gpu/drm/i915/display/intel_dpll_mgr.h | 6 +++ 5 files changed, 56 insertions(+), 3 deletions(-)
drivers/gpu/drm/i915/display/intel_display.c +7 -0
@@ -16569,6 +16569,13 @@ static void intel_modeset_readout_hw_state(struct drm_device *dev) pll->on = pll->info->funcs->get_hw_state (dev_priv, pll, &pll->state.hw_state); + +if (IS_ELKHARTLAKE (dev_priv) && pll->on && + pll->info->id ==DPLL_ID_EHL_DPLL4 ) { + pll->wakeref =intel_display_power_get (dev_priv, +POWER_DOMAIN_DPLL_DC_OFF ); + } + pll->state.crtc_mask =0 ;for_each_intel_crtc (dev, crtc) { struct intel_crtc_state *crtc_state =
drivers/gpu/drm/i915/display/intel_display_power.c +3 -0
@@ -117,6 +117,8 @@ intel_display_power_domain_str(enum intel_display_power_domain domain)return "MODESET" ;case POWER_DOMAIN_GT_IRQ :return "GT_IRQ" ; +case POWER_DOMAIN_DPLL_DC_OFF : +return "DPLL_DC_OFF" ;default :MISSING_CASE (domain);return "?" ;
@@ -2361,6 +2363,7 @@ void intel_display_power_put(struct drm_i915_private *dev_priv, ICL_PW_2_POWER_DOMAINS | \ BIT_ULL(POWER_DOMAIN_MODESET) | \ BIT_ULL(POWER_DOMAIN_AUX_A) | \ + BIT_ULL(POWER_DOMAIN_DPLL_DC_OFF) | \ BIT_ULL(POWER_DOMAIN_INIT))#define ICL_DDI_IO_A_POWER_DOMAINS ( \
drivers/gpu/drm/i915/display/intel_display_power.h +1 -0
@@ -59,6 +59,7 @@ enum intel_display_power_domain {POWER_DOMAIN_GMBUS ,POWER_DOMAIN_MODESET ,POWER_DOMAIN_GT_IRQ , +POWER_DOMAIN_DPLL_DC_OFF ,POWER_DOMAIN_INIT , POWER_DOMAIN_NUM,
drivers/gpu/drm/i915/display/intel_dpll_mgr.c +39 -3
72 lines not on this page · raw message
drivers/gpu/drm/i915/display/intel_dpll_mgr.h +6 -0
@@ -28,6 +28,7 @@#include <linux/types.h> #include "intel_display.h" +#include "intel_wakeref.h" /*FIXME: Move this to a more appropriate place. */ #define abs_diff (a, b) ({ \
@@ -117,6 +118,10 @@ enum intel_dpll_id {* @DPLL_ID_ICL_DPLL1: ICL combo PHY DPLL1 */ DPLL_ID_ICL_DPLL1 =1 , +/** +* @DPLL_ID_EHL_DPLL4: EHL combo PHY DPLL4 +*/ + DPLL_ID_EHL_DPLL4 = 2,/** * @DPLL_ID_ICL_TBTPLL: ICL TBT PLL */
@@ -312,6 +317,7 @@ struct intel_shared_dpll {* @info: platform specific info */ const struct dpll_info *info; +intel_wakeref_t wakeref; };#define SKL_DPLL0 0
Signature · 6 lines
2.21.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.BAT: success for drm/i915/ehl: Add support for DPLL4 (v5) (rev2)
In reply to Vivek Kasireddy== Series Details ==
== Series Details ==
Series: drm/i915/ehl: Add support for DPLL4 (v5) (rev2)
URL : https://patchwork.freedesktop.org/series/61684/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_6222 -> Patchwork_13210
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13210/
Known issues
------------
Here are the changes found in Patchwork_13210 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_6222/fi-blb-e6850/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13210/fi-blb-e6850/igt@[email protected]
* igt@gem_mmap_gtt@basic-small-bo-tiledy:
- fi-bxt-dsi: [PASS][3] -> [INCOMPLETE][4] ([fdo#103927])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6222/fi-bxt-dsi/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13210/fi-bxt-dsi/igt@[email protected]
* igt@i915_pm_rpm@module-reload:
- fi-skl-6770hq: [PASS][5] -> [FAIL][6] ([fdo#108511])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6222/fi-skl-6770hq/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13210/fi-skl-6770hq/igt@[email protected]
#### Possible fixes ####
* igt@gem_ctx_switch@basic-default:
- {fi-icl-guc}: [INCOMPLETE][7] ([fdo#107713] / [fdo#108569]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6222/fi-icl-guc/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13210/fi-icl-guc/igt@[email protected]
* igt@kms_chamelium@dp-crc-fast:
- fi-cml-u2: [FAIL][9] ([fdo#110627]) -> [PASS][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6222/fi-cml-u2/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13210/fi-cml-u2/igt@[email protected]
* igt@vgem_basic@second-client:
- fi-icl-dsi: [INCOMPLETE][11] ([fdo#107713]) -> [PASS][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6222/fi-icl-dsi/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13210/fi-icl-dsi/igt@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#103927]: https://bugs.freedesktop.org/show_bug.cgi?id=103927
[fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
[fdo#107718]: https://bugs.freedesktop.org/show_bug.cgi?id=107718
[fdo#108511]: https://bugs.freedesktop.org/show_bug.cgi?id=108511
[fdo#108569]: https://bugs.freedesktop.org/show_bug.cgi?id=108569
[fdo#110627]: https://bugs.freedesktop.org/show_bug.cgi?id=110627
Participating hosts (42 -> 38)
------------------------------
Additional (1): fi-icl-u3
Missing (5): fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-byt-clapper
Build changes
-------------
* Linux: CI_DRM_6222 -> Patchwork_13210
CI_DRM_6222: 7c3a9c32f0cdf3623588fec1380ef274af39d700 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5048: 1a34b94f1ce07ac5978fe7893a17e8732d467868 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_13210: f7b36e76e9541d48f4f63cb72bbf763e924357a1 @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
f7b36e76e954 drm/i915/ehl: Add support for DPLL4 (v7)
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13210/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.IGT: success for drm/i915/ehl: Add support for DPLL4 (v5) (rev2)
In reply to Vivek Kasireddy== Series Details ==
== Series Details ==
Series: drm/i915/ehl: Add support for DPLL4 (v5) (rev2)
URL : https://patchwork.freedesktop.org/series/61684/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_6222_full -> Patchwork_13210_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_13210_full:
### IGT changes ###
#### Suppressed ####
The following results come from untrusted machines, tests, or statuses. They do not affect the overall result.
* {igt@gem_ctx_engines@independent}:
- shard-snb: [PASS][1] -> [DMESG-WARN][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6222/shard-snb2/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13210/shard-snb6/igt@[email protected]
Known issues
------------
Here are the changes found in Patchwork_13210_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_ctx_engines@execute-one:
- shard-glk: [PASS][3] -> [DMESG-WARN][4] ([fdo#110869])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6222/shard-glk7/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13210/shard-glk7/igt@[email protected]
* igt@gem_eio@in-flight-suspend:
- shard-kbl: [PASS][5] -> [DMESG-WARN][6] ([fdo#108566]) +4 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6222/shard-kbl7/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13210/shard-kbl6/igt@[email protected]
* igt@i915_suspend@sysfs-reader:
- shard-apl: [PASS][7] -> [DMESG-WARN][8] ([fdo#108566]) +4 similar issues
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6222/shard-apl7/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13210/shard-apl8/igt@[email protected]
* igt@kms_cursor_crc@pipe-c-cursor-suspend:
- shard-skl: [PASS][9] -> [INCOMPLETE][10] ([fdo#110741])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6222/shard-skl5/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13210/shard-skl5/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank-interruptible:
- shard-kbl: [PASS][11] -> [FAIL][12] ([fdo#102887] / [fdo#105363])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6222/shard-kbl4/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13210/shard-kbl4/igt@[email protected]
* igt@kms_flip@flip-vs-suspend-interruptible:
- shard-snb: [PASS][13] -> [INCOMPLETE][14] ([fdo#105411])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6222/shard-snb6/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13210/shard-snb1/igt@[email protected]
* igt@kms_flip@plain-flip-fb-recreate-interruptible:
- shard-glk: [PASS][15] -> [FAIL][16] ([fdo#100368])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6222/shard-glk4/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13210/shard-glk2/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-draw-blt:
- shard-iclb: [PASS][17] -> [FAIL][18] ([fdo#103167]) +4 similar issues
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6222/shard-iclb6/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13210/shard-iclb4/igt@[email protected]
* igt@kms_plane_lowres@pipe-a-tiling-x:
- shard-iclb: [PASS][19] -> [FAIL][20] ([fdo#103166])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6222/shard-iclb3/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13210/shard-iclb6/igt@[email protected]
* igt@kms_setmode@basic:
- shard-kbl: [PASS][21] -> [FAIL][22] ([fdo#99912])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6222/shard-kbl3/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13210/shard-kbl4/igt@[email protected]
#### Possible fixes ####
* igt@gem_persistent_relocs@forked-interruptible-faulting-reloc-thrash-inactive:
- shard-glk: [INCOMPLETE][23] ([fdo#103359] / [k.org#198133]) -> [PASS][24]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6222/shard-glk9/igt@gem_persistent_relocs@forked-interruptible-faulting-reloc-thrash-inactive.html
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13210/shard-glk3/igt@gem_persistent_relocs@forked-interruptible-faulting-reloc-thrash-inactive.html
* igt@gem_tiled_swapping@non-threaded:
- shard-glk: [DMESG-WARN][25] ([fdo#108686]) -> [PASS][26]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6222/shard-glk7/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13210/shard-glk2/igt@[email protected]
* igt@kms_flip@flip-vs-suspend:
- shard-kbl: [DMESG-WARN][27] ([fdo#108566]) -> [PASS][28] +1 similar issue
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6222/shard-kbl6/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13210/shard-kbl4/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-indfb-draw-blt:
- shard-iclb: [FAIL][29] ([fdo#103167]) -> [PASS][30] +4 similar issues
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6222/shard-iclb6/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-indfb-draw-blt.html
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13210/shard-iclb4/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-indfb-draw-blt.html
* igt@kms_plane@plane-panning-bottom-right-suspend-pipe-c-planes:
- shard-apl: [DMESG-WARN][31] ([fdo#108566]) -> [PASS][32] +1 similar issue
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6222/shard-apl8/igt@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13210/shard-apl7/igt@[email protected]
- shard-iclb: [INCOMPLETE][33] ([fdo#107713] / [fdo#110042]) -> [PASS][34]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6222/shard-iclb3/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13210/shard-iclb8/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-b-constant-alpha-min:
- shard-skl: [FAIL][35] ([fdo#108145]) -> [PASS][36]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6222/shard-skl7/igt@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13210/shard-skl4/igt@[email protected]
* igt@kms_plane_lowres@pipe-a-tiling-y:
- shard-iclb: [FAIL][37] ([fdo#103166]) -> [PASS][38]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6222/shard-iclb6/igt@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13210/shard-iclb5/igt@[email protected]
#### Warnings ####
* igt@gem_mmap_gtt@forked-big-copy-xy:
- shard-iclb: [TIMEOUT][39] ([fdo#109673]) -> [INCOMPLETE][40] ([fdo#107713] / [fdo#109100])
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6222/shard-iclb6/igt@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13210/shard-iclb7/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-indfb-draw-mmap-cpu:
- shard-skl: [FAIL][41] ([fdo#103167]) -> [FAIL][42] ([fdo#108040]) +1 similar issue
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6222/shard-skl10/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-indfb-draw-mmap-cpu.html
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13210/shard-skl5/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-indfb-draw-mmap-cpu.html
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#100368]: https://bugs.freedesktop.org/show_bug.cgi?id=100368
[fdo#102887]: https://bugs.freedesktop.org/show_bug.cgi?id=102887
[fdo#103166]: https://bugs.freedesktop.org/show_bug.cgi?id=103166
[fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
[fdo#103359]: https://bugs.freedesktop.org/show_bug.cgi?id=103359
[fdo#105363]: https://bugs.freedesktop.org/show_bug.cgi?id=105363
[fdo#105411]: https://bugs.freedesktop.org/show_bug.cgi?id=105411
[fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
[fdo#108040]: https://bugs.freedesktop.org/show_bug.cgi?id=108040
[fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
[fdo#108566]: https://bugs.freedesktop.org/show_bug.cgi?id=108566
[fdo#108686]: https://bugs.freedesktop.org/show_bug.cgi?id=108686
[fdo#109100]: https://bugs.freedesktop.org/show_bug.cgi?id=109100
[fdo#109673]: https://bugs.freedesktop.org/show_bug.cgi?id=109673
[fdo#110042]: https://bugs.freedesktop.org/show_bug.cgi?id=110042
[fdo#110741]: https://bugs.freedesktop.org/show_bug.cgi?id=110741
[fdo#110869]: https://bugs.freedesktop.org/show_bug.cgi?id=110869
[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 (9 -> 9)
------------------------------
No changes in participating hosts
Build changes
-------------
* Linux: CI_DRM_6222 -> Patchwork_13210
CI_DRM_6222: 7c3a9c32f0cdf3623588fec1380ef274af39d700 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5048: 1a34b94f1ce07ac5978fe7893a17e8732d467868 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_13210: f7b36e76e9541d48f4f63cb72bbf763e924357a1 @ 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_13210/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.BAT: success for drm/i915/ehl: Add support for DPLL4 (v5) (rev3)
In reply to Vivek Kasireddy== Series Details ==
== Series Details ==
Series: drm/i915/ehl: Add support for DPLL4 (v5) (rev3)
URL : https://patchwork.freedesktop.org/series/61684/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_6329 -> Patchwork_13397
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13397/
Known issues
------------
Here are the changes found in Patchwork_13397 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_reloc@basic-cpu-noreloc:
- fi-icl-u3: [PASS][1] -> [DMESG-WARN][2] ([fdo#107724])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6329/fi-icl-u3/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13397/fi-icl-u3/igt@[email protected]
* igt@i915_selftest@live_hangcheck:
- fi-icl-dsi: [PASS][3] -> [INCOMPLETE][4] ([fdo#107713] / [fdo#108569])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6329/fi-icl-dsi/igt@i915_selftest@live_hangcheck.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13397/fi-icl-dsi/igt@i915_selftest@live_hangcheck.html
#### Possible fixes ####
* igt@gem_mmap_gtt@basic-small-bo-tiledy:
- fi-ilk-650: [FAIL][5] ([fdo#108803]) -> [PASS][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6329/fi-ilk-650/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13397/fi-ilk-650/igt@[email protected]
* igt@gem_pread@basic:
- fi-icl-dsi: [DMESG-WARN][7] ([fdo#106107]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6329/fi-icl-dsi/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13397/fi-icl-dsi/igt@[email protected]
* igt@i915_selftest@live_sanitycheck:
- fi-icl-u3: [DMESG-WARN][9] ([fdo#107724]) -> [PASS][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6329/fi-icl-u3/igt@i915_selftest@live_sanitycheck.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13397/fi-icl-u3/igt@i915_selftest@live_sanitycheck.html
* igt@kms_frontbuffer_tracking@basic:
- fi-icl-dsi: [FAIL][11] ([fdo#103167]) -> [PASS][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6329/fi-icl-dsi/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13397/fi-icl-dsi/igt@[email protected]
- fi-icl-u2: [FAIL][13] ([fdo#103167]) -> [PASS][14]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6329/fi-icl-u2/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13397/fi-icl-u2/igt@[email protected]
[fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
[fdo#106107]: https://bugs.freedesktop.org/show_bug.cgi?id=106107
[fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
[fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724
[fdo#108569]: https://bugs.freedesktop.org/show_bug.cgi?id=108569
[fdo#108803]: https://bugs.freedesktop.org/show_bug.cgi?id=108803
Participating hosts (51 -> 43)
------------------------------
Missing (8): fi-kbl-soraka fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-icl-y fi-byt-clapper fi-bdw-samus
Build changes
-------------
* Linux: CI_DRM_6329 -> Patchwork_13397
CI_DRM_6329: 7ff7b7a9d09acaa647921780fa5ed3525ab8f278 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5064: 22850c1906550fb97b405c019275dcfb34be8cf7 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_13397: c13d482a3229571d4e9879c1e2063bf894b30ae9 @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
c13d482a3229 drm/i915/ehl: Add support for DPLL4 (v8)
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13397/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.IGT: success for drm/i915/ehl: Add support for DPLL4 (v5) (rev3)
In reply to Vivek Kasireddy== Series Details ==
== Series Details ==
Series: drm/i915/ehl: Add support for DPLL4 (v5) (rev3)
URL : https://patchwork.freedesktop.org/series/61684/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_6329_full -> Patchwork_13397_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Known issues
------------
Here are the changes found in Patchwork_13397_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_eio@reset-stress:
- shard-skl: [PASS][1] -> [FAIL][2] ([fdo#109661])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6329/shard-skl4/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13397/shard-skl6/igt@[email protected]
* igt@gem_persistent_relocs@forked-interruptible-thrashing:
- shard-snb: [PASS][3] -> [DMESG-WARN][4] ([fdo#110789] / [fdo#110913 ])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6329/shard-snb2/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13397/shard-snb6/igt@[email protected]
* igt@gem_tiled_partial_pwrite_pread@writes-after-reads:
- shard-apl: [PASS][5] -> [DMESG-WARN][6] ([fdo#110913 ]) +3 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6329/shard-apl5/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13397/shard-apl7/igt@[email protected]
- shard-kbl: [PASS][7] -> [DMESG-WARN][8] ([fdo#110913 ]) +3 similar issues
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6329/shard-kbl7/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13397/shard-kbl3/igt@[email protected]
* igt@i915_pm_rpm@universal-planes:
- shard-iclb: [PASS][9] -> [INCOMPLETE][10] ([fdo#107713] / [fdo#108840])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6329/shard-iclb5/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13397/shard-iclb2/igt@[email protected]
* igt@kms_cursor_crc@pipe-c-cursor-suspend:
- shard-apl: [PASS][11] -> [DMESG-WARN][12] ([fdo#108566]) +1 similar issue
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6329/shard-apl1/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13397/shard-apl6/igt@[email protected]
* igt@kms_flip@2x-flip-vs-absolute-wf_vblank:
- shard-hsw: [PASS][13] -> [SKIP][14] ([fdo#109271]) +16 similar issues
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6329/shard-hsw4/igt@kms_flip@2x-flip-vs-absolute-wf_vblank.html
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13397/shard-hsw1/igt@kms_flip@2x-flip-vs-absolute-wf_vblank.html
* igt@kms_flip@flip-vs-suspend-interruptible:
- shard-skl: [PASS][15] -> [INCOMPLETE][16] ([fdo#109507])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6329/shard-skl10/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13397/shard-skl4/igt@[email protected]
- shard-snb: [PASS][17] -> [INCOMPLETE][18] ([fdo#105411])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6329/shard-snb4/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13397/shard-snb1/igt@[email protected]
* igt@kms_flip@plain-flip-ts-check-interruptible:
- shard-glk: [PASS][19] -> [FAIL][20] ([fdo#100368])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6329/shard-glk2/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13397/shard-glk8/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-1p-pri-indfb-multidraw:
- shard-iclb: [PASS][21] -> [FAIL][22] ([fdo#103167]) +2 similar issues
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6329/shard-iclb3/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13397/shard-iclb5/igt@[email protected]
* 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_6329/shard-skl7/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13397/shard-skl1/igt@[email protected]
* igt@kms_psr@psr2_sprite_plane_move:
- shard-iclb: [PASS][25] -> [SKIP][26] ([fdo#109441])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6329/shard-iclb2/igt@kms_psr@psr2_sprite_plane_move.html
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13397/shard-iclb4/igt@kms_psr@psr2_sprite_plane_move.html
* igt@kms_setmode@basic:
- shard-hsw: [PASS][27] -> [FAIL][28] ([fdo#99912])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6329/shard-hsw1/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13397/shard-hsw1/igt@[email protected]
* igt@perf_pmu@rc6:
- shard-kbl: [PASS][29] -> [SKIP][30] ([fdo#109271])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6329/shard-kbl3/igt@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13397/shard-kbl7/igt@[email protected]
#### Possible fixes ####
* igt@gem_eio@wait-10ms:
- shard-apl: [DMESG-WARN][31] ([fdo#110913 ]) -> [PASS][32] +3 similar issues
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6329/shard-apl5/igt@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13397/shard-apl7/igt@[email protected]
* igt@gem_exec_reuse@baggage:
- shard-hsw: [INCOMPLETE][33] ([fdo#103540]) -> [PASS][34]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6329/shard-hsw7/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13397/shard-hsw7/igt@[email protected]
* igt@gem_exec_suspend@basic-s3:
- shard-skl: [INCOMPLETE][35] ([fdo#104108]) -> [PASS][36]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6329/shard-skl7/igt@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13397/shard-skl1/igt@[email protected]
* igt@gem_partial_pwrite_pread@writes-after-reads-uncached:
- shard-kbl: [DMESG-WARN][37] ([fdo#110913 ]) -> [PASS][38] +3 similar issues
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6329/shard-kbl4/igt@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13397/shard-kbl6/igt@[email protected]
* igt@gem_softpin@evict-active-interruptible:
- shard-snb: [DMESG-WARN][39] ([fdo#110789] / [fdo#110913 ]) -> [PASS][40]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6329/shard-snb2/igt@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13397/shard-snb6/igt@[email protected]
* igt@gem_tiled_swapping@non-threaded:
- shard-hsw: [DMESG-WARN][41] ([fdo#108686]) -> [PASS][42]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6329/shard-hsw1/igt@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13397/shard-hsw1/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank:
- shard-glk: [FAIL][43] ([fdo#105363]) -> [PASS][44]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6329/shard-glk9/igt@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13397/shard-glk2/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-shrfb-pgflip-blt:
- shard-hsw: [SKIP][45] ([fdo#109271]) -> [PASS][46] +13 similar issues
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6329/shard-hsw1/igt@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13397/shard-hsw5/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-badstride:
- shard-iclb: [FAIL][47] ([fdo#103167]) -> [PASS][48] +3 similar issues
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6329/shard-iclb8/igt@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13397/shard-iclb4/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsr-1p-rte:
- shard-iclb: [FAIL][49] ([fdo#103167] / [fdo#110378]) -> [PASS][50]
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6329/shard-iclb4/igt@[email protected]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13397/shard-iclb1/igt@[email protected]
* igt@kms_plane@plane-panning-bottom-right-suspend-pipe-b-planes:
- shard-apl: [DMESG-WARN][51] ([fdo#108566]) -> [PASS][52] +1 similar issue
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6329/shard-apl2/igt@[email protected]
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13397/shard-apl2/igt@[email protected]
* igt@kms_psr@psr2_sprite_blt:
- shard-iclb: [SKIP][53] ([fdo#109441]) -> [PASS][54]
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6329/shard-iclb8/igt@kms_psr@psr2_sprite_blt.html
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13397/shard-iclb2/igt@kms_psr@psr2_sprite_blt.html
* igt@kms_setmode@basic:
- shard-apl: [FAIL][55] ([fdo#99912]) -> [PASS][56]
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6329/shard-apl3/igt@[email protected]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13397/shard-apl4/igt@[email protected]
- shard-kbl: [FAIL][57] ([fdo#99912]) -> [PASS][58]
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6329/shard-kbl7/igt@[email protected]
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13397/shard-kbl1/igt@[email protected]
* igt@prime_busy@hang-bsd:
- shard-glk: [INCOMPLETE][59] ([fdo#103359] / [k.org#198133]) -> [PASS][60]
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6329/shard-glk2/igt@[email protected]
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13397/shard-glk8/igt@[email protected]
[fdo#100368]: https://bugs.freedesktop.org/show_bug.cgi?id=100368
[fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
[fdo#103359]: https://bugs.freedesktop.org/show_bug.cgi?id=103359
[fdo#103540]: https://bugs.freedesktop.org/show_bug.cgi?id=103540
[fdo#104108]: https://bugs.freedesktop.org/show_bug.cgi?id=104108
[fdo#105363]: https://bugs.freedesktop.org/show_bug.cgi?id=105363
[fdo#105411]: https://bugs.freedesktop.org/show_bug.cgi?id=105411
[fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
[fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
[fdo#108566]: https://bugs.freedesktop.org/show_bug.cgi?id=108566
[fdo#108686]: https://bugs.freedesktop.org/show_bug.cgi?id=108686
[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#109661]: https://bugs.freedesktop.org/show_bug.cgi?id=109661
[fdo#110378]: https://bugs.freedesktop.org/show_bug.cgi?id=110378
[fdo#110789]: https://bugs.freedesktop.org/show_bug.cgi?id=110789
[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_6329 -> Patchwork_13397
CI_DRM_6329: 7ff7b7a9d09acaa647921780fa5ed3525ab8f278 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5064: 22850c1906550fb97b405c019275dcfb34be8cf7 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_13397: c13d482a3229571d4e9879c1e2063bf894b30ae9 @ 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_13397/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.BAT: success for drm/i915/ehl: Add support for DPLL4 (v5) (rev4)
In reply to Vivek Kasireddy== Series Details ==
== Series Details ==
Series: drm/i915/ehl: Add support for DPLL4 (v5) (rev4)
URL : https://patchwork.freedesktop.org/series/61684/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_6377 -> Patchwork_13464
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13464/
Known issues
------------
Here are the changes found in Patchwork_13464 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_mmap_gtt@basic-write-read-distinct:
- fi-icl-u3: [PASS][1] -> [DMESG-WARN][2] ([fdo#107724])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6377/fi-icl-u3/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13464/fi-icl-u3/igt@[email protected]
* igt@kms_chamelium@hdmi-hpd-fast:
- fi-kbl-7567u: [PASS][3] -> [FAIL][4] ([fdo#109485])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6377/fi-kbl-7567u/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13464/fi-kbl-7567u/igt@[email protected]
[fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724
[fdo#109485]: https://bugs.freedesktop.org/show_bug.cgi?id=109485
Participating hosts (53 -> 46)
------------------------------
Additional (1): fi-icl-guc
Missing (8): fi-kbl-soraka fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-icl-y fi-byt-clapper fi-bdw-samus
Build changes
-------------
* Linux: CI_DRM_6377 -> Patchwork_13464
CI_DRM_6377: ede9edee003f46e3dbe0c6e603328c234632c393 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5071: 3c4edeba35ac699db5b39600eb17f4151c6b42fd @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_13464: db32a8fe4d86373b898ba2ca0ac79c72209b071e @ git://anongit.freedesktop.org/gfx-ci/linux
== Kernel 32bit build ==
Warning: Kernel 32bit buildtest failed:
https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13464/build_32bit.log
CALL scripts/checksyscalls.sh CALL scripts/atomic/check-atomics.sh CHK include/generated/compile.h
Kernel: arch/x86/boot/bzImage is ready (#1)
Building modules, stage 2.
MODPOST 112 modules
ERROR: "__udivdi3" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
ERROR: "__divdi3" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined! scripts/Makefile.modpost:91: recipe for target '__modpost' failed make[1]: *** [__modpost] Error 1
Makefile:1287: recipe for target 'modules' failed
make: *** [modules] Error 2
== Linux commits ==
db32a8fe4d86 drm/i915/ehl: Add support for DPLL4 (v9)
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13464/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.IGT: success for drm/i915/ehl: Add support for DPLL4 (v5) (rev4)
In reply to Vivek Kasireddy== Series Details ==
== Series Details ==
Series: drm/i915/ehl: Add support for DPLL4 (v5) (rev4)
URL : https://patchwork.freedesktop.org/series/61684/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_6377_full -> Patchwork_13464_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Known issues
------------
Here are the changes found in Patchwork_13464_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_balancer@smoke:
- shard-iclb: [PASS][1] -> [SKIP][2] ([fdo#110854])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6377/shard-iclb1/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13464/shard-iclb3/igt@[email protected]
* igt@gem_workarounds@suspend-resume-context:
- shard-skl: [PASS][3] -> [INCOMPLETE][4] ([fdo#104108])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6377/shard-skl1/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13464/shard-skl8/igt@[email protected]
* igt@i915_selftest@mock_requests:
- shard-skl: [PASS][5] -> [INCOMPLETE][6] ([fdo#110550])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6377/shard-skl3/igt@i915_selftest@mock_requests.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13464/shard-skl3/igt@i915_selftest@mock_requests.html
* igt@kms_flip@2x-flip-vs-expired-vblank-interruptible:
- shard-glk: [PASS][7] -> [FAIL][8] ([fdo#105363])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6377/shard-glk1/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13464/shard-glk7/igt@[email protected]
* igt@kms_flip@2x-flip-vs-rmfb:
- shard-hsw: [PASS][9] -> [SKIP][10] ([fdo#109271]) +10 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6377/shard-hsw7/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13464/shard-hsw1/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank-interruptible:
- shard-skl: [PASS][11] -> [FAIL][12] ([fdo#105363])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6377/shard-skl9/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13464/shard-skl2/igt@[email protected]
* igt@kms_flip@flip-vs-suspend:
- shard-apl: [PASS][13] -> [DMESG-WARN][14] ([fdo#108566])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6377/shard-apl6/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13464/shard-apl4/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-render:
- shard-iclb: [PASS][15] -> [FAIL][16] ([fdo#103167]) +4 similar issues
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6377/shard-iclb4/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-render.html
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13464/shard-iclb2/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-spr-indfb-draw-render.html
* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-c:
- shard-kbl: [PASS][17] -> [DMESG-WARN][18] ([fdo#108566]) +1 similar issue
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6377/shard-kbl4/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13464/shard-kbl3/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-b-coverage-7efc:
- shard-skl: [PASS][19] -> [FAIL][20] ([fdo#108145] / [fdo#110403])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6377/shard-skl5/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13464/shard-skl8/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-c-constant-alpha-min:
- shard-skl: [PASS][21] -> [FAIL][22] ([fdo#108145])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6377/shard-skl10/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13464/shard-skl6/igt@[email protected]
* igt@kms_psr@psr2_cursor_render:
- shard-iclb: [PASS][23] -> [SKIP][24] ([fdo#109441]) +1 similar issue
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6377/shard-iclb2/igt@kms_psr@psr2_cursor_render.html
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13464/shard-iclb8/igt@kms_psr@psr2_cursor_render.html
* igt@kms_vblank@pipe-c-ts-continuation-dpms-suspend:
- shard-kbl: [PASS][25] -> [INCOMPLETE][26] ([fdo#103665])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6377/shard-kbl2/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13464/shard-kbl4/igt@[email protected]
* igt@perf@blocking:
- shard-skl: [PASS][27] -> [FAIL][28] ([fdo#110728])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6377/shard-skl4/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13464/shard-skl1/igt@[email protected]
#### Possible fixes ####
* igt@gem_mmap_gtt@hang:
- shard-iclb: [FAIL][29] ([fdo#109677]) -> [PASS][30]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6377/shard-iclb5/igt@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13464/shard-iclb8/igt@[email protected]
* igt@kms_cursor_crc@pipe-c-cursor-256x256-offscreen:
- shard-skl: [FAIL][31] ([fdo#103232]) -> [PASS][32]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6377/shard-skl3/igt@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13464/shard-skl1/igt@[email protected]
* igt@kms_flip@2x-plain-flip-ts-check-interruptible:
- shard-hsw: [SKIP][33] ([fdo#109271]) -> [PASS][34] +11 similar issues
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6377/shard-hsw1/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13464/shard-hsw4/igt@[email protected]
* igt@kms_flip@flip-vs-suspend-interruptible:
- shard-glk: [INCOMPLETE][35] ([fdo#103359] / [k.org#198133]) -> [PASS][36]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6377/shard-glk2/igt@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13464/shard-glk8/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-badstride:
- shard-iclb: [FAIL][37] ([fdo#103167]) -> [PASS][38] +3 similar issues
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6377/shard-iclb4/igt@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13464/shard-iclb3/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-b-constant-alpha-min:
- shard-skl: [FAIL][39] ([fdo#108145]) -> [PASS][40]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6377/shard-skl1/igt@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13464/shard-skl7/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-c-coverage-7efc:
- shard-skl: [FAIL][41] ([fdo#108145] / [fdo#110403]) -> [PASS][42]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6377/shard-skl3/igt@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13464/shard-skl1/igt@[email protected]
* igt@kms_psr@psr2_sprite_plane_move:
- shard-iclb: [SKIP][43] ([fdo#109441]) -> [PASS][44] +2 similar issues
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6377/shard-iclb4/igt@kms_psr@psr2_sprite_plane_move.html
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13464/shard-iclb2/igt@kms_psr@psr2_sprite_plane_move.html
* igt@kms_vblank@pipe-a-ts-continuation-suspend:
- shard-apl: [DMESG-WARN][45] ([fdo#108566]) -> [PASS][46] +2 similar issues
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6377/shard-apl3/igt@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13464/shard-apl2/igt@[email protected]
* igt@perf@polling:
- shard-skl: [FAIL][47] ([fdo#110728]) -> [PASS][48]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6377/shard-skl3/igt@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_13464/shard-skl10/igt@[email protected]
[fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
[fdo#103232]: https://bugs.freedesktop.org/show_bug.cgi?id=103232
[fdo#103359]: https://bugs.freedesktop.org/show_bug.cgi?id=103359
[fdo#103665]: https://bugs.freedesktop.org/show_bug.cgi?id=103665
[fdo#104108]: https://bugs.freedesktop.org/show_bug.cgi?id=104108
[fdo#105363]: https://bugs.freedesktop.org/show_bug.cgi?id=105363
[fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
[fdo#108566]: https://bugs.freedesktop.org/show_bug.cgi?id=108566
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#109677]: https://bugs.freedesktop.org/show_bug.cgi?id=109677
[fdo#110403]: https://bugs.freedesktop.org/show_bug.cgi?id=110403
[fdo#110550]: https://bugs.freedesktop.org/show_bug.cgi?id=110550
[fdo#110728]: https://bugs.freedesktop.org/show_bug.cgi?id=110728
[fdo#110854]: https://bugs.freedesktop.org/show_bug.cgi?id=110854
[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_6377 -> Patchwork_13464
CI_DRM_6377: ede9edee003f46e3dbe0c6e603328c234632c393 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5071: 3c4edeba35ac699db5b39600eb17f4151c6b42fd @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_13464: db32a8fe4d86373b898ba2ca0ac79c72209b071e @ 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_13464/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx