Revert "kfdtest: Using non-paged memory allocation only on devices that have MES scheduler"

This patch and the previous made it such that the queue ring buffer was
allocated as non-paged for GFX11+. The queue ring buffer should not be
mapped as non-paged; the non-paged requirement on GFX11 is only needed
for the queue wptr.

This patch was causing issues on various tests, such as intermittent
CP_INTSRC_BAD_OPCODE interrupts.

This reverts commit 92a336d485.

Signed-off-by: Graham Sider <Graham.Sider@amd.com>
Change-Id: I55b64aed73dc3b792f0756ae00daf6e10d93ce10


[ROCm/ROCR-Runtime commit: 0750856d4a]
このコミットが含まれているのは:
Graham Sider
2023-03-27 16:18:25 -04:00
コミット c298048035
4個のファイルの変更5行の追加5行の削除
+1 -1
ファイルの表示
@@ -69,7 +69,7 @@ class HsaMemoryBuffer {
public:
HsaMemoryBuffer(HSAuint64 size, unsigned int node, bool zero = true, bool isLocal = false,
bool isExec = false, bool isScratch = false, bool isReadOnly = false, bool isUncached = false, bool NonPaged = false);
bool isExec = false, bool isScratch = false, bool isReadOnly = false, bool isUncached = false);
HsaMemoryBuffer(void *addr, HSAuint64 size);
template<typename RetType>
RetType As() {