diff options
author | Dave Airlie <airlied@redhat.com> | 2010-12-07 08:57:57 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-01-05 13:44:07 +1000 |
commit | 8d608aa6295242fe4c4b6105b8c59c6a5b232d89 (patch) | |
tree | 89205a1d839b0b002ec58d7988c2bebea7d8efc8 /drivers/gpu/drm/radeon/radeon_device.c | |
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/radeon_device.c')
-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 96f0eb484ce..1a1017f0d9d 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, vga_client_register(rdev->pdev, rdev, NULL, radeon_vga_set_decode); vga_switcheroo_register_client(rdev->pdev, radeon_switcheroo_set_state, + NULL, radeon_switcheroo_can_switch); r = radeon_init(rdev); |