diff options
author | Lee Jones <lee.jones@linaro.org> | 2022-03-31 13:21:17 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-04-06 12:02:57 -0400 |
commit | e79a2398e1b2d47060474dca291542368183bc0f (patch) | |
tree | 044eeba6af2eb328e07cdd7118e077b0346db1a7 /arch/sparc | |
parent | ef1a0808a2e20c58d166c5707864fba515832bd7 (diff) |
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>
Cc: stable@vger.kernel.org
Diffstat (limited to 'arch/sparc')
0 files changed, 0 insertions, 0 deletions