A new user flag is required to make memory map hint mandatory, in contrast to the current situation where it is best effort. This is due to the requirement to map certain data to specific pre-determined device virtual address ranges.
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -813,6 +813,7 @@ union hl_wait_cs_args { · 812 unmodified lines | |||
| 813 | #define HL_MEM_CONTIGUOUS 0x1 | 813 | #define HL_MEM_CONTIGUOUS 0x1 |
| 814 | #define HL_MEM_SHARED 0x2 | 814 | #define HL_MEM_SHARED 0x2 |
| 815 | #define HL_MEM_USERPTR 0x4 | 815 | #define HL_MEM_USERPTR 0x4 |
| 816 | #define HL_MEM_FORCE_HINT 0x8 | ||
| 816 | 817 | ||
| 817 | struct hl_mem_in { | 818 | struct hl_mem_in { |
| 818 | union { | 819 | union { |