diff options
author | Lee Jones <[email protected]> | 2022-03-31 13:21:17 +0100 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2022-03-31 23:05:55 -0400 |
commit | e45422695c196dbc665a95526c85ff4b8752aff2 (patch) | |
tree | c87e5d0910440627855a8e84c18e224765f64464 /drivers/gpu/drm/amd/pm/amdgpu_pm.c | |
parent | cf8cc382aa7c60f25386a8515b6a5e74aef9d0aa (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 <[email protected]>
Cc: Alex Deucher <[email protected]>
Cc: "Christian König" <[email protected]>
Cc: "Pan, Xinhui" <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Daniel Vetter <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Lee Jones <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Signed-off-by: Felix Kuehling <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions