Loading
drm/amdkfd: init drm_client with funcs hook
mainline inclusion from mainline-v6.8-rc1 commit 733965a90f885de5e9626d383c7605a0a7850074 category: bugfix bugzilla: https://gitee.com/src-openeuler/kernel/issues/I9TM7F CVE: CVE-2024-36022 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=733965a90f885de5e9626d383c7605a0a7850074 -------------------------------- 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> Signed-off-by:
Liu Chuang <liuchuang40@huawei.com>