mirror of
https://github.com/torvalds/linux.git
synced 2026-01-25 15:03:52 +08:00
habanalabs: allow fail on inability to respect hint
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. Signed-off-by: Yuri Nudelman <ynudelman@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
This commit is contained in:
committed by
Oded Gabbay
parent
1ae32b9094
commit
486e19795f
@@ -813,6 +813,7 @@ union hl_wait_cs_args {
|
||||
#define HL_MEM_CONTIGUOUS 0x1
|
||||
#define HL_MEM_SHARED 0x2
|
||||
#define HL_MEM_USERPTR 0x4
|
||||
#define HL_MEM_FORCE_HINT 0x8
|
||||
|
||||
struct hl_mem_in {
|
||||
union {
|
||||
|
||||
Reference in New Issue
Block a user