Revert "libhsakmt: Disabled allocation of CWSR with SVM for GFX11."
This reverts commit b25867c4b8.
Change-Id: I05bf82266f563c63c0b794a24b0926e7652ce42d
Signed-off-by: David Belanger <david.belanger@amd.com>
Este commit está contenido en:
cometido por
David Belanger
padre
a847a7b80e
commit
0eb0bae38b
@@ -116,8 +116,6 @@ extern int hsakmt_debug_level;
|
||||
#define HSA_GET_GFX_VERSION_MINOR(gfxv) (((gfxv) / 100) % 100)
|
||||
#define HSA_GET_GFX_VERSION_STEP(gfxv) ((gfxv) % 100)
|
||||
|
||||
#define HSA_GET_GFX_VERSION_MAJOR_HEX(gfxv) (((gfxv) >> 16) & 0xff)
|
||||
|
||||
/* Expects HSA_ENGINE_ID.ui32, returns gfxv (full) in hex */
|
||||
#define HSA_GET_GFX_VERSION_FULL(ui32) \
|
||||
(((ui32.Major) << 16) | ((ui32.Minor) << 8) | (ui32.Stepping))
|
||||
|
||||
@@ -512,8 +512,6 @@ static int handle_concrete_asic(struct queue *q,
|
||||
|
||||
if (hsaKmtGetNodeProperties(NodeId, &node))
|
||||
svm_api = false;
|
||||
else if (HSA_GET_GFX_VERSION_MAJOR_HEX(q->gfxv) == 11)
|
||||
svm_api = false;
|
||||
else
|
||||
svm_api = node.Capability.ui32.SVMAPISupported;
|
||||
|
||||
|
||||
Referencia en una nueva incidencia
Block a user