New graphics card driver code in Linux 5.19 adds nearly 500,000 lines

David Airlie sent an update to the Direct Rendering Manager (DRM) subsystem this morning during the Linux 5.19 window consolidation period. Notable among these is the addition of support for Intel Arc Graphics DG2/Alchemist in the DRM display/graphics driver update, and preliminary support for Raptor Lake. On the AMD side, it is preparing for the next-generation CDNA Instinct products and RDNA3 Radeon RX 7000 series graphics cards.

join us on telegram

Since Intel and AMD do all the enabling work for their latest graphics products, this DRM pull is another big issue. The Pull changed 1,302 files, added 495,793 lines of code, and removed 32,019 lines of code. Most of the new lines are on the AMD graphics driver side due to auto-generated headers and others related to providing new IP blocks for RDNA3. It’s this kind of Pull that AMD graphics drivers now have over 4 million lines of code in the Linux kernel.

The Intel graphics driver adds multiple “motherboard down” PCI IDs for DG2 desktop GPUs, provides initial support for Raptor Lake P and Raptor Lake S, and exposes the compute engine ABI for DG2, and various other DG2 features. Added information for the Arctic Sound M platform, DisplayPort HDR support for Haswell and newer, small PCI BAR enablement, and various other changes.

For AMD Radeon graphics, various new IP blocks are enabled, such as SMU 13.x, SOC21, and more. More work is still needed, but preparations are underway for the next-generation CDNA and RDNA3 graphics cards expected to launch later this year. This enablement will come block by block as part of their new open-source driver enablement approach.

Leave a Comment