aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2016-05-06 09:57:42 -0400
committerAlex Deucher <alexander.deucher@amd.com>2016-05-11 13:30:31 -0400
commit92f250989b7098f4b52d50183a7b2fc4e010731b (patch)
tree27e9b9a83675ce36313a789dac7ad27a827d671f /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parentf153d2867bf74f84d47f67c377a8e3a34865e562 (diff)
drm/amdgpu: move the context from the IBs into the job
We only have one context for all IBs. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@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.h2
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 db87edc72936..9b55ad351602 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -743,7 +743,6 @@ struct amdgpu_ib {
743 struct amdgpu_user_fence *user; 743 struct amdgpu_user_fence *user;
744 unsigned vm_id; 744 unsigned vm_id;
745 uint64_t vm_pd_addr; 745 uint64_t vm_pd_addr;
746 uint64_t ctx;
747 uint32_t gds_base, gds_size; 746 uint32_t gds_base, gds_size;
748 uint32_t gws_base, gws_size; 747 uint32_t gws_base, gws_size;
749 uint32_t oa_base, oa_size; 748 uint32_t oa_base, oa_size;
@@ -1262,6 +1261,7 @@ struct amdgpu_job {
1262 struct fence *fence; /* the hw fence */ 1261 struct fence *fence; /* the hw fence */
1263 uint32_t num_ibs; 1262 uint32_t num_ibs;
1264 void *owner; 1263 void *owner;
1264 uint64_t ctx;
1265 struct amdgpu_user_fence uf; 1265 struct amdgpu_user_fence uf;
1266}; 1266};
1267#define to_amdgpu_job(sched_job) \ 1267#define to_amdgpu_job(sched_job) \