libhsakmt: Remove HsaMemFlag reserved bit init
HsaMemFlag new flags added and the number of the reserved bits is reduced, and generate value overflow compilanation error. The reserved bits is not used, remove the init. Change-Id: I603596977dfd558ce31ead03711d7c5ce5ee5b71 Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Este commit está contenido en:
@@ -1643,7 +1643,6 @@ void *fmm_allocate_doorbell(uint32_t gpu_id, uint64_t MemorySizeInBytes,
|
||||
mflags.Value = 0;
|
||||
mflags.ui32.NonPaged = 1;
|
||||
mflags.ui32.HostAccess = 1;
|
||||
mflags.ui32.Reserved = 0x3e1;
|
||||
|
||||
pthread_mutex_lock(&aperture->fmm_mutex);
|
||||
vm_obj->mflags = mflags;
|
||||
@@ -2371,7 +2370,6 @@ static void *map_mmio(uint32_t node_id, uint32_t gpu_id, int mmap_fd)
|
||||
mflags.Value = 0;
|
||||
mflags.ui32.NonPaged = 1;
|
||||
mflags.ui32.HostAccess = 1;
|
||||
mflags.ui32.Reserved = 0;
|
||||
pthread_mutex_lock(&aperture->fmm_mutex);
|
||||
vm_obj->mflags = mflags;
|
||||
vm_obj->node_id = node_id;
|
||||
|
||||
Referencia en una nueva incidencia
Block a user