[PATCH 10/11] apple-gmux: Indicate that driver supports changing of GPU power states
Matthew Garrett
matthew.garrett at nebula.com
Sun Jun 1 09:38:42 PDT 2014
The Apple GMUX can cut power to the discrete GPU, so should declare this
to the vga_switcheroo core.
Signed-off-by: Matthew Garrett <matthew.garrett at nebula.com>
---
drivers/platform/x86/apple-gmux.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/platform/x86/apple-gmux.c b/drivers/platform/x86/apple-gmux.c
index e9b6d77..17f906d 100644
--- a/drivers/platform/x86/apple-gmux.c
+++ b/drivers/platform/x86/apple-gmux.c
@@ -359,6 +359,7 @@ static struct vga_switcheroo_handler gmux_handler = {
.switch_ddc = gmux_switch_ddc,
.power_state = gmux_set_power_state,
.get_client_id = gmux_get_client_id,
+ .handler_pm = true,
};
static inline void gmux_disable_interrupts(struct apple_gmux_data *gmux_data)
--
1.8.5.3
More information about the dri-devel
mailing list