From: Arun R Murthy <arun.r.murthy@intel.com>
To: intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org
Cc: "Jani Nikula" <jani.nikula@linux.intel.com>,
"Arun R Murthy" <arun.r.murthy@intel.com>,
"Polo-François Poli" <polo.code.dev@gmail.com>
Subject: [PATCH 0/2] cdclk mismatch with sw/hw
Date: Tue, 04 Aug 2026 14:58:29 +0530 [thread overview]
Message-ID: <20260804-cdclk-v1-0-484864b1aafd@intel.com> (raw)
With 4k eDP panel and an external DP, cdclk sw/hw state mismatch
warnings are observed along with cdclk mismatch on DC6 exit is also
observed and eventually FIFO underrun.
On boot, skl_cdclk_init_hw()->skl_sanitize_cdclk() decides to use the
pre-OS cdclk leading to programming a very low cdclk that doesnt satisfy
the pipes requirement. This leads to FIFO underrun.
Also this programmed and the sw calculated cdclk mismatches and on every
dc state exit warnings are thrown.
In this series the cdclk is programmed to max instead of 0, and then the
first modeset will bring it back to the required/calculated.
Signed-off-by: Arun R Murthy <arun.r.murthy@intel.com>
---
Arun R Murthy (2):
drm/i915/display: Seed skl_cdclk_init_hw() with SKU-max, not zero
drm/i915/display: Reconcile cdclk SW state with HW on DC-off exit
drivers/gpu/drm/i915/display/intel_cdclk.c | 65 +++++++++++++++++++++-
drivers/gpu/drm/i915/display/intel_cdclk.h | 2 +
.../drm/i915/display/intel_display_power_well.c | 1 +
3 files changed, 67 insertions(+), 1 deletion(-)
---
base-commit: 0377b35cbeef071dfeed06ccadc0d7607eccaa64
change-id: 20260804-cdclk-9e7ffc71f82a
Best regards,
--
Arun R Murthy <arun.r.murthy@intel.com>
next reply other threads:[~2026-08-04 9:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-04 9:28 Arun R Murthy [this message]
2026-08-04 9:28 ` [PATCH 1/2] drm/i915/display: Seed skl_cdclk_init_hw() with SKU-max, not zero Arun R Murthy
2026-08-04 9:28 ` [PATCH 2/2] drm/i915/display: Reconcile cdclk SW state with HW on DC-off exit Arun R Murthy
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=20260804-cdclk-v1-0-484864b1aafd@intel.com \
--to=arun.r.murthy@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
--cc=jani.nikula@linux.intel.com \
--cc=polo.code.dev@gmail.com \
/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