Skip to content

Account for 2 PPC horizontal downscale inefficiency in min CDCLK

Uma Shankar intel-gfx intel-xe 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Revert "drm/i915/cdclk: Deal with 2 PPC hscale issues when calculating min CDCLK"drivers/gpu/drm/i915/display/intel_display.c drivers/gpu/drm/i915/display/intel_plane.c drivers/gpu/drm/i915/display/intel_plane.h +1 more+4 -892 replies
2/2drm/i915/cdclk: Account for 2 PPC horizontal downscale inefficiency in min CDCLKdrivers/gpu/drm/i915/display/intel_display.c drivers/gpu/drm/i915/display/intel_plane.c drivers/gpu/drm/i915/display/intel_plane.h +1 more+79 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] Account for 2 PPC horizontal downscale inefficiency in min CDCLK

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(-)
Signature · 1 line
2.50.1