Phoronix Forums  

Go Back   Phoronix Forums > Linux Graphics / X.Org Drivers > Intel Linux

Intel Linux Technical support and discussion of the open-source xf86-video-intel driver and other Intel Linux software projects.

Reply
 
Thread Tools Display Modes
  #1  
Old 04-19-2008, 04:30 PM
phoronix phoronix is offline
Phoronix News Bot
 
Join Date: Jan 2007
Posts: 3,103
Default A Preview Of Kernel-Based Mode-Setting

Phoronix: A Preview Of Kernel-Based Mode-Setting

There are many new and innovative features brewing within the X.Org development community right now -- among the many are Gallium3D, the TTM memory manager, and MPX (Multi-Pointer X) -- but one of the features that has risen towards the top of the list and delivers visible benefits to the end-user is kernel-based mode-setting. As implied by its name, kernel mode-setting involves moving the mode-setting code for video adapters from the user-space X server drivers into the Linux kernel. This may seem like an uninteresting topic for end-users, but having the mode-setting done in the kernel allows for a cleaner and richer boot process, improved suspend and resume support, and more reliable VT switching (along with other advantages). Kernel mode-setting isn't yet in the mainline Linux kernel nor is the API for it frozen, but Fedora 9 shipping next month will be the first major distribution carrying this initial support. In this article we're looking more closely at kernel mode-setting with the Intel X.Org driver as well as showing videos of kernel-based mode-setting in action.

http://www.phoronix.com/vr.php?view=12240
Reply With Quote
  #2  
Old 04-19-2008, 04:41 PM
yoshi314 yoshi314 is offline
Senior Member
 
Join Date: Sep 2006
Location: PL
Posts: 791
Default

more reliable vt switching will really help. that's where many drivers crash with x.org right now.
Reply With Quote
  #3  
Old 04-19-2008, 10:46 PM
TechMage89 TechMage89 is offline
Senior Member
 
Join Date: Jul 2007
Posts: 310
Default

Can't wait until ati porting is done!

By the way, in the case of the X driver, does it just have a "dummy" ddx that passes everything to the kernel modesetting driver, or is there an actual structural change? Will there be any changes to how and where acceleration (EXA, Render, OpenGL) is handled?
Reply With Quote
  #4  
Old 04-20-2008, 04:11 AM
airlied airlied is offline
X.Org Developer
 
Join Date: May 2007
Posts: 62
Default

Quote:
Originally Posted by TechMage89 View Post
Can't wait until ati porting is done!

By the way, in the case of the X driver, does it just have a "dummy" ddx that passes everything to the kernel modesetting driver, or is there an actual structural change? Will there be any changes to how and where acceleration (EXA, Render, OpenGL) is handled?
Initially we are just going to use the normal DDX, with some common code, however for keeping compat with current randr-1.2 implementations, we'll need some impedance matching in the DDX layer between the kernel and randr interfaces.

nothing else will move, however we will be restricting what the X driver can access, i.e. no more direct register access, all accel should be done via kernel command submission etc.. so for Intel we have had to switch the DDX from using the ring directly to using batchbuffers and submitting those to the kernel,

the final point we want to reach is probably a driver with kernel modesetting/EXA/TTM and nothing else.

Dave.
Reply With Quote
  #5  
Old 04-21-2008, 12:06 AM
sc3252 sc3252 is offline
Junior Member
 
Join Date: Jul 2007
Posts: 47
Default

I love this site! Thank you Michael Larabel for taking the time to write about this(and to show an example). Hopefully I can see this in action on my new rv770 in the near future.
Reply With Quote
  #6  
Old 04-21-2008, 01:14 PM
remm remm is offline
Phoronix Member
 
Join Date: Sep 2007
Posts: 107
Default

The radeon(hd) drivers and nouveau have that stuff as a high priority item so I would expect the majority of current cards to get supported in Fedora sooner rather than later.
Reply With Quote
  #7  
Old 04-21-2008, 05:17 PM
Tillin9 Tillin9 is offline
Phoronix Member
 
Join Date: Aug 2006
Posts: 75
Default

I can't wait for this in radeon or really any driver that isn't tied to a chipset (I don't think Intel has any discrete cards after i740).

Keep up the good work!
Reply With Quote
  #8  
Old 04-22-2008, 03:22 AM
Thetargos Thetargos is offline
Senior Member
 
Join Date: Apr 2007
Location: Mexico City, Mexico
Posts: 840
Default

No Intel has no other discrete cards after the i740, but they will soon release some based on their new architecture (which in turn is based off the x86 instruction set), the name currently eludes me, as does the estimated time frame of its release.
Reply With Quote
  #9  
Old 04-22-2008, 07:35 AM
Michael Michael is online now
Phoronix
 
Join Date: Jun 2006
Location: United States
Posts: 4,561
Default

Quote:
Originally Posted by Thetargos View Post
the name currently eludes me
Larrabee is the codename. Not to be confused with Larabel


Cheers,
Michael Larabel
Reply With Quote
  #10  
Old 04-22-2008, 10:58 AM
remm remm is offline
Phoronix Member
 
Join Date: Sep 2007
Posts: 107
Default

Larabee isn't showing up next month anyway (unfortunately, I would buy one), and I don't think good OSS support for it is going to be a problem
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 07:30 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright ©2004 - 2009 by Phoronix Media.