Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Christian König and committed by
Alex Deucher
0856cab1 d71518b5

+5 -5
+1 -1
drivers/gpu/drm/amd/amdgpu/Makefile
··· 93 93 amdgpu-y += \ 94 94 ../scheduler/gpu_scheduler.o \ 95 95 ../scheduler/sched_fence.o \ 96 - amdgpu_sched.o 96 + amdgpu_job.o 97 97 98 98 # ACP componet 99 99 ifneq ($(CONFIG_DRM_AMD_ACP),)
+4 -4
drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c drivers/gpu/drm/amd/amdgpu/amdgpu_job.c
··· 96 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 101 struct amdgpu_job *job = to_amdgpu_job(sched_job); 102 102 struct amdgpu_sync *sync = &job->ibs->sync; ··· 121 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 126 struct fence *fence = NULL; 127 127 struct amdgpu_job *job; ··· 146 146 } 147 147 148 148 struct amd_sched_backend_ops amdgpu_sched_ops = { 149 - .dependency = amdgpu_sched_dependency, 150 - .run_job = amdgpu_sched_run_job, 149 + .dependency = amdgpu_job_dependency, 150 + .run_job = amdgpu_job_run, 151 151 };