diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2010-03-24 13:55:51 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-04-08 20:16:09 -0400 |
commit | 45f9a39bedc3afab3fc85567792efc0103f34a55 (patch) | |
tree | 57a16fa09b3c31ee56d9c4803de00a477d7396ff /drivers/gpu/drm/radeon/radeon.h | |
parent | fe251e2fffa1ebc17c8e6e895b0374ae4e732fa5 (diff) |
drm/radeon/kms/evergreen: implement irq support
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 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index acf21d7e3cb2..e0132ef093b4 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++ b/drivers/gpu/drm/radeon/radeon.h | |||
@@ -372,7 +372,7 @@ struct radeon_irq { | |||
372 | bool installed; | 372 | bool installed; |
373 | bool sw_int; | 373 | bool sw_int; |
374 | /* FIXME: use a define max crtc rather than hardcode it */ | 374 | /* FIXME: use a define max crtc rather than hardcode it */ |
375 | bool crtc_vblank_int[2]; | 375 | bool crtc_vblank_int[6]; |
376 | wait_queue_head_t vblank_queue; | 376 | wait_queue_head_t vblank_queue; |
377 | /* FIXME: use defines for max hpd/dacs */ | 377 | /* FIXME: use defines for max hpd/dacs */ |
378 | bool hpd[6]; | 378 | bool hpd[6]; |
@@ -1324,6 +1324,8 @@ extern void r600_irq_fini(struct radeon_device *rdev); | |||
1324 | extern void r600_ih_ring_init(struct radeon_device *rdev, unsigned ring_size); | 1324 | extern void r600_ih_ring_init(struct radeon_device *rdev, unsigned ring_size); |
1325 | extern int r600_irq_set(struct radeon_device *rdev); | 1325 | extern int r600_irq_set(struct radeon_device *rdev); |
1326 | extern void r600_irq_suspend(struct radeon_device *rdev); | 1326 | extern void r600_irq_suspend(struct radeon_device *rdev); |
1327 | extern void r600_disable_interrupts(struct radeon_device *rdev); | ||
1328 | extern void r600_rlc_stop(struct radeon_device *rdev); | ||
1327 | /* r600 audio */ | 1329 | /* r600 audio */ |
1328 | extern int r600_audio_init(struct radeon_device *rdev); | 1330 | extern int r600_audio_init(struct radeon_device *rdev); |
1329 | extern int r600_audio_tmds_index(struct drm_encoder *encoder); | 1331 | extern int r600_audio_tmds_index(struct drm_encoder *encoder); |
@@ -1343,6 +1345,7 @@ extern void r600_hdmi_update_audio_settings(struct drm_encoder *encoder, | |||
1343 | 1345 | ||
1344 | extern void r700_cp_stop(struct radeon_device *rdev); | 1346 | extern void r700_cp_stop(struct radeon_device *rdev); |
1345 | extern void r700_cp_fini(struct radeon_device *rdev); | 1347 | extern void r700_cp_fini(struct radeon_device *rdev); |
1348 | void evergreen_disable_interrupt_state(struct radeon_device *rdev); | ||
1346 | 1349 | ||
1347 | /* evergreen */ | 1350 | /* evergreen */ |
1348 | struct evergreen_mc_save { | 1351 | struct evergreen_mc_save { |