nouveau_class.h
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.
Quoted 11 lines · Ben Skeggs
So, with all the
nouveau_class.hchanges 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.hfrom 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
Quoted 12 lines · Ben Skeggs
So, with all the
nouveau_class.hchanges 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.hfrom 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
Quoted 7 lines · Maarten Maathuis
Quoted 6 lines · Ben Skeggs
So, with all the
nouveau_class.hchanges 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.hfrom 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
Quoted 7 lines · Stephane Marchesin
Quoted 6 lines · Ben Skeggs
So, with all the
nouveau_class.hchanges 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.hfrom 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
Quoted 12 lines · Ben Skeggs
So, with all the
nouveau_class.hchanges 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.hfrom 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.