diff options
author | Christian König <christian.koenig@amd.com> | 2016-02-01 06:31:01 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-02-10 14:17:23 -0500 |
commit | 0856cab1a6298d9cbf037dc683ce514cadb28040 (patch) | |
tree | c0b0fa03d84ad2339399bc9e2d21688b300b36c9 | |
parent | d71518b5aa7c9c298ffbd12ddd23297e3373a37b (diff) |
drm/amdgpu: rename amdgpu_sched.c to amdgpu_job.c
That's probably a better matching name.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/Makefile | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_job.c (renamed from drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c) | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/Makefile b/drivers/gpu/drm/amd/amdgpu/Makefile index dceebbbf94b0..c7fcdcedaadb 100644 --- a/drivers/gpu/drm/amd/amdgpu/Makefile +++ b/drivers/gpu/drm/amd/amdgpu/Makefile | |||
@@ -93,7 +93,7 @@ amdgpu-y += amdgpu_cgs.o | |||
93 | amdgpu-y += \ | 93 | amdgpu-y += \ |
94 | ../scheduler/gpu_scheduler.o \ | 94 | ../scheduler/gpu_scheduler.o \ |
95 | ../scheduler/sched_fence.o \ | 95 | ../scheduler/sched_fence.o \ |
96 | amdgpu_sched.o | 96 | amdgpu_job.o |
97 | 97 | ||
98 | # ACP componet | 98 | # ACP componet |
99 | ifneq ($(CONFIG_DRM_AMD_ACP),) | 99 | ifneq ($(CONFIG_DRM_AMD_ACP),) |
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_job.c index bbdda727f89a..6f3e757e056e 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | |||
@@ -96,7 +96,7 @@ int amdgpu_job_submit(struct amdgpu_job *job, struct amdgpu_ring *ring, | |||
96 | return 0; | 96 | return 0; |
97 | } | 97 | } |
98 | 98 | ||
99 | static struct fence *amdgpu_sched_dependency(struct amd_sched_job *sched_job) | 99 | static struct fence *amdgpu_job_dependency(struct amd_sched_job *sched_job) |
100 | { | 100 | { |
101 | struct amdgpu_job *job = to_amdgpu_job(sched_job); | 101 | struct amdgpu_job *job = to_amdgpu_job(sched_job); |
102 | struct amdgpu_sync *sync = &job->ibs->sync; | 102 | struct amdgpu_sync *sync = &job->ibs->sync; |
@@ -121,7 +121,7 @@ static struct fence *amdgpu_sched_dependency(struct amd_sched_job *sched_job) | |||
121 | return fence; | 121 | return fence; |
122 | } | 122 | } |
123 | 123 | ||
124 | static struct fence *amdgpu_sched_run_job(struct amd_sched_job *sched_job) | 124 | static struct fence *amdgpu_job_run(struct amd_sched_job *sched_job) |
125 | { | 125 | { |
126 | struct fence *fence = NULL; | 126 | struct fence *fence = NULL; |
127 | struct amdgpu_job *job; | 127 | struct amdgpu_job *job; |
@@ -146,6 +146,6 @@ err: | |||
146 | } | 146 | } |
147 | 147 | ||
148 | struct amd_sched_backend_ops amdgpu_sched_ops = { | 148 | struct amd_sched_backend_ops amdgpu_sched_ops = { |
149 | .dependency = amdgpu_sched_dependency, | 149 | .dependency = amdgpu_job_dependency, |
150 | .run_job = amdgpu_sched_run_job, | 150 | .run_job = amdgpu_job_run, |
151 | }; | 151 | }; |