drm/amdkfd: Make sched_policy a per-device setting
authorFelix Kuehling <Felix.Kuehling@amd.com>
Thu, 4 Jan 2018 22:17:43 +0000 (17:17 -0500)
committerOded Gabbay <oded.gabbay@gmail.com>
Thu, 4 Jan 2018 22:17:43 +0000 (17:17 -0500)
commitd146c5a7196b4c2c2586569971a55392b501b93b
tree5ac4d5c7944a38e6e91860255d8a67b4199d8a05
parent3ee2d00cfb6c0b44aeb9575c20ad8d1abf09be0f
drm/amdkfd: Make sched_policy a per-device setting

Some dGPUs don't support HWS. Allow them to use a per-device
sched_policy that may be different from the global default.

Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
drivers/gpu/drm/amd/amdkfd/kfd_dbgmgr.c
drivers/gpu/drm/amd/amdkfd/kfd_device.c
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c
drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.h
drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c