drm/radeon/kms: HDMI irq support
Implements irq support for HDMI audio output. Now the polling timer is only enabled if irq support isn't available. Signed-off-by: Christian König <deathsimple@vodafone.de> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:

committed by
Dave Airlie

parent
58bd086313
commit
f2594933df
@@ -376,6 +376,8 @@ struct radeon_irq {
|
||||
wait_queue_head_t vblank_queue;
|
||||
/* FIXME: use defines for max hpd/dacs */
|
||||
bool hpd[6];
|
||||
/* FIXME: use defines for max HDMI blocks */
|
||||
bool hdmi[2];
|
||||
spinlock_t sw_lock;
|
||||
int sw_refcount;
|
||||
};
|
||||
@@ -1332,6 +1334,7 @@ extern int r600_audio_bits_per_sample(struct radeon_device *rdev);
|
||||
extern int r600_audio_rate(struct radeon_device *rdev);
|
||||
extern uint8_t r600_audio_status_bits(struct radeon_device *rdev);
|
||||
extern uint8_t r600_audio_category_code(struct radeon_device *rdev);
|
||||
extern void r600_audio_schedule_polling(struct radeon_device *rdev);
|
||||
extern void r600_audio_enable_polling(struct drm_encoder *encoder);
|
||||
extern void r600_audio_disable_polling(struct drm_encoder *encoder);
|
||||
extern void r600_audio_fini(struct radeon_device *rdev);
|
||||
|
Reference in New Issue
Block a user