diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2010-06-19 12:24:56 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-08-02 10:00:06 +1000 |
commit | 7eea7e9eea106a9c49cddf780f590dd8161481fa (patch) | |
tree | 84a31f2fd452ee22ab0cdcbee1c5fb77896408cd /drivers/gpu/drm/radeon/radeon.h | |
parent | e7aeeba6a8fb86ac52bcffa0b72942f784f2b37f (diff) | |
download | talos-op-linux-7eea7e9eea106a9c49cddf780f590dd8161481fa.tar.gz talos-op-linux-7eea7e9eea106a9c49cddf780f590dd8161481fa.zip |
drm/radeon/kms: track audio engine state, do not use not setup timer
This is needed to enable audio support on devices using polling. In case user
decides to disable audio (module parameter) we still will try to use timer in
r600_audio_enable_polling. This would lead to BUG in kernel/timer.c.
Signed-off-by: Rafał Miłecki <zajec5@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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon.h b/drivers/gpu/drm/radeon/radeon.h index be8420e65f01..03141755c2ea 100644 --- a/drivers/gpu/drm/radeon/radeon.h +++ b/drivers/gpu/drm/radeon/radeon.h @@ -1084,6 +1084,7 @@ struct radeon_device { struct mutex vram_mutex; /* audio stuff */ + bool audio_enabled; struct timer_list audio_timer; int audio_channels; int audio_rate; |