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:
Longlong Yao
2025-03-11 13:40:50 +08:00
tiomanta ag Yat Sin, David
tuismitheoir fcf3f91379
tiomantas 5916467552
+2
Féach ar an gComhad
@@ -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);