OSDN Git Service

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)
commit63e3ab9a8226c0271e823f32fc1c3de67d142c78
tree04dd59677ecb56e75a69f0214a99caed1e1d9657
parent7db1d560a4fab1e4668b1964e77f52cefce9e9c7
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