summaryrefslogtreecommitdiff
path: root/include/linux/vga_switcheroo.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2010-12-07 01:57:57 +0300
committerDave Airlie <airlied@redhat.com>2011-01-05 06:44:07 +0300
commit8d608aa6295242fe4c4b6105b8c59c6a5b232d89 (patch)
tree89205a1d839b0b002ec58d7988c2bebea7d8efc8 /include/linux/vga_switcheroo.h
parentd1fbd923da0f982f12b61a44e74c2e1f74c6ef56 (diff)
downloadlinux-8d608aa6295242fe4c4b6105b8c59c6a5b232d89.tar.xz
vga_switcheroo: add reprobe hook for fbcon to recheck connected outputs.
This adds a hook after the mux is switched for the driver to reprobe the connected outputs. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/linux/vga_switcheroo.h')
-rw-r--r--include/linux/vga_switcheroo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/vga_switcheroo.h b/include/linux/vga_switcheroo.h
index ae9ab13b963d..f80fa9de5b82 100644
--- a/include/linux/vga_switcheroo.h
+++ b/include/linux/vga_switcheroo.h
@@ -33,6 +33,7 @@ struct vga_switcheroo_handler {
void vga_switcheroo_unregister_client(struct pci_dev *dev);
int vga_switcheroo_register_client(struct pci_dev *dev,
void (*set_gpu_state)(struct pci_dev *dev, enum vga_switcheroo_state),
+ void (*reprobe)(struct pci_dev *dev),
bool (*can_switch)(struct pci_dev *dev));
void vga_switcheroo_client_fb_set(struct pci_dev *dev,