Commit 0856cab1 authored by Christian König's avatar Christian König Committed by Alex Deucher

drm/amdgpu: rename amdgpu_sched.c to amdgpu_job.c

That's probably a better matching name.
Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucer@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent d71518b5
......@@ -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),)
......
......@@ -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 @@ static struct fence *amdgpu_sched_run_job(struct amd_sched_job *sched_job)
}
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,
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment