]> 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)
commitbdedba6e73638ae197c51ab1d422bab4254059a0
tree04dd59677ecb56e75a69f0214a99caed1e1d9657
parentacb9e7cb6c18c381bb94d4da7df2b9acbba24691
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