drm/amdgpu: Add kfd2kgd.set_compute_idle interface
authorFelix Kuehling <Felix.Kuehling@amd.com>
Mon, 16 Jul 2018 23:10:36 +0000 (19:10 -0400)
committerOded Gabbay <oded.gabbay@gmail.com>
Mon, 16 Jul 2018 23:10:36 +0000 (19:10 -0400)
commit01c097dbfc03ac1357b9c8a1f52fd43d636bc7f7
tree48b97c57c28a497ab3c1a665c895a88510a480d1
parent39e7f331864d2b9e30d5f3fd2121e182b2c9c8a9
drm/amdgpu: Add kfd2kgd.set_compute_idle interface

This allows automatic switching to the compute power profile depending
on compute activity.

Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Eric Huang <JinHuiEric.Huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v8.c
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c
drivers/gpu/drm/amd/include/kgd_kfd_interface.h