libhsakmt: set node_id to 0 for OnlyAddress
Signed-off-by: Longlong Yao <Longlong.Yao@amd.com>
Tá an tiomantas seo le fáil i:
tiomanta ag
Yat Sin, David
tuismitheoir
fcf3f91379
tiomantas
5916467552
@@ -1539,6 +1539,8 @@ static void *fmm_allocate_va(uint32_t gpu_id, void *address, uint64_t size,
|
||||
aperture_release_area(aperture, mem, size);
|
||||
mem = NULL;
|
||||
}
|
||||
/* Set node_id to 0 for OnlyAddress */
|
||||
vm_obj->node_id = 0;
|
||||
}
|
||||
|
||||
pthread_mutex_unlock(&aperture->fmm_mutex);
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir