diff options
author | 2020-01-21 13:29:20 +0100 | |
---|---|---|
committer | 2020-01-22 16:55:27 -0500 | |
commit | 63e3ab9a8226c0271e823f32fc1c3de67d142c78 (patch) | |
tree | 04dd59677ecb56e75a69f0214a99caed1e1d9657 /drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.h | |
parent | Revert "drm/amdgpu: fix modprobe failure of the secondary GPU when GDDR6 trai... (diff) | |
download | linux-63e3ab9a8226c0271e823f32fc1c3de67d142c78.tar.gz linux-63e3ab9a8226c0271e823f32fc1c3de67d142c78.tar.bz2 linux-63e3ab9a8226c0271e823f32fc1c3de67d142c78.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.h index 4ad90a44dc3c..a6cd9d4b078c 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.h @@ -42,7 +42,6 @@ struct amdgpu_ctx { unsigned reset_counter_query; uint32_t vram_lost_counter; spinlock_t ring_lock; - struct dma_fence **fences; struct amdgpu_ctx_entity *entities[AMDGPU_HW_IP_NUM]; bool preamble_presented; enum drm_sched_priority init_priority; |