diff options
Diffstat (limited to 'drivers/gpu/drm/radeon/r600.c')
-rw-r--r-- | drivers/gpu/drm/radeon/r600.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/r600.c b/drivers/gpu/drm/radeon/r600.c index f9a83358aa5a..c52290197292 100644 --- a/drivers/gpu/drm/radeon/r600.c +++ b/drivers/gpu/drm/radeon/r600.c | |||
@@ -1970,6 +1970,13 @@ int r600_resume(struct radeon_device *rdev) | |||
1970 | DRM_ERROR("radeon: failled testing IB (%d).\n", r); | 1970 | DRM_ERROR("radeon: failled testing IB (%d).\n", r); |
1971 | return r; | 1971 | return r; |
1972 | } | 1972 | } |
1973 | |||
1974 | r = r600_audio_init(rdev); | ||
1975 | if (r) { | ||
1976 | DRM_ERROR("radeon: audio resume failed\n"); | ||
1977 | return r; | ||
1978 | } | ||
1979 | |||
1973 | return r; | 1980 | return r; |
1974 | } | 1981 | } |
1975 | 1982 | ||
@@ -1977,6 +1984,7 @@ int r600_suspend(struct radeon_device *rdev) | |||
1977 | { | 1984 | { |
1978 | int r; | 1985 | int r; |
1979 | 1986 | ||
1987 | r600_audio_fini(rdev); | ||
1980 | /* FIXME: we should wait for ring to be empty */ | 1988 | /* FIXME: we should wait for ring to be empty */ |
1981 | r600_cp_stop(rdev); | 1989 | r600_cp_stop(rdev); |
1982 | rdev->cp.ready = false; | 1990 | rdev->cp.ready = false; |