diff options
| author | Christian König <[email protected]> | 2016-02-01 11:31:01 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2016-02-10 19:17:23 +0000 |
| commit | 0856cab1a6298d9cbf037dc683ce514cadb28040 (patch) | |
| tree | c0b0fa03d84ad2339399bc9e2d21688b300b36c9 /drivers/gpu/drm/amd/amdgpu | |
| parent | drm/amdgpu: cleanup in kernel job submission (diff) | |
| download | kernel-0856cab1a6298d9cbf037dc683ce514cadb28040.tar.gz kernel-0856cab1a6298d9cbf037dc683ce514cadb28040.zip | |
drm/amdgpu: rename amdgpu_sched.c to amdgpu_job.c
That's probably a better matching name.
Signed-off-by: Christian König <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
| -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 amdgpu-y += \ ../scheduler/gpu_scheduler.o \ ../scheduler/sched_fence.o \ - amdgpu_sched.o + amdgpu_job.o # ACP componet 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, return 0; } -static struct fence *amdgpu_sched_dependency(struct amd_sched_job *sched_job) +static struct fence *amdgpu_job_dependency(struct amd_sched_job *sched_job) { struct amdgpu_job *job = to_amdgpu_job(sched_job); struct amdgpu_sync *sync = &job->ibs->sync; @@ -121,7 +121,7 @@ static struct fence *amdgpu_sched_dependency(struct amd_sched_job *sched_job) return fence; } -static struct fence *amdgpu_sched_run_job(struct amd_sched_job *sched_job) +static struct fence *amdgpu_job_run(struct amd_sched_job *sched_job) { struct fence *fence = NULL; struct amdgpu_job *job; @@ -146,6 +146,6 @@ err: } struct amd_sched_backend_ops amdgpu_sched_ops = { - .dependency = amdgpu_sched_dependency, - .run_job = amdgpu_sched_run_job, + .dependency = amdgpu_job_dependency, + .run_job = amdgpu_job_run, }; |
