Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] drm/i915/display: Allow display PHYs to reset power state
@ 2025-01-29 13:01 Mika Kahola
  2025-01-29 13:01 ` [PATCH 1/2] drm/i915/display: Drop crtc_state from C10/C20 pll programming Mika Kahola
                   ` (9 more replies)
  0 siblings, 10 replies; 16+ messages in thread
From: Mika Kahola @ 2025-01-29 13:01 UTC (permalink / raw)
  To: intel-gfx, intel-xe; +Cc: imre.deak, Mika Kahola

The dedicated display PHYs reset to a power state that blocks S0ix,
increasing idle system power. After a system reset (cold boot,
S3/4/5, warm reset) if a dedicated PHY is not being brought up
shortly, use these steps to move the PHY to the lowest power state
to save power.

1. Follow the PLL Enable Sequence, using any valid frequency such as DP 1.62 GHz.
   This brings lanes out of reset and enables the PLL to allow powerdown to be moved
   to the Disable state.
2. Follow PLL Disable Sequence. This moves powerdown to the Disable state and disables the PLL.

Before doing this, let's refactor the pll enabling in such a way that
the crtc_state structure is no longer needed.

Mika Kahola (2):
  drm/i915/display: Drop crtc_state from C10/C20 pll programming
  drm/i915/display: Allow display PHYs to reset power state

 drivers/gpu/drm/i915/display/intel_cx0_phy.c  | 144 ++++++++++++------
 drivers/gpu/drm/i915/display/intel_cx0_phy.h  |   1 +
 .../drm/i915/display/intel_display_reset.c    |   2 +
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c |   2 +
 4 files changed, 104 insertions(+), 45 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2025-01-30 13:25 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-29 13:01 [PATCH 0/2] drm/i915/display: Allow display PHYs to reset power state Mika Kahola
2025-01-29 13:01 ` [PATCH 1/2] drm/i915/display: Drop crtc_state from C10/C20 pll programming Mika Kahola
2025-01-29 14:40   ` Jani Nikula
2025-01-30  9:26     ` Kahola, Mika
2025-01-30 13:26     ` Imre Deak
2025-01-29 13:01 ` [PATCH 2/2] drm/i915/display: Allow display PHYs to reset power state Mika Kahola
2025-01-29 14:44   ` Jani Nikula
2025-01-30  9:52     ` Kahola, Mika
2025-01-29 14:46 ` ✓ CI.Patch_applied: success for " Patchwork
2025-01-29 14:47 ` ✗ CI.checkpatch: warning " Patchwork
2025-01-29 14:48 ` ✓ CI.KUnit: success " Patchwork
2025-01-29 15:05 ` ✓ CI.Build: " Patchwork
2025-01-29 15:07 ` ✗ CI.Hooks: failure " Patchwork
2025-01-29 15:08 ` ✓ CI.checksparse: success " Patchwork
2025-01-29 15:35 ` ✓ Xe.CI.BAT: " Patchwork
2025-01-29 23:00 ` ✗ Xe.CI.Full: failure " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox