Add support for scratch GPUVM on host memory
This is required when we have a debug session Change-Id: If9d6d2d23a9016b6ca9562e02a91fc16e0354ee4 Signed-off-by: Yair Shachar <Yair.Shachar@amd.com>
This commit is contained in:
+4
-2
@@ -285,6 +285,8 @@ int debug_get_reg_status(uint32_t node_id, bool* is_debugged)
|
||||
{
|
||||
if ( node_id >= MAX_NODES)
|
||||
return -1;
|
||||
else
|
||||
return (is_device_debugged[node_id]);
|
||||
else {
|
||||
*is_debugged = is_device_debugged[node_id];
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
Viittaa uudesa ongelmassa
Block a user