From 0856cab1a6298d9cbf037dc683ce514cadb28040 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Christian=20K=C3=B6nig?= Date: Mon, 1 Feb 2016 12:31:01 +0100 Subject: [PATCH] drm/amdgpu: rename amdgpu_sched.c to amdgpu_job.c MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit That's probably a better matching name. Signed-off-by: Christian König Reviewed-by: Alex Deucher Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/Makefile | 2 +- .../gpu/drm/amd/amdgpu/{amdgpu_sched.c => amdgpu_job.c} | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) rename drivers/gpu/drm/amd/amdgpu/{amdgpu_sched.c => amdgpu_job.c} (94%) 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 similarity index 94% rename from drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c rename to 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, }; -- 2.30.2