Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux: Kernel

Radeon xpress 200m and radeonfb kinda work

 

 

Linux kernel RSS feed   Index | Next | Previous | View Threaded


jhn98032 at gmail

Mar 5, 2007, 4:16 PM

Post #1 of 6 (355 views)
Permalink
Radeon xpress 200m and radeonfb kinda work

Hi!

I have gotten the radeon xpress 200m (the version without dedicated vmem)
to work with radeonfb.
The attached patch (against linux-2.6.20.1) works for me.
Since I don't have any docs for the card I am unsure if the patch is
100% correct.
Can someone else with a 200m try it out?
(I have tested it by enabling fbcon and radeonfb in the kernel and
added "video=radeonfb" to lilo. This gave me a nice 1280x800 console :) )

/Johan Henriksson

Please CC, I'm not on the list.
Attachments: radeonfb_200m_patch.txt (2.97 KB)


cebbert at redhat

Mar 7, 2007, 8:43 AM

Post #2 of 6 (325 views)
Permalink
Re: Radeon xpress 200m and radeonfb kinda work [In reply to]

Johan Henriksson wrote:
> Hi!
>
> I have gotten the radeon xpress 200m (the version without dedicated vmem)
> to work with radeonfb.
> The attached patch (against linux-2.6.20.1) works for me.
> Since I don't have any docs for the card I am unsure if the patch is
> 100% correct.
> Can someone else with a 200m try it out?
> (I have tested it by enabling fbcon and radeonfb in the kernel and
> added "video=radeonfb" to lilo. This gave me a nice 1280x800 console :) )
>

Works for me as a module on Compaq V2000 notebook.
160x48 is a bit small, but looks very clear and crisp.

Is there anything else needed to get this merged?


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


jhn98032 at gmail

Mar 7, 2007, 12:58 PM

Post #3 of 6 (327 views)
Permalink
Re: Radeon xpress 200m and radeonfb kinda work [In reply to]

Chuck Ebbert wrote:
> Johan Henriksson wrote:
>
> > Hi!
> >
> > I have gotten the radeon xpress 200m (the version without dedicated
> > vmem) to work with radeonfb. The attached patch (against
> > linux-2.6.20.1) works for me. Since I don't have any docs for the
> > card I am unsure if the patch is 100% correct. Can someone else
> > with a 200m try it out? (I have tested it by enabling fbcon and
> > radeonfb in the kernel and added "video=radeonfb" to lilo. This
> > gave me a nice 1280x800 console :) )
> >
>
> Works for me as a module on Compaq V2000 notebook. 160x48 is a bit
> small, but looks very clear and crisp.
>
> Is there anything else needed to get this merged?
>

As you can see in the patch I have disabled "Dynamic Clock PM"
since it makes my card freak out (Don't know why :( ).
Is there a reason why the "default_dynclk" parameter only is available
when radeonfb is built as a module or should it be added to radeonfb_setup?

/Johan Henriksson


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


nigel at nigel

Mar 7, 2007, 2:39 PM

Post #4 of 6 (327 views)
Permalink
Re: Radeon xpress 200m and radeonfb kinda work [In reply to]

Hi.

On Tue, 2007-03-06 at 01:16 +0100, Johan Henriksson wrote:
> Hi!
>
> I have gotten the radeon xpress 200m (the version without dedicated
> vmem)
> to work with radeonfb.
> The attached patch (against linux-2.6.20.1) works for me.
> Since I don't have any docs for the card I am unsure if the patch is
> 100% correct.
> Can someone else with a 200m try it out?
> (I have tested it by enabling fbcon and radeonfb in the kernel and
> added "video=radeonfb" to lilo. This gave me a nice 1280x800
> console :) )
>
> /Johan Henriksson
>
> Please CC, I'm not on the list.
>
> @@ -2329,7 +2332,7 @@ static int __devinit radeonfb_pci_regist
> /* -2 is special: means ON on mobility chips and do not
> * change on others
> */
> - radeonfb_pm_init(rinfo, rinfo->is_mobility ? 1 : -1, ignore_devlist, force_sleep);
> + radeonfb_pm_init(rinfo, -1,ignore_devlist, force_sleep);//rinfo->is_mobility ? 1 : -1);

That looks like it might break !200M. Maybe something line
rinfo->is_mobility && !rinfo->rs480 (with additional modifications to
define an rs480, of course) - or a more generic name indicating why the
rs480 is different?

Regards,

Nigel

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


jhn98032 at gmail

Mar 7, 2007, 2:59 PM

Post #5 of 6 (341 views)
Permalink
Re: Radeon xpress 200m and radeonfb kinda work [In reply to]

Nigel Cunningham wrote:
> Hi.
>
> On Tue, 2007-03-06 at 01:16 +0100, Johan Henriksson wrote:
> > Hi!
> >
> > I have gotten the radeon xpress 200m (the version without dedicated
> > vmem) to work with radeonfb. The attached patch (against
> > linux-2.6.20.1) works for me. Since I don't have any docs for the
> > card I am unsure if the patch is 100% correct. Can someone else
> > with a 200m try it out? (I have tested it by enabling fbcon and
> > radeonfb in the kernel and added "video=radeonfb" to lilo. This
> > gave me a nice 1280x800 console :) )
> >
> > /Johan Henriksson
> >
> > Please CC, I'm not on the list.
> >
> > @@ -2329,7 +2332,7 @@ static int __devinit radeonfb_pci_regist /*
> > -2 is special: means ON on mobility chips and do not * change on
> > others */ - radeonfb_pm_init(rinfo, rinfo->is_mobility ? 1 : -1,
> > ignore_devlist, force_sleep); + radeonfb_pm_init(rinfo,
> > -1,ignore_devlist, force_sleep);//rinfo->is_mobility ? 1 : -1);
>
> That looks like it might break !200M. Maybe something line
> rinfo->is_mobility && !rinfo->rs480 (with additional modifications to
> define an rs480, of course) - or a more generic name indicating why
> the rs480 is different?
>
> Regards,
>
> Nigel
>

I know, I am sorry. We could use family as in:

rinfo->is_mobility && rinfo->family != CHIP_FAMILY_RS480

Another solution is to add "default_dynclk" to radeonfb_setup
so that everybody with a rs480 can disable it.

I don't have the register specification for the 200m (RS480) so I don't
know why enabling "dynamic clock pm" doesn't work.

/Johan Henriksson


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo [at] vger
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/


cebbert at redhat

Mar 8, 2007, 8:00 AM

Post #6 of 6 (340 views)
Permalink
Re: Radeon xpress 200m and radeonfb kinda work [In reply to]

johan henriksson wrote:
> As you can see in the patch I have disabled "Dynamic Clock PM"
> since it makes my card freak out (Don't know why :( ).
> Is there a reason why the "default_dynclk" parameter only is available
> when radeonfb is built as a module or should it be added to radeonfb_setup?

I don't have a clue how that works; I just merged your patch
into a Fedora test kernel and it worked. (And it looks a lot
nicer than vesafb.)

Our X driver guru says the patch is OK and Xpress 200M is
the same as normal Radeon for 2D so framebuffer should be OK.

So we can add this to the patch:

Tested-by: Chuck Ebbert <cebbert [at] redhat>

Please repost it as a reply-to-all and add a decent description
and a signed-off-by per this document:

http://www.zip.com.au/~akpm/linux/patches/stuff/tpp.txt
Attachments: linux-2.6-20_radeon_fb_200M.patch (3.44 KB)

Linux kernel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.