summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2026-04-27 16:31:31 +0200
committerAlex Deucher <alexander.deucher@amd.com>2026-05-19 12:25:32 -0400
commitb6fe4ff340560ecf39e10733366f85832550699a (patch)
tree2c5ba11e469f31fa95e38c1c93af4a1bce3f758b /include
parentd093c01d30fc32cb82458731c33fa2a787ff1e7b (diff)
drm/amdgpu: fix handling in amdgpu_userq_create
Well mostly the same issues the other code had as well: 1. Memory allocation while holding the userq_mutex lock is forbidden! 2. Things were created/started/published in the wrong order. 3. The reset lock was taken in the wrong order and seems to be unecessary in the first place. 4. Error messages on invalid input parameters can spam the logs. 5. Error messages on memory allocation failures are usually superflous as well. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Sunil Khatri <sunil.khatri@amd.com> Reviewed-by: Prike Liang <Prike.Liang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit 89e50de5654dbe7a137e03d78629542e17ba7202)
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions