]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
delete some 4.4 drm patches that broke the build.
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Nov 2016 19:24:37 +0000 (20:24 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Nov 2016 19:24:37 +0000 (20:24 +0100)
queue-4.4/drm-amdgpu-disable-runtime-pm-in-certain-cases.patch [deleted file]
queue-4.4/drm-radeon-disable-runtime-pm-in-certain-cases.patch [deleted file]
queue-4.4/series

diff --git a/queue-4.4/drm-amdgpu-disable-runtime-pm-in-certain-cases.patch b/queue-4.4/drm-amdgpu-disable-runtime-pm-in-certain-cases.patch
deleted file mode 100644 (file)
index 4d75f8b..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-From 84b1528e8cef55274f0df20e93513b3060ce495a Mon Sep 17 00:00:00 2001
-From: Alex Deucher <alexander.deucher@amd.com>
-Date: Mon, 31 Oct 2016 11:02:31 -0400
-Subject: drm/amdgpu: disable runtime pm in certain cases
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-From: Alex Deucher <alexander.deucher@amd.com>
-
-commit 84b1528e8cef55274f0df20e93513b3060ce495a upstream.
-
-If the platform does not support hybrid graphics or ATPX dGPU
-power control.
-
-Acked-by: Christian König <christian.koenig@amd.com>
-Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
----
- drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c |    2 ++
- 1 file changed, 2 insertions(+)
-
---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
-+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
-@@ -96,6 +96,8 @@ int amdgpu_driver_load_kms(struct drm_de
-       if ((amdgpu_runtime_pm != 0) &&
-           amdgpu_has_atpx() &&
-+          (amdgpu_is_atpx_hybrid() ||
-+           amdgpu_has_atpx_dgpu_power_cntl()) &&
-           ((flags & AMD_IS_APU) == 0))
-               flags |= AMD_IS_PX;
diff --git a/queue-4.4/drm-radeon-disable-runtime-pm-in-certain-cases.patch b/queue-4.4/drm-radeon-disable-runtime-pm-in-certain-cases.patch
deleted file mode 100644 (file)
index 88b49bd..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-From 066f1f0b4719eb4573ef09bfc63c2bbb6f7676ca Mon Sep 17 00:00:00 2001
-From: Alex Deucher <alexander.deucher@amd.com>
-Date: Mon, 31 Oct 2016 10:41:49 -0400
-Subject: drm/radeon: disable runtime pm in certain cases
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-From: Alex Deucher <alexander.deucher@amd.com>
-
-commit 066f1f0b4719eb4573ef09bfc63c2bbb6f7676ca upstream.
-
-If the platform does not support hybrid graphics or ATPX dGPU
-power control.
-
-bug: https://bugzilla.kernel.org/show_bug.cgi?id=51381
-
-Acked-by: Christian König <christian.koenig@amd.com>
-Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
----
- drivers/gpu/drm/radeon/radeon_device.c |   13 +++++++++++++
- 1 file changed, 13 insertions(+)
-
---- a/drivers/gpu/drm/radeon/radeon_device.c
-+++ b/drivers/gpu/drm/radeon/radeon_device.c
-@@ -103,6 +103,14 @@ static const char radeon_family_name[][1
-       "LAST",
- };
-+#if defined(CONFIG_VGA_SWITCHEROO)
-+bool radeon_has_atpx_dgpu_power_cntl(void);
-+bool radeon_is_atpx_hybrid(void);
-+#else
-+static inline bool radeon_has_atpx_dgpu_power_cntl(void) { return false; }
-+static inline bool radeon_is_atpx_hybrid(void) { return false; }
-+#endif
-+
- #define RADEON_PX_QUIRK_DISABLE_PX  (1 << 0)
- #define RADEON_PX_QUIRK_LONG_WAKEUP (1 << 1)
-@@ -159,6 +167,11 @@ static void radeon_device_handle_px_quir
-       if (rdev->px_quirk_flags & RADEON_PX_QUIRK_DISABLE_PX)
-               rdev->flags &= ~RADEON_IS_PX;
-+
-+      /* disable PX is the system doesn't support dGPU power control or hybrid gfx */
-+      if (!radeon_is_atpx_hybrid() &&
-+          !radeon_has_atpx_dgpu_power_cntl())
-+              rdev->flags &= ~RADEON_IS_PX;
- }
- /**
index 0960646efeca51ebe6943f51b1cb53e2ef20d9ec..e29583a32c12dab380d228c928752853ea6fa8d7 100644 (file)
@@ -22,6 +22,4 @@ iio-orientation-hid-sensor-rotation-add-pm-function-fix-non-working-driver.patch
 scsi-qla2xxx-fix-scsi-scan-hang-triggered-if-adapter-fails-during-init.patch
 scsi-mpt3sas-fix-for-block-device-of-raid-exists-even-after-deleting-raid-disk.patch
 kvm-mips-precalculate-mmio-load-resume-pc.patch
-drm-radeon-disable-runtime-pm-in-certain-cases.patch
 drm-i915-respect-alternate_ddc_pin-for-all-ddi-ports.patch
-drm-amdgpu-disable-runtime-pm-in-certain-cases.patch