diff options
author | Dave Airlie <airlied@redhat.com> | 2010-12-06 17:57:57 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-01-04 22:44:07 -0500 |
commit | 8d608aa6295242fe4c4b6105b8c59c6a5b232d89 (patch) | |
tree | 89205a1d839b0b002ec58d7988c2bebea7d8efc8 /drivers/gpu/drm/radeon | |
parent | d1fbd923da0f982f12b61a44e74c2e1f74c6ef56 (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/radeon')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_device.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_device.c b/drivers/gpu/drm/radeon/radeon_device.c index 96f0eb484ce6..1a1017f0d9db 100644 --- a/drivers/gpu/drm/radeon/radeon_device.c +++ b/drivers/gpu/drm/radeon/radeon_device.c | |||
@@ -779,6 +779,7 @@ int radeon_device_init(struct radeon_device *rdev, | |||
779 | vga_client_register(rdev->pdev, rdev, NULL, radeon_vga_set_decode); | 779 | vga_client_register(rdev->pdev, rdev, NULL, radeon_vga_set_decode); |
780 | vga_switcheroo_register_client(rdev->pdev, | 780 | vga_switcheroo_register_client(rdev->pdev, |
781 | radeon_switcheroo_set_state, | 781 | radeon_switcheroo_set_state, |
782 | NULL, | ||
782 | radeon_switcheroo_can_switch); | 783 | radeon_switcheroo_can_switch); |
783 | 784 | ||
784 | r = radeon_init(rdev); | 785 | r = radeon_init(rdev); |