diff options
| author | Chunming Zhou <[email protected]> | 2015-07-21 13:17:19 +0800 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2015-08-17 16:50:32 -0400 |
| commit | 9cb7e5a91f6cd4dc018cca7120d2da067f816d3a (patch) | |
| tree | 6d221842a748e103ad700841d94f7064a65c87d0 /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
| parent | b80d8475c1fdf5f4bcabb65168b2e8a9c3d77731 (diff) | |
drm/amdgpu: add context entity init
Signed-off-by: Chunming Zhou <[email protected]>
Acked-by: Christian K?nig <[email protected]>
Reviewed-by: Jammy Zhou <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index 815d40f5e6e1..776339c2a95e 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h @@ -994,10 +994,12 @@ struct amdgpu_vm_manager { struct amdgpu_ctx_ring { uint64_t sequence; struct fence *fences[AMDGPU_CTX_MAX_CS_PENDING]; + struct amd_context_entity c_entity; }; struct amdgpu_ctx { struct kref refcount; + struct amdgpu_device *adev; unsigned reset_counter; spinlock_t ring_lock; struct amdgpu_ctx_ring rings[AMDGPU_MAX_RINGS]; |