From 5f8ea3dba2bfb2bb6146bc3331ac15a6b43e4187 Mon Sep 17 00:00:00 2001 From: "Justin M. Forbes" Date: Thu, 16 Sep 2021 15:49:19 -0500 Subject: Add Intel patch from Lyude's MR Signed-off-by: Justin M. Forbes --- patch-5.13-redhat.patch | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) (limited to 'patch-5.13-redhat.patch') diff --git a/patch-5.13-redhat.patch b/patch-5.13-redhat.patch index 4fd02b6d8..d2fea8265 100644 --- a/patch-5.13-redhat.patch +++ b/patch-5.13-redhat.patch @@ -4590,3 +4590,44 @@ index 54d8d1ab577c..000000000000 -/* different name and/or type of the variable doesn't matter */ -char _license[] SEC("license") = "GPL"; -int _version SEC("version") = 1; +From 04fe164eacef2d9e6faac240e1c5537db88299ed Mon Sep 17 00:00:00 2001 +From: Gwan-gyeong Mun +Date: Thu, 1 Apr 2021 20:02:37 +0300 +Subject: [PATCH] drm/i915/display/psr: Disable DC3CO when the PSR2 is used +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Due to the changed sequence of activating/deactivating DC3CO, disable +DC3CO until the changed dc3co activating/deactivating sequence is applied. + +References: https://gitlab.freedesktop.org/drm/intel/-/issues/3134 +Signed-off-by: Gwan-gyeong Mun +Reviewed-by: José Roberto de Souza +Signed-off-by: José Roberto de Souza +Link: https://patchwork.freedesktop.org/patch/msgid/20210401170237.40472-1-gwan-gyeong.mun@intel.com +--- + drivers/gpu/drm/i915/display/intel_psr.c | 7 +++++++ + 1 file changed, 7 insertions(+) + +diff --git a/drivers/gpu/drm/i915/display/intel_psr.c b/drivers/gpu/drm/i915/display/intel_psr.c +index 8ada4f829cab..4cec6b4d7fb9 100644 +--- a/drivers/gpu/drm/i915/display/intel_psr.c ++++ b/drivers/gpu/drm/i915/display/intel_psr.c +@@ -654,6 +654,13 @@ tgl_dc3co_exitline_compute_config(struct intel_dp *intel_dp, + struct drm_i915_private *dev_priv = dp_to_i915(intel_dp); + u32 exit_scanlines; + ++ /* ++ * FIXME: Due to the changed sequence of activating/deactivating DC3CO, ++ * disable DC3CO until the changed dc3co activating/deactivating sequence ++ * is applied. B.Specs:49196 ++ */ ++ return; ++ + /* + * DMC's DC3CO exit mechanism has an issue with Selective Fecth + * TODO: when the issue is addressed, this restriction should be removed. +-- +GitLab + -- cgit