diff options
author | Monk Liu <Monk.Liu@amd.com> | 2016-08-25 03:40:48 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-09-12 18:12:17 -0400 |
commit | 3aecd24c65b9539b6faac2a52a9aaa7bc90f4677 (patch) | |
tree | 60f9c78fd04b2865ccdfe093e96b0608ceefc7df /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
parent | d4946ccfd0373610ffa6181cffae236bf07d3aff (diff) |
drm/amdgpu: change job->ctx field name
job->ctx actually is a fence_context of the entity
it belongs to, naming it as ctx is too vague, and
we'll need add amdgpu_ctx into the job structure
later.
Signed-off-by: Monk Liu <Monk.Liu@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.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index 39baabe5f092..10ec29c50077 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h | |||
@@ -1241,7 +1241,7 @@ struct amdgpu_job { | |||
1241 | struct fence *fence; /* the hw fence */ | 1241 | struct fence *fence; /* the hw fence */ |
1242 | uint32_t num_ibs; | 1242 | uint32_t num_ibs; |
1243 | void *owner; | 1243 | void *owner; |
1244 | uint64_t ctx; | 1244 | uint64_t fence_ctx; /* the fence_context this job uses */ |
1245 | bool vm_needs_flush; | 1245 | bool vm_needs_flush; |
1246 | unsigned vm_id; | 1246 | unsigned vm_id; |
1247 | uint64_t vm_pd_addr; | 1247 | uint64_t vm_pd_addr; |