Skip to contentSkip to conversation

nouveau_class.h

DISCUSSION Ben Skeggs 4 participants 6 messages Apr 9, 2010 2 messages not in the archive

lore
Share & tools
lore

Ben Skeggs

author
#0 lore raw

So, with all the nouveau_class.h changes lately it's become rather difficult to keep libdrm synced up with a particular mesa version.

This is much like what happens when we break our kernel ABI, but on a far more regular basis so it has a larger impact.

I'm proposing we drop nouveau_class.h from libdrm again, and move it back to the ddx and mesa trees where it can be updated at the same time the code that uses it is.

Any objections / other suggestions?

Ben.

#1 lore raw
Quoted 11 lines · Ben Skeggs

So, with all the nouveau_class.h changes lately it's become rather difficult to keep libdrm synced up with a particular mesa version.

This is much like what happens when we break our kernel ABI, but on a far more regular basis so it has a larger impact.

I'm proposing we drop nouveau_class.h from libdrm again, and move it back to the ddx and mesa trees where it can be updated at the same time the code that uses it is.

Any objections / other suggestions?

As long as it's autogenerated and not manually modified, it's fine by me.

Quoted 8 lines

Ben.

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

#4 lore raw
In reply to Ben Skeggs
Quoted 12 lines · Ben Skeggs

So, with all the nouveau_class.h changes lately it's become rather difficult to keep libdrm synced up with a particular mesa version.

This is much like what happens when we break our kernel ABI, but on a far more regular basis so it has a larger impact.

I'm proposing we drop nouveau_class.h from libdrm again, and move it back to the ddx and mesa trees where it can be updated at the same time the code that uses it is.

Any objections / other suggestions?

Agreed. We don't need more interfaces, we need less interfaces.

Stephane

author
#3 lore raw
In reply to a message not in the archive
Quoted 7 lines · Maarten Maathuis
Quoted 6 lines · Ben Skeggs

So, with all the nouveau_class.h changes lately it's become rather difficult to keep libdrm synced up with a particular mesa version.

This is much like what happens when we break our kernel ABI, but on a far more regular basis so it has a larger impact.

Quoted 7 lines
Quoted 5 lines

I'm proposing we drop nouveau_class.h from libdrm again, and move it back to the ddx and mesa trees where it can be updated at the same time the code that uses it is.

Any objections / other suggestions?

As long as it's autogenerated and not manually modified, it's fine by me.

Of course, I'm not proposing changing from how we currently generate nouveau_class.h from renouveau at all, just that we ship a version with the ddx/mesa that matches what the code actually uses.

Ben.

Quoted 9 lines
Quoted 9 lines

Ben.

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

author
#6 lore raw
In reply to a message not in the archive
Quoted 7 lines · Stephane Marchesin
Quoted 6 lines · Ben Skeggs

So, with all the nouveau_class.h changes lately it's become rather difficult to keep libdrm synced up with a particular mesa version.

This is much like what happens when we break our kernel ABI, but on a far more regular basis so it has a larger impact.

Quoted 8 lines
Quoted 6 lines

I'm proposing we drop nouveau_class.h from libdrm again, and move it back to the ddx and mesa trees where it can be updated at the same time the code that uses it is.

Any objections / other suggestions?

Agreed. We don't need more interfaces, we need less interfaces.

Great, I probably have some time to kill tonight so I'll probably get it done in the next couple of hours.

Ben.

Quoted 2 lines

Stephane

#7 lore raw
In reply to Ben Skeggs
Quoted 12 lines · Ben Skeggs

So, with all the nouveau_class.h changes lately it's become rather difficult to keep libdrm synced up with a particular mesa version.

This is much like what happens when we break our kernel ABI, but on a far more regular basis so it has a larger impact.

I'm proposing we drop nouveau_class.h from libdrm again, and move it back to the ddx and mesa trees where it can be updated at the same time the code that uses it is.

Any objections / other suggestions?

I did several times mesa bisection across one or more nouveau_class.h changes , that was a bit painful.
So that change would be most welcome.

And that would also obsolete the regular build failures from users who forgot to update libdrm.