diff options
author | Christian König <deathsimple@vodafone.de> | 2010-04-05 16:14:55 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-04-23 00:11:17 -0400 |
commit | 58bd086313ea0eda037f65b9bda2b3decb959a31 (patch) | |
tree | 7d82481314d6e3c27a3639f99e115dd672a6ac6e /drivers/gpu/drm/radeon/radeon_mode.h | |
parent | 61cf059325a30995a78c5001db2ed2a8ab1d4c36 (diff) |
drm/radeon/kms: rework audio polling timer
Rework HDMI audio polling timer, only enable it when
at least one HDMI encoder needs it. Preparation for
replacing it with irq support.
Signed-off-by: Christian König <deathsimple@vodafone.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_mode.h')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_mode.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_mode.h b/drivers/gpu/drm/radeon/radeon_mode.h index 4a086c09e117..dd451c55c533 100644 --- a/drivers/gpu/drm/radeon/radeon_mode.h +++ b/drivers/gpu/drm/radeon/radeon_mode.h | |||
@@ -345,6 +345,7 @@ struct radeon_encoder { | |||
345 | enum radeon_rmx_type rmx_type; | 345 | enum radeon_rmx_type rmx_type; |
346 | struct drm_display_mode native_mode; | 346 | struct drm_display_mode native_mode; |
347 | void *enc_priv; | 347 | void *enc_priv; |
348 | int audio_polling_active; | ||
348 | int hdmi_offset; | 349 | int hdmi_offset; |
349 | int hdmi_config_offset; | 350 | int hdmi_config_offset; |
350 | int hdmi_audio_workaround; | 351 | int hdmi_audio_workaround; |