Files
linux/drivers
Andrzej Kacprowski 139e3d9cb4 accel/ivpu: Make BO free helper NULL-safe
Handle NULL buffers in ivpu_bo_free() so callers can use it as a
kfree-like cleanup helper.

Use the NULL-safe helper to simplify error paths and teardown code in
firmware, IPC, preemption buffer, and metric streamer cleanup. This
removes redundant conditional frees and collapses unwind labels that only
differed by which BOs had been allocated.

Signed-off-by: Andrzej Kacprowski <andrzej.kacprowski@linux.intel.com>
Reviewed-by: Dawid Osuchowski <dawid.osuchowski@linux.intel.com>
Reviewed-by: Karol Wachowski <karol.wachowski@linux.intel.com>
Signed-off-by: Karol Wachowski <karol.wachowski@linux.intel.com>
Link: https://patch.msgid.link/20260924105906.489378-1-andrzej.kacprowski@linux.intel.com
2026-09-28 08:18:11 +02:00
..
…
…
…
2026-09-10 20:16:37 +02:00
…
…
…
…
…
2026-08-07 21:22:50 +02:00
2026-09-11 17:27:22 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…