Skip to contentSkip to conversation

drm/i915/dp: Use always vsc revision 0x6 for Panel Replay

PATCH New Jouni Högander 2 participants 2 messages Apr 19, 2024

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/i915/dp: Use always vsc revision 0x6 for Panel Replay

We want to use vsc revision 0x6 for Panel Replay no matter if it is selective update or full frame update mode.

Fixes 5afa6e496098 ("drm/i915/psr: Set intel_crtc_state->has_psr on panel replay as well")
---
 drivers/gpu/drm/i915/display/intel_dp.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
drivers/gpu/drm/i915/display/intel_dp.c +8 -8
index 3f1723f55e0d..7e97a92509d1 100644
@@ -2664,14 +2664,6 @@ static void intel_dp_compute_vsc_sdp(struct intel_dp *intel_dp,
 	if (intel_dp_needs_vsc_sdp(crtc_state, conn_state)) {
 		intel_dp_compute_vsc_colorimetry(crtc_state, conn_state,
 						 vsc);
-	} else if (crtc_state->has_psr && crtc_state->has_sel_update) {
-		/*
-		 * [PSR2 without colorimetry]
-		 * Prepare VSC Header for SU as per eDP 1.4 spec, Table 6-11
-		 * 3D stereo + PSR/PSR2 + Y-coordinate.
-		 */
-		vsc->revision = 0x4;
-		vsc->length = 0xe;
 	} else if (crtc_state->has_panel_replay) {
 		/*
 		 * [Panel Replay without colorimetry info]
@@ -2680,6 +2672,14 @@ static void intel_dp_compute_vsc_sdp(struct intel_dp *intel_dp,
 		 */
 		vsc->revision = 0x6;
 		vsc->length = 0x10;
+	} else if (crtc_state->has_psr && crtc_state->has_sel_update) {
+		/*
+		 * [PSR2 without colorimetry]
+		 * Prepare VSC Header for SU as per eDP 1.4 spec, Table 6-11
+		 * 3D stereo + PSR/PSR2 + Y-coordinate.
+		 */
+		vsc->revision = 0x4;
+		vsc->length = 0xe;
 	} else {
 		/*
 		 * [PSR1]
Signature · 1 line
2.34.1
#1 lore raw

✗ Fi.CI.BUILD: failure for drm/i915/dp: Use always vsc revision 0x6 for Panel Replay

== Series Details ==

== Series Details ==

Series: drm/i915/dp: Use always vsc revision 0x6 for Panel Replay
URL : https://patchwork.freedesktop.org/series/132639/
State : failure

== Summary ==

Error: patch https://patchwork.freedesktop.org/api/1.0/series/132639/revisions/1/mbox/ not applied
Applying: drm/i915/dp: Use always vsc revision 0x6 for Panel Replay
error: sha1 information is lacking or useless (drivers/gpu/drm/i915/display/intel_dp.c).
error: could not build fake ancestor
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 drm/i915/dp: Use always vsc revision 0x6 for Panel Replay When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
Build failed, no error log produced