aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
index c0f06c02f2de..0120b24fae1b 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
@@ -444,7 +444,7 @@ void amdgpu_ctx_mgr_init(struct amdgpu_ctx_mgr *mgr)
444 idr_init(&mgr->ctx_handles); 444 idr_init(&mgr->ctx_handles);
445} 445}
446 446
447void amdgpu_ctx_mgr_entity_fini(struct amdgpu_ctx_mgr *mgr) 447void amdgpu_ctx_mgr_entity_flush(struct amdgpu_ctx_mgr *mgr)
448{ 448{
449 struct amdgpu_ctx *ctx; 449 struct amdgpu_ctx *ctx;
450 struct idr *idp; 450 struct idr *idp;
@@ -473,7 +473,7 @@ void amdgpu_ctx_mgr_entity_fini(struct amdgpu_ctx_mgr *mgr)
473 mutex_unlock(&mgr->lock); 473 mutex_unlock(&mgr->lock);
474} 474}
475 475
476void amdgpu_ctx_mgr_entity_cleanup(struct amdgpu_ctx_mgr *mgr) 476void amdgpu_ctx_mgr_entity_fini(struct amdgpu_ctx_mgr *mgr)
477{ 477{
478 struct amdgpu_ctx *ctx; 478 struct amdgpu_ctx *ctx;
479 struct idr *idp; 479 struct idr *idp;
@@ -506,7 +506,7 @@ void amdgpu_ctx_mgr_fini(struct amdgpu_ctx_mgr *mgr)
506 struct idr *idp; 506 struct idr *idp;
507 uint32_t id; 507 uint32_t id;
508 508
509 amdgpu_ctx_mgr_entity_cleanup(mgr); 509 amdgpu_ctx_mgr_entity_fini(mgr);
510 510
511 idp = &mgr->ctx_handles; 511 idp = &mgr->ctx_handles;
512 512