Skip to content

Commit

Permalink
refactor hwctx fini (#332)
Browse files Browse the repository at this point in the history
1. Add a function to wait for all the jobs are free. This is because drm_sched_fini() not able to handle job in some case in the current Linux driver code
2. Some more refactor because of 1)
3. add fwctx.c for hardware/firmware related operations, like create firmware context etc.
4. Some lock dep fix in mailbox.
---------

Signed-off-by: Min Ma <min.ma@amd.com>
  • Loading branch information
mamin506 authored Jan 10, 2025
1 parent d67e116 commit 2b63671
Show file tree
Hide file tree
Showing 16 changed files with 585 additions and 520 deletions.
3 changes: 2 additions & 1 deletion src/driver/amdxdna/Kbuild
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: GPL-2.0
#
# Copyright (C) 2022-2024, Advanced Micro Devices, Inc.
# Copyright (C) 2022-2025, Advanced Micro Devices, Inc.
#

ROOT := $(src)
Expand All @@ -27,6 +27,7 @@ amdxdna-y := \
aie2_smu.o \
aie2_psp.o \
aie2_ctx.o \
aie2_fwctx.o \
aie2_error.o \
aie2_debugfs.o \
aie2_message.o \
Expand Down
Loading

0 comments on commit 2b63671

Please sign in to comment.