The end of user-space mode setting?
LWN.net needs you!It has now been a year since kernel mode setting (KMS) went into the mainline. KMS moves control of low-level graphics processor modes into the kernel and away from user-space drivers, with a number of associated advantages. Initially only the Intel driver supported KMS, but it has found its way into the Radeon and Nouveau drivers. Now developers are beginning to talk about eliminating user-space mode setting support entirely.Without subscribers, LWN would simply not exist. Please consider signing up for a subscription and helping to keep LWN publishing.
On the Nouveau front, Ben Skeggs posted a patch to remove non-KMS support, saying:
The main objection to the removal of this code is that BSD-based systems do not support KMS, but the current driver does not work on those systems anyway. So, while this patch has not found its way to the mainline, it would not be surprising if that happened before the 2.6.34 release.
At about the same time, some Intel driver developers started to ask whether non-KMS support could be dropped. There, too, it seems that the user-space mode setting code is unloved and proving hard to maintain. This code looks like it will remain an unwelcome guest for a while, though; Linus is in no hurry to remove it, and Dave Airlie is even more reluctant:
So the removal of non-KMS support from the Intel driver is being held up by
concerns about the stability of the KMS code. But there is a bigger issue
as well: Intel support has been in the kernel for years, so there are
plenty of systems which are dependent on user-space mode setting. That
means that the support needs to be maintained for long enough to be sure of
not breaking those systems. Nouveau, instead, has the advantage of not
having been in the mainline until now, so the same regression concerns do
not apply. There are advantages, sometimes, to being the latecomer.
The LWN site is currently under high scraper load, so comment display has been suppressed for anonymous users. If you are a human, you may read the comments by clicking the button below:
Note: you can avoid this step in the future by logging into your LWN account.
