Phoronix Forums  

Go Back   Phoronix Forums > Linux Graphics / X.Org Drivers > Open-Source AMD/ATI Linux

Open-Source AMD/ATI Linux Technical support and discussion of the open-source Radeon, RadeonHD, and Avivo drivers.

Reply
 
Thread Tools Display Modes
  #1  
Old 06-30-2009, 01:40 PM
phoronix phoronix is offline
Phoronix News Bot
 
Join Date: Jan 2007
Posts: 3,103
Default ATI's X.Org DDX Driver Gets KMS Ready

Phoronix: ATI's X.Org DDX Driver Gets KMS Ready

With the forthcoming Linux 2.6.31 kernel there is finally Radeon kernel mode-setting support so that those running ATI graphics cards on Linux will be able to experience a cleaner boot process, faster VT switching, improved security, and other overdue features for Linux. Using kernel mode-setting with ATI Radeon hardware will require a supported kernel that is built with the appropriate kernel configuration options. In addition, an updated DDX driver is also necessary so it realizes the kernel is handling the mode-setting process...

http://www.phoronix.com/vr.php?view=NzM1Ng
Reply With Quote
  #2  
Old 06-30-2009, 02:28 PM
Louise Louise is offline
Senior Member
 
Join Date: May 2008
Posts: 470
Default

So this is a vital patch before KMS for R600 and R700 can be implemented?
Reply With Quote
  #3  
Old 06-30-2009, 02:39 PM
smitty3268 smitty3268 is online now
Senior Member
 
Join Date: Oct 2008
Posts: 128
Default

Quote:
Originally Posted by Louise View Post
So this is a vital patch before KMS for R600 and R700 can be implemented?
This was required before ANY radeon card could use KMS, both R600+ and the older generations. I believe the stuff that isn't working just for the newer cards is in the kernel and Mesa codebases. Not sure about DRM.
Reply With Quote
  #4  
Old 06-30-2009, 02:48 PM
r1348 r1348 is offline
Junior Member
 
Join Date: Jul 2007
Posts: 37
Default

The transition to KMS should be quite straight-forward, as it has been enabled in Fedora for a year now, providing a pretty long testing time frame.
Reply With Quote
  #5  
Old 06-30-2009, 04:24 PM
Louise Louise is offline
Senior Member
 
Join Date: May 2008
Posts: 470
Default

Quote:
Originally Posted by smitty3268 View Post
This was required before ANY radeon card could use KMS, both R600+ and the older generations. I believe the stuff that isn't working just for the newer cards is in the kernel and Mesa codebases. Not sure about DRM.
I see

It would be nice with a dependency tree. E.g.

Code:
KMS -> 3D -> Power Management
... and all the other stuff at
http://www.x.org/wiki/RadeonFeature

Reply With Quote
  #6  
Old 06-30-2009, 07:53 PM
MùPùF MùPùF is offline
Phoronix Member
 
Join Date: Feb 2009
Location: France
Posts: 100
Default

I've just tried this out and it didn't work well !
I didn't take the time to figure out why, just wanted to say recompiling was not sufficient for me.

I've fall back on the kms branch that kind of "works".
Reply With Quote
  #7  
Old 06-30-2009, 09:09 PM
smitty3268 smitty3268 is online now
Senior Member
 
Join Date: Oct 2008
Posts: 128
Default

Quote:
Originally Posted by Louise View Post
It would be nice with a dependency tree.
As I understand it:

possible to work on now:
r600+ 3D (OpenGL1.4)
video acceleration (shader, not UVD2)
power management (already in master branch)

memory manager -> KMS
memory manager -> DRI2
memory manager -> Gallium

Gallium -> more advanced 3D (OpenGL2.0+)
Gallium -> generic video acceleration framework

KMS -> more advanced power management
Reply With Quote
  #8  
Old 06-30-2009, 11:27 PM
bridgman bridgman is offline
AMD Linux
 
Join Date: Oct 2007
Posts: 3,477
Default

AFAICS this patch merges some of the existing KMS support into master. Kernel and mesa support have already been merged (2.6.31 for the kernel, radeon-rewrite merge for mesa), so once this merge is done all the big pieces for KMS support will be in their respective master trees.

I don't think this does anything specific for 6xx/7xx but it does mean that work can now be based on master rather than on another branch, which is really nice.

Smitty3268, I made a few minor changes, see below. Otherwise your list looks good.

memory manager -> KMS
memory manager -> DRI2 / RDR (RDR is what everyone really wants)
memory manager -> Gallium3D
memory manager -> more advanced 3D (OpenGL 1.5+) via chip-specific code

Gallium3D -> more advanced 3D (OpenGL 1.5+) via generic code
Gallium3D -> generic video acceleration framework

KMS -> more advanced power management (dynamic control of clocks etc..)

Last edited by bridgman; 06-30-2009 at 11:38 PM.
Reply With Quote
  #9  
Old 07-01-2009, 08:40 AM
tormod tormod is offline
Senior Member
 
Join Date: May 2008
Posts: 269
Default

Quote:
Originally Posted by MùPùF View Post
I've just tried this out and it didn't work well !
I didn't take the time to figure out why, just wanted to say recompiling was not sufficient for me.

I've fall back on the kms branch that kind of "works".
The commit in question, which was applied to master, does not provide KMS support. It is just some preparations for the final KMS patch to land later. So you will still have to use the kms-support branch for a while.
Reply With Quote
  #10  
Old 07-01-2009, 09:21 AM
Louise Louise is offline
Senior Member
 
Join Date: May 2008
Posts: 470
Default

If I combine the brances on the dependency tree, it becomes
Code:
memory manager -+-> KMS -> more advanced power management (dynamic control of clocks etc..)
                |
                +-> DRI2 / RDR (RDR is what everyone really wants)
                |
                +-> more advanced 3D (OpenGL 1.5+) via chip-specific code
                |
                +-> Gallium3D -+-> more advanced 3D (OpenGL 1.5+) via generic code
                               |
                               +-> generic video acceleration framework
Edit: branch 1 and 3 are not the same My bad

But can I ask where these go on the tree?:

* OpenCL
* TV-out
* GLSL
* Display Port

Last edited by Louise; 07-01-2009 at 09:29 AM.
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 05:15 AM.


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