summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorChunming Zhou <david1.zhou@amd.com>2015-08-03 12:57:31 +0800
committerAlex Deucher <alexander.deucher@amd.com>2015-08-17 16:51:07 -0400
commit4af9f07ccdac96e16f7a0ddaf983891a29ebd11a (patch)
tree2c95acf9753bb1881b174e700b9b38bcc81870ea /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parent953e8fd4e734857f6dabbaf325035bf10c4a9c7a (diff)
drm/amdgpu: use kernel submit helper in vm
Signed-off-by: Chunming Zhou <david1.zhou@amd.com> Reviewed-by: Christian K?nig <christian.koenig@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index 1e6800050ad8..987e3075a03f 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -1235,19 +1235,6 @@ struct amdgpu_cs_chunk {
void __user *user_ptr;
};
-union amdgpu_sched_job_param {
- struct {
- struct amdgpu_vm *vm;
- uint64_t start;
- uint64_t last;
- struct fence **fence;
-
- } vm_mapping;
- struct {
- struct amdgpu_bo *bo;
- } vm;
-};
-
struct amdgpu_cs_parser {
struct amdgpu_device *adev;
struct drm_file *filp;
@@ -1272,7 +1259,6 @@ struct amdgpu_cs_parser {
struct mutex job_lock;
struct work_struct job_work;
int (*prepare_job)(struct amdgpu_cs_parser *sched_job);
- union amdgpu_sched_job_param job_param;
int (*run_job)(struct amdgpu_cs_parser *sched_job);
int (*free_job)(struct amdgpu_cs_parser *sched_job);
};