From: Ville Syrjala <ville.syrjala@linux.intel.com>
To: intel-gfx@lists.freedesktop.org
Cc: intel-xe@lists.freedesktop.org
Subject: [PATCH 0/4] drm/i915/cdclk: Workaround some kind of scaler 2PPC issue
Date: Wed, 15 Jul 2026 15:09:22 +0300 [thread overview]
Message-ID: <20260715120926.10786-1-ville.syrjala@linux.intel.com> (raw)
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
next reply other threads:[~2026-07-15 12:09 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-15 12:09 Ville Syrjala [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260715120926.10786-1-ville.syrjala@linux.intel.com \
--to=ville.syrjala@linux.intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox