Patch "vgaswitcheroo: switch the mux to the igp on power down when" has been added to the 3.14-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

    vgaswitcheroo: switch the mux to the igp on power down when

to the 3.14-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:
     vgaswitcheroo-switch-the-mux-to-the-igp-on-power-down-when.patch
and it can be found in the queue-3.14 subdirectory.

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


>From f2bc561610962693be61425cf913778586d8f9c1 Mon Sep 17 00:00:00 2001
From: Alex Deucher <alexander.deucher@xxxxxxx>
Date: Mon, 19 May 2014 14:04:43 -0400
Subject: vgaswitcheroo: switch the mux to the igp on power down when
 runpm is enabled

From: Alex Deucher <alexander.deucher@xxxxxxx>

commit f2bc561610962693be61425cf913778586d8f9c1 upstream.

Avoids blank screens on muxed systems when runpm is active.

bug:
https://bugs.freedesktop.org/show_bug.cgi?id=75917

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

---
 drivers/gpu/vga/vga_switcheroo.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

--- a/drivers/gpu/vga/vga_switcheroo.c
+++ b/drivers/gpu/vga/vga_switcheroo.c
@@ -623,7 +623,8 @@ static int vga_switcheroo_runtime_suspen
 	ret = dev->bus->pm->runtime_suspend(dev);
 	if (ret)
 		return ret;
-
+	if (vgasr_priv.handler->switchto)
+		vgasr_priv.handler->switchto(VGA_SWITCHEROO_IGD);
 	vga_switcheroo_power_switch(pdev, VGA_SWITCHEROO_OFF);
 	return 0;
 }


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

queue-3.14/drm-radeon-only-apply-hdmi-bpc-pll-flags-when-encoder-mode-is-hdmi.patch
queue-3.14/drm-radeon-dpm-fix-typo-in-vddci-setup-for-eg-btc.patch
queue-3.14/drm-radeon-dpm-fix-vddci-setup-typo-on-cayman.patch
queue-3.14/drm-radeon-dp-fix-lane-clock-setup-for-dp-1.2-capable-devices.patch
queue-3.14/drm-radeon-fix-typo-in-radeon_connector_is_dp12_capable.patch
queue-3.14/drm-radeon-cik-fix-typo-in-eop-packet.patch
queue-3.14/drm-radeon-atom-fix-dithering-on-certain-panels.patch
queue-3.14/vgaswitcheroo-switch-the-mux-to-the-igp-on-power-down-when.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]