diff options
author | Jerome Glisse <jglisse@redhat.com> | 2014-02-27 04:22:47 +0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2014-02-27 23:10:35 +0400 |
commit | d965441342f3b7d63db784cad852328d17d47942 (patch) | |
tree | 06f0f34f7b511555e70cf2676a5128b53b614e15 /drivers/gpu/drm/radeon/evergreen.c | |
parent | 9ef4e1d000a5b335fcebfcf8aef3405e59574c89 (diff) | |
download | linux-d965441342f3b7d63db784cad852328d17d47942.tar.xz |
drm/radeon: free uvd ring on unload
Need to free the uvd ring. Also reshuffle gart tear down to
happen after uvd tear down.
Signed-off-by: Jérôme Glisse <jglisse@redhat.com>
Cc: stable@vger.kernel.org
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/evergreen.c')
-rw-r--r-- | drivers/gpu/drm/radeon/evergreen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/evergreen.c b/drivers/gpu/drm/radeon/evergreen.c index 5623e7542d99..8a2c010b7dc5 100644 --- a/drivers/gpu/drm/radeon/evergreen.c +++ b/drivers/gpu/drm/radeon/evergreen.c @@ -5475,9 +5475,9 @@ void evergreen_fini(struct radeon_device *rdev) radeon_wb_fini(rdev); radeon_ib_pool_fini(rdev); radeon_irq_kms_fini(rdev); - evergreen_pcie_gart_fini(rdev); uvd_v1_0_fini(rdev); radeon_uvd_fini(rdev); + evergreen_pcie_gart_fini(rdev); r600_vram_scratch_fini(rdev); radeon_gem_fini(rdev); radeon_fence_driver_fini(rdev); |