]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/scheduler: Mark amdgpu_sched_ops const
authorNils Wallménius <nils.wallmenius@gmail.com>
Sun, 10 Apr 2016 14:30:00 +0000 (16:30 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 May 2016 00:20:05 +0000 (20:20 -0400)
commitb5c09e09326cd318b9919b6f72d0c6c51b363338
treefac76dbe592027b5e8d7aa650a541e05fc45d5d7
parent2e7e43ecf9b653dd7f8bced5eabc8c8269f8bcdb
drm/amd/scheduler: Mark amdgpu_sched_ops const

This marks the struct amdgpu_sched_ops const and
adjusts amd_sched_init to take a const pointer
for the ops param. The ops member of
struct amd_gpu_scheduler is also changed to const.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Nils Wallménius <nils.wallmenius@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c
drivers/gpu/drm/amd/scheduler/gpu_scheduler.c
drivers/gpu/drm/amd/scheduler/gpu_scheduler.h