To the repository where the kernel release is generated Linux In version 5.19, another set of changes related to the DRM (Direct Rendering Manager) subsystem and graphics drivers was adopted. This patch set is notable because it includes 495 lines of code, which is comparable to the total size of changes in each kernel branch (for example, kernel 5.17 added 506 lines of code).
Approximately 400 lines of added code are automatically generated header files with data for ASIC registers in the AMD GPU driver. Another 22.5 lines provide the initial implementation of AMD SoC21 support. The total size of the AMD GPU driver exceeds 4 million lines of code (for comparison, the entire kernel Linux 1.0 included 176 lines of code, 2.0—778, 2.4—3.4 million, and 5.13—29.2 million. In addition to SoC21, the AMD driver includes support for SMU 13.x (System Management Unit), updated USB-C and GPUVM support, and preparation for support for the next-generation 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
