File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
drivers/gpu/drm/amd/amdgpu Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -4020,8 +4020,8 @@ void amdgpu_device_fini_sw(struct amdgpu_device *adev)
4020
4020
int idx ;
4021
4021
bool px ;
4022
4022
4023
- amdgpu_fence_driver_sw_fini (adev );
4024
4023
amdgpu_device_ip_fini (adev );
4024
+ amdgpu_fence_driver_sw_fini (adev );
4025
4025
amdgpu_ucode_release (& adev -> firmware .gpu_info_fw );
4026
4026
adev -> accel_working = false;
4027
4027
dma_fence_put (rcu_dereference_protected (adev -> gang_submit , true));
Original file line number Diff line number Diff line change @@ -214,15 +214,15 @@ int amdgpu_vce_sw_fini(struct amdgpu_device *adev)
214
214
215
215
drm_sched_entity_destroy (& adev -> vce .entity );
216
216
217
- amdgpu_bo_free_kernel (& adev -> vce .vcpu_bo , & adev -> vce .gpu_addr ,
218
- (void * * )& adev -> vce .cpu_addr );
219
-
220
217
for (i = 0 ; i < adev -> vce .num_rings ; i ++ )
221
218
amdgpu_ring_fini (& adev -> vce .ring [i ]);
222
219
223
220
amdgpu_ucode_release (& adev -> vce .fw );
224
221
mutex_destroy (& adev -> vce .idle_mutex );
225
222
223
+ amdgpu_bo_free_kernel (& adev -> vce .vcpu_bo , & adev -> vce .gpu_addr ,
224
+ (void * * )& adev -> vce .cpu_addr );
225
+
226
226
return 0 ;
227
227
}
228
228
You can’t perform that action at this time.
0 commit comments