From: Radhakrishna Sripada <radhakrishna.sripada@intel.com>
To: intel-gfx@lists.freedesktop.org
Subject: [Intel-gfx] [PATCH 2/2] drm/i915/mtl: Copy c10 phy pll sw state from master to slave for bigjoiner
Date: Thu, 20 Apr 2023 15:12:48 -0700 [thread overview]
Message-ID: <20230420221248.2511314-2-radhakrishna.sripada@intel.com> (raw)
In-Reply-To: <20230420221248.2511314-1-radhakrishna.sripada@intel.com>
From: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
We try to verify pll registers in sw state for slave crtc with the hw state.
However in case of bigjoiner we don't calculate those at all, so this verification
will then always fail.
So we should either skip the verification for Bigjoiner slave crtc or copy sw state
from master crtc.
Signed-off-by: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Signed-off-by: Radhakrishna Sripada <radhakrishna.sripada@intel.com>
---
drivers/gpu/drm/i915/display/intel_display.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/i915/display/intel_display.c b/drivers/gpu/drm/i915/display/intel_display.c
index bf391a6cd8d6..83c98791fea3 100644
--- a/drivers/gpu/drm/i915/display/intel_display.c
+++ b/drivers/gpu/drm/i915/display/intel_display.c
@@ -4556,6 +4556,7 @@ copy_bigjoiner_crtc_state_modeset(struct intel_atomic_state *state,
drm_mode_copy(&slave_crtc_state->hw.adjusted_mode,
&master_crtc_state->hw.adjusted_mode);
slave_crtc_state->hw.scaling_filter = master_crtc_state->hw.scaling_filter;
+ slave_crtc_state->cx0pll_state = master_crtc_state->cx0pll_state;
copy_bigjoiner_crtc_state_nomodeset(state, slave_crtc);
--
2.34.1
next prev parent reply other threads:[~2023-04-20 22:14 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-20 22:12 [Intel-gfx] [PATCH 1/2] drm/i915/mtl: Add the missing CPU transcoder mask in intel_device_info Radhakrishna Sripada
2023-04-20 22:12 ` Radhakrishna Sripada [this message]
2023-04-26 12:59 ` [Intel-gfx] [PATCH 2/2] drm/i915/mtl: Copy c10 phy pll sw state from master to slave for bigjoiner Kalvala, Haridhar
2023-04-26 13:13 ` Gustavo Sousa
2023-04-20 22:57 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for series starting with [1/2] drm/i915/mtl: Add the missing CPU transcoder mask in intel_device_info Patchwork
2023-04-20 22:57 ` [Intel-gfx] ✗ Fi.CI.SPARSE: " Patchwork
2023-04-20 23:08 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2023-04-21 8:39 ` [Intel-gfx] ✓ Fi.CI.IGT: " Patchwork
2023-04-26 12:48 ` [Intel-gfx] [PATCH 1/2] " Gustavo Sousa
2023-04-26 19:23 ` Gustavo Sousa
2023-04-26 12:57 ` Kalvala, Haridhar
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=20230420221248.2511314-2-radhakrishna.sripada@intel.com \
--to=radhakrishna.sripada@intel.com \
--cc=intel-gfx@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