libhsakmt: add new flag for memory mapped as uncached

It is to provide an option to map specific memory as
uncached on A+A HW platform.

Signed-off-by: Eric Huang <JinhuiEric.Huang@amd.com>
Change-Id: Ib665cb306a0e78aba3ea5ee2f0e46cb62ae139f8
Tá an tiomantas seo le fáil i:
Eric Huang údaraithe agus Kent Russell tiomanta 2021-02-23 12:20:29 -05:00
1 tuismitheoir 8881075ab2
tiomantas 2464bfc714
3 comhad athraithe
+11 -3

Níor tháinig aon chomhaid le do chuardach

+1
Féach ar an gComhad
@@ -479,6 +479,7 @@ struct kfd_ioctl_acquire_vm_args {
#define KFD_IOC_ALLOC_MEM_FLAGS_NO_SUBSTITUTE (1 << 28)
#define KFD_IOC_ALLOC_MEM_FLAGS_AQL_QUEUE_MEM (1 << 27)
#define KFD_IOC_ALLOC_MEM_FLAGS_COHERENT (1 << 26)
#define KFD_IOC_ALLOC_MEM_FLAGS_UNCACHED (1 << 25)
/* Allocate memory for later SVM (shared virtual memory) mapping.
*