Nearly 5.19 lines of code related to graphics drivers have been accepted into the Linux 500 kernel

The repository, which forms the release of the Linux 5.19 kernel, has received another set of changes related to the DRM (Direct Rendering Manager) subsystem and graphics drivers. The accepted set of patches is interesting in that it includes 495k lines of code, which is comparable to the total size of changes in each branch of the kernel (for example, 5.17k lines of code were added in the 506 kernel).

Approximately 400 lines were added to the automatically generated ASIC register data header files in the AMD GPU driver. Another 22.5 thousand lines provide the initial implementation of AMD SoC21 support. The total size of the AMD GPU driver exceeded 4 million lines of code (for comparison, the entire Linux 1.0 kernel included 176 thousand lines of code, 2.0 - 778 thousand, 2.4 - 3.4 million, 5.13 - 29.2 million). In addition to SoC21, the AMD driver includes support for SMU 13.x (System Management Unit), updated support for USB-C and GPUVM, and prepared to support the next generations of RDNA3 (RX 7000) and CDNA (AMD Instinct) platforms.

In the Intel driver, the largest number of changes (5.6 thousand) is in the power management code. Also added to the Intel driver IDs for Intel DG2 (Arc Alchemist) GPUs used on laptops, provided initial support for the Intel Raptor Lake-P (RPL-P) platform, added information about Arctic Sound-M graphics cards, implemented an ABI for compute engines, for DG2 cards added support for Tile4 format, for systems based on Haswell microarchitecture, DisplayPort HDR support was implemented.

In the Nouveau driver, in total, the changes affected about a hundred lines of code (the switch was made to using the drm_gem_plane_helper_prepare_fb handler, static memory allocation was applied for some structures and variables). As for the use of source codes of kernel modules in Nouveau open by NVIDIA, the work so far is reduced to identifying and eliminating errors. In the future, the published firmware is planned to be used to improve the performance of the driver.

Source: opennet.ru

Add a comment