• O
    habanalabs: restructure hl_mmap · 3174ac9b
    Oded Gabbay 提交于
    Arrange the hl_mmap code to be more structured and expandable for the
    future. Add better defines that describe our usage of the vm_pgoff.
    
    Note that I shamelessly took the code and defines from the amdkfd driver
    (my previous driver).
    Signed-off-by: NOded Gabbay <oded.gabbay@gmail.com>
    3174ac9b
habanalabs.h 69.4 KB