diff options
| author | Pranjal Ramajor Asha Kanojiya <[email protected]> | 2023-12-08 09:34:54 -0700 |
|---|---|---|
| committer | Jeffrey Hugo <[email protected]> | 2023-12-15 11:01:12 -0700 |
| commit | ce5fed9aa0f6ff951bc1ef02f274875e67f070d2 (patch) | |
| tree | b23d9b5afedb04bc18baa2dfe6539c36318f5cd9 /tools/perf/scripts | |
| parent | fbd60a67f4975d6bad25d9d504055fae8c1c27b7 (diff) | |
accel/qaic: Drop the reference to BO in error path of create BO IOCTL
Do not free BO explicitly in error path, just drop its reference, cleanup
will be taken care by DRM as we have registered for ->free() callback.
This patch makes sure that there is only one code path for BO to be freed.
Signed-off-by: Pranjal Ramajor Asha Kanojiya <[email protected]>
Reviewed-by: Carl Vanderlip <[email protected]>
Reviewed-by: Jeffrey Hugo <[email protected]>
Signed-off-by: Jeffrey Hugo <[email protected]>
Reviewed-by: Jacek Lawrynowicz <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions