drm/scheduler: modify API to avoid redundancy
authorNayan Deshmukh <nayan26deshmukh@gmail.com>
Fri, 20 Jul 2018 12:21:05 +0000 (17:51 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 25 Jul 2018 20:06:19 +0000 (15:06 -0500)
commitcdc50176597cb44ce25eb7331c450058775b8d2a
tree3a225ac827c904a893f45677e08c51d75170d179
parentbf314ca3f10d4ba4335808dc678631908881db8b
drm/scheduler: modify API to avoid redundancy

entity has a scheduler field and we don't need the sched argument
in any of the functions where entity is provided.

Signed-off-by: Nayan Deshmukh <nayan26deshmukh@gmail.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
13 files changed:
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
drivers/gpu/drm/etnaviv/etnaviv_drv.c
drivers/gpu/drm/etnaviv/etnaviv_sched.c
drivers/gpu/drm/scheduler/gpu_scheduler.c
drivers/gpu/drm/v3d/v3d_drv.c
drivers/gpu/drm/v3d/v3d_gem.c
include/drm/gpu_scheduler.h