Graphics
Intel® graphics drivers and software, compatibility, troubleshooting, performance, and optimization
20626 Discussions

Does the intel-drm support the SVM through the IOMMU and PASID?

JLee146
Beginner
1,371 Views

Hi, I am a newbie on the intel-gfx and tries to use the shared virtual memory

which is mentioned in several intel documents (http://www.intel.com/content/dam/www/public/us/en/documents/product-specifications/vt-directed-io-spec.pdf vt-d and https://01.org/sites/default/files/documentation/intel-gfx-prm-osrc-skl-vol05-memory_views.pdf Intel-gfx-prm).

Following the above two documents,

shared virtual memory is supported as part of VT-d functionality, and

in detail, IOMMU walks the PASID table and translates the virtual address to physical address

for the PCIe connected devices including the integrated GPUs.

Following the https://software.intel.com/en-us/articles/opencl-20-shared-virtual-memory-overview Intel document ,

It seems that clSVMAlloc is a OpenCL function for zero copy,

but after I've checked the repository of the opencl-intel (beignet),

I found that it never calls any driver functions for managing PASID table.

Is the current intel-gfx supports the shared virtual memory

through the IOMMU and PASID?

If the clSVMAlloc is not a right library function for SVM through

PASID and IOMMU, is there a function that satisfies my intention?

Best regards

Jaehyuk.

0 Kudos
1 Reply
idata
Employee
504 Views

Hi Jaehyuk,

 

 

I understand you have some questions about Dynamic video memory. It seems you are a software developer.

 

My best recommendation would be contacting appropriate channel of support. At this stage, I recommend checking with our software developer department at

 

https://software.intel.com/en-us/forum https://software.intel.com/en-us/forum

Hope this is useful.

Allan.

0 Kudos
Reply