Skip to content

drm/i915/cdclk: Workaround some kind of scaler 2PPC issue

Ville Syrjala intel-gfx intel-xe 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4drm/i915/cdclk: Use intel_cdclk_ppc() in intel_modeset_readout_hw_state()drivers/gpu/drm/i915/display/intel_cdclk.c drivers/gpu/drm/i915/display/intel_cdclk.h drivers/gpu/drm/i915/display/intel_modeset_setup.c+6 -91 reply
2/4drm/i915/cdclk: Introduce HAS_2PPC()drivers/gpu/drm/i915/display/intel_cdclk.c drivers/gpu/drm/i915/display/intel_display_device.h+2 -11 reply
3/4drm/i915/cdclk: Introduce crtc_state->pixel_rate_cdclkdrivers/gpu/drm/i915/display/hsw_ips.c drivers/gpu/drm/i915/display/i9xx_plane.c drivers/gpu/drm/i915/display/intel_cdclk.c +5 more+28 -171 reply
4/4drm/i915/cdclk: Deal with 2 PPC hscale issues when calculating 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+88 -42 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchNemesa GargVidya Srinivas
1/4R-b
2/4R-b
3/4R-b
4/4R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] drm/i915/cdclk: Workaround some kind of scaler 2PPC issue

From: Ville Syrjälä <[email protected]>

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