aboutsummaryrefslogtreecommitdiff
path: root/SOURCES/steamdeck-oled-hw-quirks.patch
diff options
context:
space:
mode:
Diffstat (limited to 'SOURCES/steamdeck-oled-hw-quirks.patch')
-rw-r--r--SOURCES/steamdeck-oled-hw-quirks.patch35
1 files changed, 0 insertions, 35 deletions
diff --git a/SOURCES/steamdeck-oled-hw-quirks.patch b/SOURCES/steamdeck-oled-hw-quirks.patch
index df352d7..585e908 100644
--- a/SOURCES/steamdeck-oled-hw-quirks.patch
+++ b/SOURCES/steamdeck-oled-hw-quirks.patch
@@ -71,41 +71,6 @@ index e8b2fc4002a52..3c69d860e1c9d 100644
--
GitLab
-From b59fed802470f07fafe72f6a2bdda2163da5ba33 Mon Sep 17 00:00:00 2001
-From: Swapnil Patel <Swapnil.Patel@amd.com>
-Date: Tue, 26 Sep 2023 16:24:25 -0400
-Subject: [PATCH] drm/amd/display: Don't add common modes for eDP connector
-
-[Why]
-Currently, we are adding various common modes to drm_connector for DP
-and eDP connection even if they aren't part of EDID. This results in
-unsupported modes getting added to eDP connector.
-
-[How]
-Add common modes to drm_connector only for DP connection.
-
-Signed-off-by: Swapnil Patel <swapnil.patel@amd.com>
----
- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
-index 85159cd0bfcd..2efefca8143b 100644
---- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
-+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
-@@ -7332,7 +7332,8 @@ static int amdgpu_dm_connector_get_modes(struct drm_connector *connector)
- drm_add_modes_noedid(connector, 1920, 1080);
- } else {
- amdgpu_dm_connector_ddc_get_modes(connector, edid);
-- amdgpu_dm_connector_add_common_modes(encoder, connector);
-+ if (connector->connector_type != DRM_MODE_CONNECTOR_eDP)
-+ amdgpu_dm_connector_add_common_modes(encoder, connector);
- amdgpu_dm_connector_add_freesync_modes(connector, edid);
- }
- amdgpu_dm_fbc_init(connector);
---
-GitLab
-
From 8f24ff69523cf3059e23ba6aa41d09b0c00f2986 Mon Sep 17 00:00:00 2001
From: Jeremy Selan <jeremys@valvesoftware.com>
Date: Wed, 28 Apr 2021 14:33:36 -0700