diff options
author | Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com> | 2018-09-26 23:09:37 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-10-03 17:11:03 +0300 |
commit | 3a0c3423921e6a1f32ef27912c936e38bf28451b (patch) | |
tree | 9aa26eb3e1a8f752583fc96caadffcf8248fd6a5 /drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c | |
parent | 171bc67eb508f268bd8e48d9a2fd6166e6007d7b (diff) | |
download | linux-3a0c3423921e6a1f32ef27912c936e38bf28451b.tar.xz |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c index 4a66e7ae0343..221047dba601 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c @@ -204,7 +204,7 @@ void amdgpu_amdkfd_device_init(struct amdgpu_device *adev) adev->doorbell_index.last_non_cp; } - kgd2kfd_device_init(adev->kfd.dev, &gpu_resources); + kgd2kfd_device_init(adev->kfd.dev, adev->ddev, &gpu_resources); } } |