Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Account for 2 PPC horizontal downscale inefficiency in min CDCLK
@ 2026-11-26 12:18 Uma Shankar
  2026-11-26 12:18 ` [PATCH 1/2] Revert "drm/i915/cdclk: Deal with 2 PPC hscale issues when calculating min CDCLK" Uma Shankar
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Uma Shankar @ 2026-11-26 12:18 UTC (permalink / raw)
  To: intel-gfx, intel-xe; +Cc: Uma Shankar

The horizontal scaler filter works at 2 PPC, but still needs a full
clock for a fractional shift of just one pixel. It doesn't shift by
two pixels and re-align the taps, so the extra clock doesn't average
out. Without accounting for this, CDCLK may end up too low for certain
horizontal downscale factors, which leads to underruns.

Implement the Bspec formula for the downscale amount, used for both
plane and pipe scalers when computing the min CDCLK

Uma Shankar (2):
  Revert "drm/i915/cdclk: Deal with 2 PPC hscale issues when calculating
    min CDCLK"
  drm/i915/cdclk: Account for 2 PPC horizontal downscale inefficiency in
    min CDCLK

 drivers/gpu/drm/i915/display/intel_plane.c | 54 +++++++++-------------
 1 file changed, 22 insertions(+), 32 deletions(-)

-- 
2.50.1


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

end of thread, other threads:[~2026-11-26 16:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-26 12:18 [PATCH 0/2] Account for 2 PPC horizontal downscale inefficiency in min CDCLK Uma Shankar
2026-11-26 12:18 ` [PATCH 1/2] Revert "drm/i915/cdclk: Deal with 2 PPC hscale issues when calculating min CDCLK" Uma Shankar
2026-11-26 12:12   ` Ville Syrjälä
2026-11-26 15:32     ` Shankar, Uma
2026-11-26 12:18 ` [PATCH 2/2] drm/i915/cdclk: Account for 2 PPC horizontal downscale inefficiency in min CDCLK Uma Shankar
2026-11-26 15:34 ` ✓ CI.KUnit: success for " Patchwork
2026-11-26 16:12 ` ✓ Xe.CI.BAT: " Patchwork

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