mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 19:29:37 +00:00
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>
This commit is contained in:
parent
d71518b5aa
commit
0856cab1a6
2 changed files with 5 additions and 5 deletions
|
@ -93,7 +93,7 @@ amdgpu-y += amdgpu_cgs.o
|
||||||
amdgpu-y += \
|
amdgpu-y += \
|
||||||
../scheduler/gpu_scheduler.o \
|
../scheduler/gpu_scheduler.o \
|
||||||
../scheduler/sched_fence.o \
|
../scheduler/sched_fence.o \
|
||||||
amdgpu_sched.o
|
amdgpu_job.o
|
||||||
|
|
||||||
# ACP componet
|
# ACP componet
|
||||||
ifneq ($(CONFIG_DRM_AMD_ACP),)
|
ifneq ($(CONFIG_DRM_AMD_ACP),)
|
||||||
|
|
|
@ -96,7 +96,7 @@ int amdgpu_job_submit(struct amdgpu_job *job, struct amdgpu_ring *ring,
|
||||||
return 0;
|
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_job *job = to_amdgpu_job(sched_job);
|
||||||
struct amdgpu_sync *sync = &job->ibs->sync;
|
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;
|
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 fence *fence = NULL;
|
||||||
struct amdgpu_job *job;
|
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 = {
|
struct amd_sched_backend_ops amdgpu_sched_ops = {
|
||||||
.dependency = amdgpu_sched_dependency,
|
.dependency = amdgpu_job_dependency,
|
||||||
.run_job = amdgpu_sched_run_job,
|
.run_job = amdgpu_job_run,
|
||||||
};
|
};
|
Loading…
Reference in a new issue