Petrovic Posted July 25, 2016 Share Posted July 25, 2016 Linus Torvalds has loosed version 4.7 of the Linux kernel on an impatient world. This time around the headline features include the addition of the schedutil cpufreq governor, code that makes it possible to change the frequency at which a CPU operates. There's also support for the new-ish Radeon RX 480 GPU and the ability to handle Microsoft's Xbox One Elite Controller. Linux-on-telly fans will want to tune in to support for the LG1312 custom ARM kit that LG uses in its smart televisions, among other new ARM ships that gain support. Changes to the EFI bootloader control should boost security. Linus Torvalds has detailed all the changes here, in his LKML message announcing the release. Article source Link to comment Share on other sites More sharing options...
Batu69 Posted July 25, 2016 Share Posted July 25, 2016 The Biggest Features Of The Linux 4.7 Kernel If all goes according to plan, the Linux 4.7 kernel will be released before the day is through. Here's a recap of some of the biggest features added for the Linux 4.7 kernel. You can read Linux 4.7 Brings A Plethora Of New Features for my coverage earlier of all the notable features I found with Linux 4.7 following the close of the merge window. But if you just want a quick overview of the highlights, here they are: - Radeon RX 480 "Polaris" open-source support! With Linux 4.7 there is all the initial AMDGPU DRM support needed for firing up the RX 480, which can be used in conjunction with the latest Mesa, linux-firmware, and LLVM for having quite suitable open-source support for this newly launched graphics processor. - A number of new ARM platforms are now supported. - The Schedutil governor for the CPUFreq scaling driver is new and holds potential for making better CPU frequency scaling decisions based upon scheduler utilization data. - Async discard is now supported by the core block code. - Support for various Corsair and ASUS keyboards, among other new peripheral support in Linux 4.7. - The Microsoft Xbox One Elite Controller is now supported by the mainline Linux kernel. - The EFI bootloader control driver is pretty nifty. - The LoadPin security feature. Find out about the many other Linux 4.7 features via our kernel feature overview. Article source The Size Of Different DRM Graphics Drivers In Linux 4.7 Last October I looked at The Size Of The Different Open-Source Linux DRM/Mesa Graphics Drivers, but with it being nearly one year since then and Linux 4.7 due out today, I decided to run some fresh L.O.C. measurements on the popular DRM/KMS drivers to see their current sizes. This lines-of-code counting was mostly done out of a curiosity factor. In this article I'm just looking at the in-kernel DRM code and not the Mesa drivers, DDX drivers, LLVM back-ends, or anything else in user-space related to the open-source graphics drivers. All of these cloc measurements were done on the Linux mainline kernel Git code as of this morning. First up was the Intel DRM (i915) driver. ------------------------------------------------------------------------------- Language files blank comment code ------------------------------------------------------------------------------- C 79 18416 15443 80757 C/C++ Header 23 2262 3178 13730 Basically about 94.5k lines of code across 103 files. 18.6k lines of comments if you are wondering how well documented the code is... Next is a look at Nouveau: ------------------------------------------------------------------------------- Language files blank comment code ------------------------------------------------------------------------------- C 535 12802 16385 88078 C/C++ Header 276 1874 2639 27542 A total of 115.6k lines of code across 811 files... And 19k lines of documentation. The AMDGPU/Radeon DRM is a bit more difficult to get a firm look at since some code is shared between the two drivers. In the AMDGPU driver directory they also have the AMDKFD driver code and more. So first up is a look at the radeon/ directory. ------------------------------------------------------------------------------- Language files blank comment code ------------------------------------------------------------------------------- C 111 17644 13065 120312 C/C++ Header 83 4042 5648 39420 The Radeon driver is around 159k lines of code across 195 files but even though this driver is larger than the others there is just 18k lines of comments. And then the AMDGPU directory that also includes AMDKFD and other shared code with it: ------------------------------------------------------------------------------- Language files blank comment code ------------------------------------------------------------------------------- C/C++ Header 248 6412 10419 440630 C 148 20526 14909 102460 Damn! AMDGPU loves the header files at 440k lines of code while the detected C code by cloc comes in at just 102k lines of code. If looking at just amd/amdgpu it amounts to: ------------------------------------------------------------------------------- Language files blank comment code ------------------------------------------------------------------------------- C 86 12279 9856 69476 C/C++ Header 66 1727 3393 9991 The AMDGPU driver gained a lot of weight this year when it came to adding the Polaris hardware support. There's also a lot more code yet to be merged in the form of the DAL display abstraction layer that isn't being merged until at least Linux 4.9. For those wondering about the size of fully-capable of ARM DRM drivers, VC4 for Raspberry Pi comes in at just under 7k lines of code. ------------------------------------------------------------------------------- Language files blank comment code ------------------------------------------------------------------------------- C 16 1258 1012 5586 C/C++ Header 5 260 361 1304 Or the Freedreno MSM DRM driver is around 35k lines of code: ------------------------------------------------------------------------------- Language files blank comment code ------------------------------------------------------------------------------- C 67 4939 2867 20574 C/C++ Header 37 3405 1114 14723 Article source Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.