summaryrefslogtreecommitdiffstats
path: root/patch-5.13-redhat.patch
diff options
context:
space:
mode:
authorJustin M. Forbes <jforbes@fedoraproject.org>2021-09-16 15:49:19 -0500
committerJustin M. Forbes <jforbes@fedoraproject.org>2021-09-16 15:49:19 -0500
commit5f8ea3dba2bfb2bb6146bc3331ac15a6b43e4187 (patch)
tree9030b9fe8bea6571d87a7d02a843c4e5caf721c4 /patch-5.13-redhat.patch
parentcd7ebee28bfdcf1df2a0e32b8ee3693e28f64947 (diff)
downloadkernel-5f8ea3dba2bfb2bb6146bc3331ac15a6b43e4187.tar.gz
kernel-5f8ea3dba2bfb2bb6146bc3331ac15a6b43e4187.tar.xz
kernel-5f8ea3dba2bfb2bb6146bc3331ac15a6b43e4187.zip
Add Intel patch from Lyude's MR
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
Diffstat (limited to 'patch-5.13-redhat.patch')
-rw-r--r--patch-5.13-redhat.patch41
1 files changed, 41 insertions, 0 deletions
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 <gwan-gyeong.mun@intel.com>
+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 <gwan-gyeong.mun@intel.com>
+Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
+Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
+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
+