aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_dma.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2010-12-06 17:57:57 -0500
committerDave Airlie <airlied@redhat.com>2011-01-04 22:44:07 -0500
commit8d608aa6295242fe4c4b6105b8c59c6a5b232d89 (patch)
tree89205a1d839b0b002ec58d7988c2bebea7d8efc8 /drivers/gpu/drm/i915/i915_dma.c
parentd1fbd923da0f982f12b61a44e74c2e1f74c6ef56 (diff)
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 'drivers/gpu/drm/i915/i915_dma.c')
-rw-r--r--drivers/gpu/drm/i915/i915_dma.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i915/i915_dma.c
index 8cb7f93732c2..ec1f650f6fab 100644
--- a/drivers/gpu/drm/i915/i915_dma.c
+++ b/drivers/gpu/drm/i915/i915_dma.c
@@ -1231,6 +1231,7 @@ static int i915_load_modeset_init(struct drm_device *dev)
1231 1231
1232 ret = vga_switcheroo_register_client(dev->pdev, 1232 ret = vga_switcheroo_register_client(dev->pdev,
1233 i915_switcheroo_set_state, 1233 i915_switcheroo_set_state,
1234 NULL,
1234 i915_switcheroo_can_switch); 1235 i915_switcheroo_can_switch);
1235 if (ret) 1236 if (ret)
1236 goto cleanup_vga_client; 1237 goto cleanup_vga_client;