News: 0001193139

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Intel DG1 Graphics Card Bring-Up On Linux Continues - Latest Bits For Local Memory

([Intel] 5 Hours Ago DG1 LMEM)


Recently there have been a lot of open-source Linux patches flowing concerning Intel's bring-up of their [1]DG1 discrete graphics card for developers. That work continued this week with the latest patches in wiring up LMEM support.

Among the recent Intel DG1 patches for Linux recently have been on the [2]media driver front, [3]compute runtime with OpenCL and Level Zero and as part of that [4]the IGC support , and then most importantly [5]the necessary Linux kernel changes building off the existing Gen12/Xe graphics support.

The initial DG1 kernel support will likely land in Linux 5.9 but some bits are still pending. In particular, this week saw sixty patches sent out for the LMEM enabling. This is for supporting the "local memory" (discrete vRAM) on the DG1 graphics card where as with the patches up to now have always been allocating from the system memory. Obviously making use of the device local memory is very important for performance purposes but getting all of these LMEM bits squared away is a bit of a challenge as up to now the Intel graphics driver stack has only been having to worry about system memory or eDRAM but never device local memory on a PCIe device.

[6]The LMEM patches are still up in the air as they are working to adapt them to use the DMA reservation interfaces and ensuring their user-space API is in good shape around the GEM memory management interfaces. At this stage it's quite possible the LMEM patches and other DG1 bits might not be squared away until at least Linux 5.10 later in the year as the cutoff for DRM-Next to Linux 5.9 is fast approaching. In any case, it's great continuing to see Intel working punctually still on new Linux hardware support. At the end of the day, DG1 is still targeted as a vehicle for developers in beginning to target the new Xe Graphics architecture so the lack of timely mainline support won't be too much of a big deal assuming everything gets tidied up ahead of the eventual consumer Intel graphics card launch expected in the next year.



[1] https://www.phoronix.com/scan.php?page=search&q=DG1

[2] https://www.phoronix.com/scan.php?page=news_item&px=Intel-Media-Driver-Q2-2020

[3] https://www.phoronix.com/scan.php?page=news_item&px=Intel-Compute-Runtime-DG1

[4] https://www.phoronix.com/scan.php?page=news_item&px=Intel-IGC-1.0.4241

[5] https://www.phoronix.com/scan.php?page=news_item&px=Intel-DG1-V2-Linux-Support

[6] https://lists.freedesktop.org/archives/intel-gfx/2020-July/244053.html

phoronix

"Today's robots are very primitive, capable of understanding only a few
simple instructions such as 'go left', 'go right', and 'build car'."
-- John Sladek