diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2009-12-04 21:56:37 (GMT) |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-12-08 00:48:22 (GMT) |
commit | d4877cf2293f5463f531769fd12300cb3417c778 (patch) | |
tree | ee9533aaf9fac0bbec859cf5d888fa73a71875bd /drivers/gpu/drm/radeon/radeon.h | |
parent | 429770b3e39999c4d025fbcb9959502adc3989d8 (diff) | |
download | linux-fsl-qoriq-d4877cf2293f5463f531769fd12300cb3417c778.tar.xz |
drm/radeon/kms: enable hpd support
This enabled interrupt driven hpd support for all
radeon chips. Assuming the hpd pin is wired up
correctly, the driver will generate uevents on
digital monitor connect and disconnect and retrain
DP monitors automatically.
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon.h')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index 29c6e0a..a15cf9c 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++ b/drivers/gpu/drm/radeon/radeon.h @@ -809,6 +809,8 @@ struct radeon_device { struct r600_blit r600_blit; int msi_enabled; /* msi enabled */ struct r600_ih ih; /* r6/700 interrupt ring */ + struct workqueue_struct *wq; + struct work_struct hotplug_work; }; int radeon_device_init(struct radeon_device *rdev, |