]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amdkfd: init drm_client with funcs hook
authorFlora Cui <flora.cui@amd.com>
Wed, 10 Jan 2024 11:23:56 +0000 (19:23 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jan 2024 21:42:54 +0000 (16:42 -0500)
commit3c4e4eb5d872118fef1708abe933a410c5e07e3a
tree2fff12c9b5100d7f49741b8bee8622e1cbdff545
parent05638ff6dd6f0f38734b6b3ee2c7cf15520f5c00
drm/amdkfd: init drm_client with funcs hook

otherwise drm_client_dev_unregister() would try to
kfree(&adev->kfd.client).

Fixes: 1819200166ce ("drm/amdkfd: Export DMABufs from KFD using GEM handles")
Signed-off-by: Flora Cui <flora.cui@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