Skip to contentSkip to conversation

Why was old TTM removed from drm.git?

DISCUSSION Pekka Paalanen 4 participants 5 messages Jun 24, 2009 – Jun 25, 2009 2 messages not in the archive

lore
Share & tools
lore
#0 lore raw

Hi Thomas,

I meant to ask you this 24h ago:
why did you deliberately break Nouveau in drm.git?

The commit 9a33f62be1c478334572ea9384af60 "drm: Strip old ttm." not only removes the old TTM, it explicitly removes Nouveau from Makefile. IMHO this means you knew it broke Nouveau and you did not care. And there is no explanation in the commit as to why. Did you ask any Nouveau developer if it was ok?

It is true, that Nouveau is aiming for its own kernel tree for DRM development, but it is not for all end users yet. Majority of our users use the drm.git kernel modules for Nouveau, and now we get to explain how it is not there anymore, and we have no guide to point them to.

2.6.31-rc1 is coming, bearing newTTM. If you had waited a week, we would have had the kernel tree up and user documentation written on how to build that, and breaking Nouveau in drm.git would not have mattered.

Well, rc1 is so near, that we probably won't bother fixing Nouveau in drm.git. I just wish the transition would have been Nouveau developers' decision.

Regards, pq

Signature · 2 lines
Pekka Paalanen
http://www.iki.fi/pq/
#1 lore raw

Hi, Pekka!

I'm sorry for this breakage. I thought drm master was currently used only for libdrm development, but
I see now that I didn't pay enough attention. Just prior to the commit I sent out a message explaining what I was going to do and why, but apparently it didn't make it to the list (which seems to be the case of quite a few mails these days).

Please feel free to revert that commit and pull it in again when you think it's OK, or perhaps anchor a nouveau drm branch just ahead of this commit. The old TTM is completely unmaintained and blocks any attempt to bring the drm.git master repo reasonably up to sync with what's in the kernel, so the sooner it goes away the better.

Again, Sorry for the breakage.

/Thomas

Quoted 20 lines · Pekka Paalanen

Hi Thomas,

I meant to ask you this 24h ago:
why did you deliberately break Nouveau in drm.git?

The commit 9a33f62be1c478334572ea9384af60 "drm: Strip old ttm." not only removes the old TTM, it explicitly removes Nouveau from Makefile. IMHO this means you knew it broke Nouveau and you did not care. And there is no explanation in the commit as to why. Did you ask any Nouveau developer if it was ok?

It is true, that Nouveau is aiming for its own kernel tree for DRM development, but it is not for all end users yet. Majority of our users use the drm.git kernel modules for Nouveau, and now we get to explain how it is not there anymore, and we have no guide to point them to.

2.6.31-rc1 is coming, bearing newTTM. If you had waited a week, we would have had the kernel tree up and user documentation written on how to build that, and breaking Nouveau in drm.git would not have mattered.

Quoted 8 lines

Well, rc1 is so near, that we probably won't bother fixing Nouveau in drm.git. I just wish the transition would have been Nouveau developers' decision.

Regards, pq

------------------------------------------------------------------------------
--

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw
Quoted 8 lines · On Wed, 24 Jun 2009 19:26:41 +0200 Thomas Hellström…

Hi, Pekka!

I'm sorry for this breakage. I thought drm master was currently used only for libdrm development, but
I see now that I didn't pay enough attention. Just prior to the commit I sent out a message explaining what I was going to do and why, but apparently it didn't make it to the list (which seems to be the case of quite a few mails these days).

Yeah, I read dri-devel@ daily, and I didn't notice anything. Of course I could have missed it.

Quoted 7 lines

Please feel free to revert that commit and pull it in again when you think it's OK, or perhaps anchor a nouveau drm branch just ahead of this commit. The old TTM is completely unmaintained and blocks any attempt to bring the drm.git master repo reasonably up to sync with what's in the kernel, so the sooner it goes away the better.

Again, Sorry for the breakage.

Don't worry, I believe we can live with this for the few days it takes to get our replacement source going.

Bringing drm.git up to sync... are you saying someone is going to start porting stuff from Linus' tree back to drm.git? Isn't drm.git linux-core dying after all?

Thanks.

Signature · 2 lines
Pekka Paalanen
http://www.iki.fi/pq/
#4 lore raw
In reply to a message not in the archive
Quoted 4 lines · Thomas Hellström

Just prior to the commit I sent out a message explaining what I was going to do and why, but apparently it didn't make it to the list (which seems to be the case of quite a few mails these days).

What was the From: address and subject of that mail (or any others that were apparently lost)? I can't seem to find anything in the dri-devel moderation queue mails around the weekend, so apparently it was dropped before it reached mailman. Maybe some sf.net spam filter or something.

Signature · 6 lines
Earthling Michel Dänzer           |                http://www.vmware.com
Libre software enthusiast         |          Debian, X and DRI developer
_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

A message that is not in the archive (sent off-list or not yet received): 1245911291.20064.3828.camel-2h6evNeVVYGs1BDpvl8NfQ@public.gmane.org

#6 lore raw

Michel Dänzer skrev:

Quoted 7 lines · Thomas Hellström
Quoted 5 lines

Just prior to the commit I sent out a message explaining what I was going to do and why, but apparently it didn't make it to the list (which seems to be the case of quite a few mails these days).

Quoted 7 lines

What was the From: address and subject of that mail (or any others that were apparently lost)? I can't seem to find anything in the dri-devel moderation queue mails around the weekend, so apparently it was dropped before it reached mailman. Maybe some sf.net spam filter or something.

Hi!
Attaching the mail and another one that was stripped. Furthermore
I had two patches sent by git-send-email stripped away, but when I routed them through the vmware smtp server they arrived.

It might be that sf.net doesn't like my isp email server.

/Thomas.

Hi!

I'm about to push a commit that strips old TTM from the drm git repo. Not sure if anybody uses it for other things than libdrm, but at least that will remove some unused code.

The master nouveau driver will be disabled since it depends on old ttm.

/Thomas

Okias,

The documentation available is the Xorg wiki TTM page (a little outdated) and the ttm header files
which are quite well commented.

Currently there are three drivers using it
1) The Radeon KMS driver using a subset of the TTM functionality.
2) The Intel moorestown / Poulsbo driver which uses the full TTM functionality including modesetting. Look at the list archives for pointers to that.
3) The openchrome driver in the modesetting-newttm branch. No modesetting yet for that one.

Note that the latter 2 drivers are using a tiny TTM user-space interface which is never going to make it to the mainstream kernel. The openChrome driver will be patched up to use a driver-specific version of that interface.

/Thomas

Quoted 10 lines · okias

Hello,

exist any documentation related to newttm (except already exist drivers) + any HowTo for 'convert' fb driver + xorg driver to support memory manager + kms?

Thanks

okias

Quoted 11 lines

------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
--
_______________________________________________
Dri-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau