]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: individualize fence allocation per entity
authorNirmoy Das <nirmoy.das@amd.com>
Tue, 21 Jan 2020 12:29:20 +0000 (13:29 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 22 Jan 2020 21:55:27 +0000 (16:55 -0500)
commit35cf55c20b0bd8832e13b3bf1ab73262a9850da2
tree04dd59677ecb56e75a69f0214a99caed1e1d9657
parent731a3562090039f9a6e2eee4536dcdc0eb839352
drm/amdgpu: individualize fence allocation per entity

Allocate fences for each entity and remove ctx->fences reference as
fences should be bound to amdgpu_ctx_entity instead amdgpu_ctx.

Signed-off-by: Nirmoy Das <nirmoy.das@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.h