Re: dropping UMS - xf86-video-ati-7.0.0

2012-06-21 Thread Robert Swindells

Alex Deucher wrote:
>On Sun, Jun 17, 2012 at 8:48 AM, Robert Swindells  wrote:
>>
>> Michael Dänzer wrote:
>>>On Don, 2012-06-14 at 20:19 +0100, Dave Airlie wrote:
 I'm seriously thinking of resurrecting the kms killing branch,
>>>
>>>I'm not opposed, it's becoming rather painful to keep UMS building, let
>>>alone working.
>>>
 can anyone give me a reason not too,
>>>
>>>Not sure a reason is enough, someone would need to step up and take care
>>>of UMS vs. ongoing development.
>>
>> If people were interested in working on UMS to use on non-linux systems
>> how would they get the documentation on recent chips ?
>
>The easiest method would be to use the KMS code as a reference.

The main reason I was considering trying to work on UMS was the length
of time it is taking me to get anywhere with porting the radeon KMS
code and the feeling that even when I do get it all to compile I won't
be able to debug it.

I think the best plan for me is to get an older R600 card off eBay.

Robert Swindells
___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-driver-ati


Re: dropping UMS - xf86-video-ati-7.0.0

2012-06-21 Thread Alex Deucher
On Sun, Jun 17, 2012 at 8:48 AM, Robert Swindells  wrote:
>
> Michael Dänzer wrote:
>>On Don, 2012-06-14 at 20:19 +0100, Dave Airlie wrote:
>>> I'm seriously thinking of resurrecting the kms killing branch,
>>
>>I'm not opposed, it's becoming rather painful to keep UMS building, let
>>alone working.
>>
>>> can anyone give me a reason not too,
>>
>>Not sure a reason is enough, someone would need to step up and take care
>>of UMS vs. ongoing development.
>
> If people were interested in working on UMS to use on non-linux systems
> how would they get the documentation on recent chips ?

The easiest method would be to use the KMS code as a reference.

Alex

>
> Robert Swindells
>
> ___
> xorg-driver-ati mailing list
> xorg-driver-ati@lists.x.org
> http://lists.x.org/mailman/listinfo/xorg-driver-ati
>
___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-driver-ati


dropping UMS - xf86-video-ati-7.0.0

2012-06-21 Thread Robert Swindells

Michael Dänzer wrote:
>On Don, 2012-06-14 at 20:19 +0100, Dave Airlie wrote: 
>> I'm seriously thinking of resurrecting the kms killing branch,
>
>I'm not opposed, it's becoming rather painful to keep UMS building, let
>alone working.
>
>> can anyone give me a reason not too,
>
>Not sure a reason is enough, someone would need to step up and take care
>of UMS vs. ongoing development.

If people were interested in working on UMS to use on non-linux systems
how would they get the documentation on recent chips ?

Robert Swindells
___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-driver-ati


Re: dropping UMS - xf86-video-ati-7.0.0

2012-06-18 Thread Luc Verhaegen
On Mon, Jun 18, 2012 at 04:04:05PM +0100, Robert Swindells wrote:
> 
> Michael D?nzer wrote:
> >On Don, 2012-06-14 at 20:19 +0100, Dave Airlie wrote: 
> >> I'm seriously thinking of resurrecting the kms killing branch,
> >
> >I'm not opposed, it's becoming rather painful to keep UMS building, let
> >alone working.
> >
> >> can anyone give me a reason not too,
> >
> >Not sure a reason is enough, someone would need to step up and take care
> >of UMS vs. ongoing development.
> 
> If people were interested in working on UMS to use on non-linux systems
> how would they get the documentation on recent chips ?
> 
> Robert Swindells

The only answer would be: read the kernel source.

Here are the docs that are available:
http://www.x.org/docs/AMD/
http://developer.amd.com/documentation/guides/Pages/default.aspx#open_gpu

Afaict, there is no register documentation being made available 
by ATI anymore. All you get is the shader instruction sets from AMDs 
GPGPU people.

The deal with AMD at the time was that all basic hw and display 
information would be made public (these days, our proposal can be read 
at 
http://www.phoronix.com/scan.php?page=article&item=amd_radeonhd_four&num=1), 
and that we at SuSE would not get any documentation that was not meant 
to be made public, but that we would get it already while it was in the 
process of being cleared legally. While the documents that we did get 
initially (soon 5 years ago) were cleared during the time the SuSE/AMD 
contract was in place, are made public today, the documents that we got 
later on, like some ATI R7xx registers docs and R7xx AtomBIOS 
documentation (we never saw AtomBIOS documentation for R5xx or any R6xx 
type chip), were not cleared in that timeframe and were subsequently not 
released, despite Mr Bridgmans initial assurance that these docs would 
go out.

So all you have is the kernel source and Matthias Hopfs excellent 
AtomBIOS disassembler (in as far as the latter is still useful on 
recent AtomBIOSes). The disassembler is a real life saver when trying to 
figure out how the AtomBIOS interface changes, or with spotting bugs in 
the BIOS, but i have no idea how useful that becomes without any 
register information.

Luc Verhaegen.
___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-driver-ati


dropping UMS - xf86-video-ati-7.0.0

2012-06-18 Thread Robert Swindells

Michael Dänzer wrote:
>On Don, 2012-06-14 at 20:19 +0100, Dave Airlie wrote: 
>> I'm seriously thinking of resurrecting the kms killing branch,
>
>I'm not opposed, it's becoming rather painful to keep UMS building, let
>alone working.
>
>> can anyone give me a reason not too,
>
>Not sure a reason is enough, someone would need to step up and take care
>of UMS vs. ongoing development.

If people were interested in working on UMS to use on non-linux systems
how would they get the documentation on recent chips ?

Robert Swindells
___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-driver-ati


Re: dropping UMS - xf86-video-ati-7.0.0

2012-06-15 Thread Dave Airlie
On Fri, Jun 15, 2012 at 3:53 PM, Roland Scheidegger
 wrote:
> Am 14.06.2012 21:19, schrieb Dave Airlie:
>> I'm seriously thinking of resurrecting the kms killing branch, can
>> anyone give me a reason not too,
>>
>> we'd fork the current master into a UMS branch and move on.
>
> Aren't there still some OS using this driver but not supporting kms?
> Though I guess it doesn't actually matter for them if they need to use
> the ums branch instead...
> Otherwise sounds good to me.

There hasn't been anything new in UMS world really in 2-3 years,

I'd rather split it off and let those who care about it deal with it,
a lot of changes have
broken UMS recently.

So far its also 61k loc less to worry about, along with reducing the
complexity of
the macros and spaghetti useEXA, XAA code.

Dave.
___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-driver-ati


Re: dropping UMS - xf86-video-ati-7.0.0

2012-06-15 Thread Roland Scheidegger
Am 14.06.2012 21:19, schrieb Dave Airlie:
> I'm seriously thinking of resurrecting the kms killing branch, can
> anyone give me a reason not too,
> 
> we'd fork the current master into a UMS branch and move on.

Aren't there still some OS using this driver but not supporting kms?
Though I guess it doesn't actually matter for them if they need to use
the ums branch instead...
Otherwise sounds good to me.

Roland
___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-driver-ati


Re: dropping UMS - xf86-video-ati-7.0.0

2012-06-15 Thread Jonathan A. Kollasch
On Thu, Jun 14, 2012 at 08:19:32PM +0100, Dave Airlie wrote:
> I'm seriously thinking of resurrecting the kms killing branch, can
> anyone give me a reason not too,

Well, for the time being this would break my oddball OS (NetBSD) that
doesn't yet have KMS.  Not that anything newer than about R700 is even
very useful without TTM for me.

> we'd fork the current master into a UMS branch and move on.

Well, that's better than nothing, at least assuming Someone maintains it.

Jonathan Kollasch
___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-driver-ati


Re: dropping UMS - xf86-video-ati-7.0.0

2012-06-15 Thread Dave Airlie
On Fri, Jun 15, 2012 at 9:35 AM, Michel Dänzer  wrote:
> On Don, 2012-06-14 at 20:19 +0100, Dave Airlie wrote:
>> I'm seriously thinking of resurrecting the kms killing branch,
>
> I'm not opposed, it's becoming rather painful to keep UMS building, let
> alone working.
>
>> can anyone give me a reason not too,
>
> Not sure a reason is enough, someone would need to step up and take care
> of UMS vs. ongoing development.
>
>> we'd fork the current master into a UMS branch and move on.
>
> Sounds good. Might even allow cleaning up the UMS code as well for
> someone so inclined.

Okay I've pushed a branch kms-only to the master repo

I've only build tested it, now for the fun bit.

Dave.
___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-driver-ati


Re: dropping UMS - xf86-video-ati-7.0.0

2012-06-15 Thread Michel Dänzer
On Don, 2012-06-14 at 20:19 +0100, Dave Airlie wrote: 
> I'm seriously thinking of resurrecting the kms killing branch,

I'm not opposed, it's becoming rather painful to keep UMS building, let
alone working.

> can anyone give me a reason not too,

Not sure a reason is enough, someone would need to step up and take care
of UMS vs. ongoing development.

> we'd fork the current master into a UMS branch and move on.

Sounds good. Might even allow cleaning up the UMS code as well for
someone so inclined.


-- 
Earthling Michel Dänzer   |   http://www.amd.com
Libre software enthusiast |  Debian, X and DRI developer
___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-driver-ati


Re: dropping UMS - xf86-video-ati-7.0.0

2012-06-14 Thread Alex Deucher
On Thu, Jun 14, 2012 at 3:19 PM, Dave Airlie  wrote:
> I'm seriously thinking of resurrecting the kms killing branch, can
> anyone give me a reason not too,
>
> we'd fork the current master into a UMS branch and move on.

+1

Alex

>
> Dave.
> ___
> xorg-driver-ati mailing list
> xorg-driver-ati@lists.x.org
> http://lists.x.org/mailman/listinfo/xorg-driver-ati
___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-driver-ati


dropping UMS - xf86-video-ati-7.0.0

2012-06-14 Thread Dave Airlie
I'm seriously thinking of resurrecting the kms killing branch, can
anyone give me a reason not too,

we'd fork the current master into a UMS branch and move on.

Dave.
___
xorg-driver-ati mailing list
xorg-driver-ati@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-driver-ati