]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu: Remove duplicated "context still alive" check
authorTvrtko Ursulin <tvrtko.ursulin@igalia.com>
Mon, 19 May 2025 16:37:12 +0000 (17:37 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 22 May 2025 16:02:25 +0000 (12:02 -0400)
commitdd64956685fa48358c4152d952070c8c073e5f89
treefa757df28bad1996e904945269c99b45df5ce92a
parent16f2c942b6e44a0c3970134c8c460c7fd465ac9d
drm/amdgpu: Remove duplicated "context still alive" check

When amdgpu_ctx_mgr_fini() calls amdgpu_ctx_mgr_entity_fini() it contains
the exact same "context still alive" check as it will do next. Remove the
duplicated copy.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c