summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdkfd/kfd_svm.c
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2022-03-31 13:21:17 +0100
committerAlex Deucher <alexander.deucher@amd.com>2022-03-31 23:05:55 -0400
commite45422695c196dbc665a95526c85ff4b8752aff2 (patch)
treec87e5d0910440627855a8e84c18e224765f64464 /drivers/gpu/drm/amd/amdkfd/kfd_svm.c
parentcf8cc382aa7c60f25386a8515b6a5e74aef9d0aa (diff)
downloadlinux-e45422695c196dbc665a95526c85ff4b8752aff2.tar.bz2
drm/amdkfd: Create file descriptor after client is added to smi_clients list
This ensures userspace cannot prematurely clean-up the client before it is fully initialised which has been proven to cause issues in the past. Cc: Felix Kuehling <Felix.Kuehling@amd.com> Cc: Alex Deucher <alexander.deucher@amd.com> Cc: "Christian König" <christian.koenig@amd.com> Cc: "Pan, Xinhui" <Xinhui.Pan@amd.com> Cc: David Airlie <airlied@linux.ie> Cc: Daniel Vetter <daniel@ffwll.ch> Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones <lee.jones@linaro.org> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdkfd/kfd_svm.c')
0 files changed, 0 insertions, 0 deletions