drm/amd: Pass drm_device to kfd
authorHarish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Wed, 26 Sep 2018 20:09:37 +0000 (16:09 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 3 Oct 2019 14:11:03 +0000 (09:11 -0500)
commit3a0c3423921e6a1f32ef27912c936e38bf28451b
tree9aa26eb3e1a8f752583fc96caadffcf8248fd6a5
parent171bc67eb508f268bd8e48d9a2fd6166e6007d7b
drm/amd: Pass drm_device to kfd

kfd needs drm_device to call into drm_cgroup functions

Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h
drivers/gpu/drm/amd/amdkfd/kfd_device.c
drivers/gpu/drm/amd/amdkfd/kfd_priv.h