diff options
author | Christian König <christian.koenig@amd.com> | 2018-07-30 08:17:41 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-07-31 17:58:18 -0400 |
commit | a0f208453b97565dab8c334ff013aa5ab3c66d0c (patch) | |
tree | cc476bf48d6d286d729c807c677a4ad449b0fb6d /drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | |
parent | 81c6dabcc990c341793368db985ee8aca5713b16 (diff) |
drm/amdgpu: nuke amdgpu_bo_list_free
The RCU grace period is harmless and avoiding it is not worth the effort
of doubling the implementation.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c index dd2132fa2b89..bd98cc5fb97b 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | |||
@@ -967,7 +967,7 @@ void amdgpu_driver_postclose_kms(struct drm_device *dev, | |||
967 | amdgpu_bo_unref(&pd); | 967 | amdgpu_bo_unref(&pd); |
968 | 968 | ||
969 | idr_for_each_entry(&fpriv->bo_list_handles, list, handle) | 969 | idr_for_each_entry(&fpriv->bo_list_handles, list, handle) |
970 | amdgpu_bo_list_free(list); | 970 | amdgpu_bo_list_put(list); |
971 | 971 | ||
972 | idr_destroy(&fpriv->bo_list_handles); | 972 | idr_destroy(&fpriv->bo_list_handles); |
973 | mutex_destroy(&fpriv->bo_list_lock); | 973 | mutex_destroy(&fpriv->bo_list_lock); |