Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] drm/i915/cdclk: Workaround some kind of scaler 2PPC issue
@ 2026-07-15 12:09 Ville Syrjala
  2026-07-15 12:09 ` [PATCH 1/4] drm/i915/cdclk: Use intel_cdclk_ppc() in intel_modeset_readout_hw_state() Ville Syrjala
                   ` (7 more replies)
  0 siblings, 8 replies; 14+ messages in thread
From: Ville Syrjala @ 2026-07-15 12:09 UTC (permalink / raw)
  To: intel-gfx; +Cc: intel-xe

From: Ville Syrjälä <ville.syrjala@linux.intel.com>

Apparently ever since the hardware started to do 2 pixels per CDCLK
(GLK+) we need an extra bump in CDCLK for certain horizontal scale
factors. The current BSpec formula for that is insufficient so instead
go for an empirically derived formula for now.

Ville Syrjälä (4):
  drm/i915/cdclk: Use intel_cdclk_ppc() in
    intel_modeset_readout_hw_state()
  drm/i915/cdclk: Introduce HAS_2PPC()
  drm/i915/cdclk: Introduce crtc_state->pixel_rate_cdclk
  drm/i915/cdclk: Deal with 2 PPC hscale issues when calculating min
    CDCLK

 drivers/gpu/drm/i915/display/hsw_ips.c        |  2 +-
 drivers/gpu/drm/i915/display/i9xx_plane.c     |  4 +-
 drivers/gpu/drm/i915/display/intel_cdclk.c    |  6 +-
 drivers/gpu/drm/i915/display/intel_cdclk.h    |  1 +
 drivers/gpu/drm/i915/display/intel_display.c  | 32 ++++++++++-
 .../drm/i915/display/intel_display_device.h   |  1 +
 .../drm/i915/display/intel_display_types.h    |  7 +++
 drivers/gpu/drm/i915/display/intel_fbc.c      |  2 +-
 .../drm/i915/display/intel_modeset_setup.c    | 12 ++--
 drivers/gpu/drm/i915/display/intel_plane.c    | 55 +++++++++++++++++++
 drivers/gpu/drm/i915/display/intel_plane.h    |  5 ++
 drivers/gpu/drm/i915/display/intel_sprite.c   | 18 +++---
 .../drm/i915/display/skl_universal_plane.c    |  6 +-
 13 files changed, 122 insertions(+), 29 deletions(-)

-- 
2.54.0


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

end of thread, other threads:[~2026-07-16 10:58 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-15 12:09 [PATCH 0/4] drm/i915/cdclk: Workaround some kind of scaler 2PPC issue Ville Syrjala
2026-07-15 12:09 ` [PATCH 1/4] drm/i915/cdclk: Use intel_cdclk_ppc() in intel_modeset_readout_hw_state() Ville Syrjala
2026-07-16  3:59   ` Garg, Nemesa
2026-07-15 12:09 ` [PATCH 2/4] drm/i915/cdclk: Introduce HAS_2PPC() Ville Syrjala
2026-07-16  4:03   ` Garg, Nemesa
2026-07-15 12:09 ` [PATCH 3/4] drm/i915/cdclk: Introduce crtc_state->pixel_rate_cdclk Ville Syrjala
2026-07-16  4:00   ` Garg, Nemesa
2026-07-15 12:09 ` [PATCH 4/4] drm/i915/cdclk: Deal with 2 PPC hscale issues when calculating min CDCLK Ville Syrjala
2026-07-16  4:01   ` Garg, Nemesa
2026-07-16 10:58   ` Srinivas, Vidya
2026-07-15 13:28 ` ✗ CI.checkpatch: warning for drm/i915/cdclk: Workaround some kind of scaler 2PPC issue Patchwork
2026-07-15 13:29 ` ✓ CI.KUnit: success " Patchwork
2026-07-15 14:06 ` ✓ Xe.CI.BAT: " Patchwork
2026-07-15 15:53 ` ✗ 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