forked from rockchip-linux/kernel
-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iommu/iova: add iova procfs for each dma iommu
Tested on RK3588 EVB1: localhost# ls /proc/iova/ av1d-master fdb90000.jpegd fdbb0000.iep fdcb0000.rkisp fdab0000.npu fdba0000.jpege-core fdbd0000.rkvenc-core fdce0000.rkcif fdb50400.vdpu fdba4000.jpege-core fdbe0000.rkvenc-core fdd90000.vop fdb60000.rga fdba8000.jpege-core fdc38100.rkvdec-core rkcif-mipi-lvds fdb70000.rga fdbac000.jpege-core fdc48100.rkvdec-core localhost# cat /proc/iova/fdc38100.rkvdec-core/used 0: [0x00000000ffe00000..0x00000000ffeff000] 1024KiB (4094 - 4095)MiB 1: [0x00000000fff00000..0x00000000fffff000] 1024KiB (4095 - 4096)MiB used: 2 MiB Signed-off-by: Jianqun Xu <[email protected]> Change-Id: I102e08243b5a0a4cd173e75e2e25f68f1f5b09b6
- Loading branch information
1 parent
02382af
commit 4fe5523
Showing
3 changed files
with
72 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters