Patch "drm/radeon/runpm: don't runtime suspend non-PX cards" has been added to the 3.13-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    drm/radeon/runpm: don't runtime suspend non-PX cards

to the 3.13-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     drm-radeon-runpm-don-t-runtime-suspend-non-px-cards.patch
and it can be found in the queue-3.13 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.


>From 9babd35ad72af631547c7ca294bc2e931cc40e58 Mon Sep 17 00:00:00 2001
From: Alex Deucher <alexander.deucher@xxxxxxx>
Date: Fri, 24 Jan 2014 14:59:42 -0500
Subject: drm/radeon/runpm: don't runtime suspend non-PX cards

From: Alex Deucher <alexander.deucher@xxxxxxx>

commit 9babd35ad72af631547c7ca294bc2e931cc40e58 upstream.

Prevent runtime suspend of non-PX GPUs.  Runtime suspend is
not what we want in those cases.

Signed-off-by: Alex Deucher <alexander.deucher@xxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

---
 drivers/gpu/drm/radeon/radeon_drv.c |    6 ++++++
 1 file changed, 6 insertions(+)

--- a/drivers/gpu/drm/radeon/radeon_drv.c
+++ b/drivers/gpu/drm/radeon/radeon_drv.c
@@ -400,6 +400,9 @@ static int radeon_pmops_runtime_suspend(
 	if (radeon_runtime_pm == 0)
 		return -EINVAL;
 
+	if (radeon_runtime_pm == -1 && !radeon_is_px())
+		return -EINVAL;
+
 	drm_dev->switch_power_state = DRM_SWITCH_POWER_CHANGING;
 	drm_kms_helper_poll_disable(drm_dev);
 	vga_switcheroo_set_dynamic_switch(pdev, VGA_SWITCHEROO_OFF);
@@ -422,6 +425,9 @@ static int radeon_pmops_runtime_resume(s
 	if (radeon_runtime_pm == 0)
 		return -EINVAL;
 
+	if (radeon_runtime_pm == -1 && !radeon_is_px())
+		return -EINVAL;
+
 	drm_dev->switch_power_state = DRM_SWITCH_POWER_CHANGING;
 
 	pci_set_power_state(pdev, PCI_D0);


Patches currently in stable-queue which might be from alexander.deucher@xxxxxxx are

queue-3.13/drm-radeon-skip-colorbuffer-checking-if-color_info.format-is-set-to-invalid.patch
queue-3.13/drm-radeon-dce4-clear-bios-scratch-dpms-bit-v2.patch
queue-3.13/drm-radeon-warn-users-when-hw_i2c-is-enabled-v2.patch
queue-3.13/drm-radeon-add-uvd-support-for-oland.patch
queue-3.13/drm-radeon-dce8-workaround-for-atom-blankcrtc-table.patch
queue-3.13/radeon-pm-guard-access-to-rdev-pm.power_state-array.patch
queue-3.13/drm-radeon-disable-dpm-on-btc.patch
queue-3.13/drm-radeon-set-si_notify_smc_display_change-properly.patch
queue-3.13/drm-radeon-fix-surface-sync-in-fence-on-cayman-v2.patch
queue-3.13/drm-radeon-runpm-don-t-runtime-suspend-non-px-cards.patch
queue-3.13/drm-radeon-set-the-full-cache-bit-for-fences-on-r7xx.patch
queue-3.13/drm-radeon-fix-dac-interrupt-handling-on-dce5.patch
queue-3.13/drm-radeon-disable-ss-on-dp-for-dce3.x.patch
queue-3.13/drm-radeon-dpm-disable-mclk-switching-on-desktop-rv770.patch
queue-3.13/revert-drm-radeon-disable-cik-cp-semaphores-for-now.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]