Add code to support packet capture and replay in the Thunk
This feature only support dgpu for now. Change-Id: Ic766ec06892c955dd605ecc335a776335edc0df2 Signed-off-by: Gang Ba <gaba@amd.com>
이 커밋은 다음에 포함됨:
1 부모
c1994e28f0
커밋
c54c1dbdcb
5 파일이 변경됨
+73
-37
검색과 일치하는 파일 없음
+1
-1
@@ -360,7 +360,7 @@ hsaKmtAllocMemory(
|
||||
HSAuint32 PreferredNode, //IN
|
||||
HSAuint64 SizeInBytes, //IN (multiple of page size)
|
||||
HsaMemFlags MemFlags, //IN
|
||||
void** MemoryAddress //OUT (page-aligned)
|
||||
void** MemoryAddress //IN/OUT (page-aligned)
|
||||
);
|
||||
|
||||
/**
|
||||
|
||||
+2
-1
@@ -518,7 +518,8 @@ typedef struct _HsaMemFlags
|
||||
unsigned int AQLQueueMemory: 1; // default = 0; If 1: The caller indicates that the memory will be used as AQL queue memory.
|
||||
// The KFD will ensure that the memory returned is allocated in the optimal memory location
|
||||
// and optimal alignment requirements
|
||||
unsigned int Reserved : 17;
|
||||
unsigned int FixedAddress : 1; // Allocate memory at specified virtual address. Fail if address is not free.
|
||||
unsigned int Reserved : 16;
|
||||
|
||||
} ui32;
|
||||
HSAuint32 Value;
|
||||
|
||||
새 이슈에서 참조
사용자 차단