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 @@ -4008,8 +4008,8 @@ void amdgpu_device_fini_hw(struct amdgpu_device *adev)
4008
4008
4009
4009
void amdgpu_device_fini_sw (struct amdgpu_device * adev )
4010
4010
{
4011
- amdgpu_fence_driver_sw_fini (adev );
4012
4011
amdgpu_device_ip_fini (adev );
4012
+ amdgpu_fence_driver_sw_fini (adev );
4013
4013
release_firmware (adev -> firmware .gpu_info_fw );
4014
4014
adev -> firmware .gpu_info_fw = NULL ;
4015
4015
adev -> accel_working = false;
Original file line number Diff line number Diff line change @@ -220,15 +220,15 @@ int amdgpu_vce_sw_fini(struct amdgpu_device *adev)
220
220
221
221
drm_sched_entity_destroy (& adev -> vce .entity );
222
222
223
- amdgpu_bo_free_kernel (& adev -> vce .vcpu_bo , & adev -> vce .gpu_addr ,
224
- (void * * )& adev -> vce .cpu_addr );
225
-
226
223
for (i = 0 ; i < adev -> vce .num_rings ; i ++ )
227
224
amdgpu_ring_fini (& adev -> vce .ring [i ]);
228
225
229
226
release_firmware (adev -> vce .fw );
230
227
mutex_destroy (& adev -> vce .idle_mutex );
231
228
229
+ amdgpu_bo_free_kernel (& adev -> vce .vcpu_bo , & adev -> vce .gpu_addr ,
230
+ (void * * )& adev -> vce .cpu_addr );
231
+
232
232
return 0 ;
233
233
}
234
234
You can’t perform that action at this time.
0 commit comments