diff options
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index 9a03d566bf6d..6c7eee93cdd1 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h | |||
@@ -578,11 +578,14 @@ int amdgpu_gem_debugfs_init(struct amdgpu_device *adev); | |||
578 | * Assumption is that there won't be hole (all object on same | 578 | * Assumption is that there won't be hole (all object on same |
579 | * alignment). | 579 | * alignment). |
580 | */ | 580 | */ |
581 | |||
582 | #define AMDGPU_SA_NUM_FENCE_LISTS 32 | ||
583 | |||
581 | struct amdgpu_sa_manager { | 584 | struct amdgpu_sa_manager { |
582 | wait_queue_head_t wq; | 585 | wait_queue_head_t wq; |
583 | struct amdgpu_bo *bo; | 586 | struct amdgpu_bo *bo; |
584 | struct list_head *hole; | 587 | struct list_head *hole; |
585 | struct list_head flist[AMDGPU_MAX_RINGS]; | 588 | struct list_head flist[AMDGPU_SA_NUM_FENCE_LISTS]; |
586 | struct list_head olist; | 589 | struct list_head olist; |
587 | unsigned size; | 590 | unsigned size; |
588 | uint64_t gpu_addr; | 591 | uint64_t gpu_addr; |