mirror of
https://github.com/NVIDIA/open-gpu-kernel-modules.git
synced 2026-02-11 02:29:58 +00:00
580.94.16
This commit is contained in:
@@ -718,7 +718,11 @@ static NvBool nv_dma_use_map_resource
|
||||
#endif
|
||||
}
|
||||
|
||||
#if defined(NV_DMA_MAP_OPS_HAS_MAP_PHYS)
|
||||
return (ops->map_phys != NULL);
|
||||
#else
|
||||
return (ops->map_resource != NULL);
|
||||
#endif
|
||||
}
|
||||
|
||||
/* DMA-map a peer device's C2C aperture for peer access. */
|
||||
|
||||
Reference in New Issue
Block a user