Skip to contentSkip to conversation

vmwgfx GL3 and other -next (4.3) pathches

DISCUSSION Thomas Hellstrom 5 participants 15 messages Aug 12, 2015 – Aug 21, 2015

lore
Share & tools
lore
#0 lore raw

Hi, all,

I've pushed the current upcoming vmwgfx patches for 4.3 into

git://people.freedesktop.org/~thomash/linux
branch vmwgfx-next for review.

There are quite a few patches so I figured that this would be easier than posting all patches on the mailing list.
The patches are all internally reviewed, either by me, Sinclair Yeh, Brian Paul or Charmaine Lee.

The patchset basically enables the following
- Screen targets - Use of a new device API for scanout buffers
- Command buffers - A device command buffer queue replacing the old ring fifo.
- GL3 - support for a new device functionality called "DX" that enables us to support GL3. Mesa gallium driver support for GL3 is about to be published. The patches for DX support have been heavily squashed.

Please let me know if anybody has any objections against this.

Thanks,
Thomas

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw
Quoted 20 lines · Thomas Hellstrom

Hi, all,

I've pushed the current upcoming vmwgfx patches for 4.3 into

git://people.freedesktop.org/~thomash/linux
branch vmwgfx-next for review.

There are quite a few patches so I figured that this would be easier than posting all patches on the mailing list.
The patches are all internally reviewed, either by me, Sinclair Yeh, Brian Paul or Charmaine Lee.

The patchset basically enables the following
- Screen targets - Use of a new device API for scanout buffers
- Command buffers - A device command buffer queue replacing the old ring fifo.
- GL3 - support for a new device functionality called "DX" that enables us to support GL3. Mesa gallium driver support for GL3 is about to be published. The patches for DX support have been heavily squashed.

Quoted 1 line

Please let me know if anybody has any objections against this.

Just submit it to dri-devel, it's really not that much compared to other big patch series here ;-)
-Daniel

Signature · 7 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#3 lore raw
In reply to Thomas Hellstrom
Quoted 20 lines · Thomas Hellstrom

Hi, all,

I've pushed the current upcoming vmwgfx patches for 4.3 into

git://people.freedesktop.org/~thomash/linux
branch vmwgfx-next for review.

There are quite a few patches so I figured that this would be easier than posting all patches on the mailing list.
The patches are all internally reviewed, either by me, Sinclair Yeh, Brian Paul or Charmaine Lee.

The patchset basically enables the following
- Screen targets - Use of a new device API for scanout buffers
- Command buffers - A device command buffer queue replacing the old ring fifo.
- GL3 - support for a new device functionality called "DX" that enables us to support GL3. Mesa gallium driver support for GL3 is about to be published. The patches for DX support have been heavily squashed.

Quoted 1 line

Please let me know if anybody has any objections against this.

Out of curiosity I did take a (very) quick look and also tried to find the corresponding userspace parts. On a quick search I didn't find anything for libdrm or mesa, neither on mailing lists or already committed. Where are those pieces?
-Daniel

Signature · 7 lines
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#4 lore raw

Hi,

Quoted 21 lines · Daniel Vetter
Quoted 20 lines · Thomas Hellstrom

Hi, all,

I've pushed the current upcoming vmwgfx patches for 4.3 into

git://people.freedesktop.org/~thomash/linux
branch vmwgfx-next for review.

There are quite a few patches so I figured that this would be easier than posting all patches on the mailing list.
The patches are all internally reviewed, either by me, Sinclair Yeh, Brian Paul or Charmaine Lee.

The patchset basically enables the following
- Screen targets - Use of a new device API for scanout buffers
- Command buffers - A device command buffer queue replacing the old ring fifo.
- GL3 - support for a new device functionality called "DX" that enables us to support GL3. Mesa gallium driver support for GL3 is about to be published. The patches for DX support have been heavily squashed.

Quoted 6 lines
Quoted 1 line

Please let me know if anybody has any objections against this.

Out of curiosity I did take a (very) quick look and also tried to find the corresponding userspace parts. On a quick search I didn't find anything for libdrm or mesa, neither on mailing lists or already committed. Where are those pieces?
-Daniel

The mesa code is ready and working but undergoing final tidying before upstreaming. The aim is of course to release it well before linux 4.3 is out. However our kernel interface has just undergone very minor changes.

Typically we don't use libdrm for any vmwgfx-specific code. At least not yet. The corresponding code sits in the gallium winsys.

Thanks,
Thomas

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to Daniel Vetter
Quoted 21 lines · Daniel Vetter
Quoted 20 lines · Thomas Hellstrom

Hi, all,

I've pushed the current upcoming vmwgfx patches for 4.3 into

git://people.freedesktop.org/~thomash/linux
branch vmwgfx-next for review.

There are quite a few patches so I figured that this would be easier than posting all patches on the mailing list.
The patches are all internally reviewed, either by me, Sinclair Yeh, Brian Paul or Charmaine Lee.

The patchset basically enables the following
- Screen targets - Use of a new device API for scanout buffers
- Command buffers - A device command buffer queue replacing the old ring fifo.
- GL3 - support for a new device functionality called "DX" that enables us to support GL3. Mesa gallium driver support for GL3 is about to be published. The patches for DX support have been heavily squashed.

Quoted 4 lines
Quoted 1 line

Please let me know if anybody has any objections against this.

Just submit it to dri-devel, it's really not that much compared to other big patch series here ;-)
-Daniel

OK, I'll do that. I spoke briefly to Dave some time ago and he suggested using a tree in this way, unless someone on dri-devel objected.

Thanks,
Thomas.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to Thomas Hellstrom
Quoted 9 lines · Thomas Hellstrom
Quoted 5 lines

Out of curiosity I did take a (very) quick look and also tried to find the corresponding userspace parts. On a quick search I didn't find anything for libdrm or mesa, neither on mailing lists or already committed. Where are those pieces?
-Daniel

The mesa code is ready and working but undergoing final tidying before upstreaming. The aim is of course to release it well before linux 4.3 is out. However our kernel interface has just undergone very minor change

In my opinion userspace must be ready for merging (and public) before the kernel code can go in. That's at least what I enforce for i915 and how all other drivers are handled.
-Daniel

Signature · 7 lines
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
#6 lore raw
Quoted 6 lines · Daniel Vetter
Quoted 5 lines · Thomas Hellstrom
Quoted 5 lines

Out of curiosity I did take a (very) quick look and also tried to find the corresponding userspace parts. On a quick search I didn't find anything for libdrm or mesa, neither on mailing lists or already committed. Where are those pieces?
-Daniel

Quoted 7 lines
Quoted 3 lines

The mesa code is ready and working but undergoing final tidying before upstreaming. The aim is of course to release it well before linux 4.3 is out. However our kernel interface has just undergone very minor change

In my opinion userspace must be ready for merging (and public) before the kernel code can go in. That's at least what I enforce for i915 and how all other drivers are handled.
-Daniel

OK. I was under the impression that this was only enforced on big user-space interface changes, new drivers or if there was a suspicion that the user-space part would never be open-sourced. Let's see what we can do to speed this up.

Thanks,
Thomas

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#14 lore raw
Quoted 6 lines · Emil Velikov

Hi Thomas,

On 12 August 2015 at 19:31, Thomas Hellstrom <[email protected]> wrote:
...

Quoted 1 line

- GL3 - support for a new device functionality called "DX"

Out of curiosity - what what does DX stand for ?

Hmm. I'm not 100% sure. Given the history of the device interface I guess it started out as "DX10" but to avoid legal issues it was renamed to DX.

/Thomas

Quoted 7 lines

Thanks
Emil
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw
In reply to Daniel Vetter
Quoted 6 lines · Daniel Vetter
Quoted 5 lines · Thomas Hellstrom
Quoted 5 lines

Out of curiosity I did take a (very) quick look and also tried to find the corresponding userspace parts. On a quick search I didn't find anything for libdrm or mesa, neither on mailing lists or already committed. Where are those pieces?
-Daniel

Quoted 7 lines
Quoted 3 lines

The mesa code is ready and working but undergoing final tidying before upstreaming. The aim is of course to release it well before linux 4.3 is out. However our kernel interface has just undergone very minor change

In my opinion userspace must be ready for merging (and public) before the kernel code can go in. That's at least what I enforce for i915 and how all other drivers are handled.
-Daniel

OK, so the mesa code has now been published here:

http://cgit.freedesktop.org/~thomash/mesa/log/?h=svga-gl3-merge

While it's in principle ready for merging, it lacks some final reviewing and testing but otherwise should work fine.

/Thomas

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw

Hi Thomas,

Quoted 15 lines · Thomas Hellstrom
Quoted 6 lines · Daniel Vetter
Quoted 5 lines · Thomas Hellstrom
Quoted 5 lines

Out of curiosity I did take a (very) quick look and also tried to find the corresponding userspace parts. On a quick search I didn't find anything for libdrm or mesa, neither on mailing lists or already committed. Where are those pieces?
-Daniel

Quoted 7 lines
Quoted 3 lines

The mesa code is ready and working but undergoing final tidying before upstreaming. The aim is of course to release it well before linux 4.3 is out. However our kernel interface has just undergone very minor change

In my opinion userspace must be ready for merging (and public) before the kernel code can go in. That's at least what I enforce for i915 and how all other drivers are handled.
-Daniel

Quoted 7 lines

OK, so the mesa code has now been published here:

http://cgit.freedesktop.org/~thomash/mesa/log/?h=svga-gl3-merge

While it's in principle ready for merging, it lacks some final reviewing and testing but otherwise should work fine.

I cannot see the series ever making it to the (mesa-dev) mailing list. Did it got stuck due to its size or you forgot to send it over ? Mildly related - the mesa 11.0 branchpoint is just a few hours away, so it seems that this work will miss it :(

Thanks
Emil
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#9 lore raw

Hi, Emil

Quoted 21 lines · Emil Velikov

Hi Thomas,

Quoted 18 lines · Thomas Hellstrom
Quoted 6 lines · Daniel Vetter
Quoted 5 lines · Thomas Hellstrom
Quoted 5 lines

Out of curiosity I did take a (very) quick look and also tried to find the corresponding userspace parts. On a quick search I didn't find anything for libdrm or mesa, neither on mailing lists or already committed. Where are those pieces?
-Daniel

Quoted 7 lines
Quoted 3 lines

The mesa code is ready and working but undergoing final tidying before upstreaming. The aim is of course to release it well before linux 4.3 is out. However our kernel interface has just undergone very minor change

In my opinion userspace must be ready for merging (and public) before the kernel code can go in. That's at least what I enforce for i915 and how all other drivers are handled.
-Daniel

OK, so the mesa code has now been published here:

http://cgit.freedesktop.org/~thomash/mesa/log/?h=svga-gl3-merge

Quoted 7 lines
Quoted 3 lines

While it's in principle ready for merging, it lacks some final reviewing and testing but otherwise should work fine.

I cannot see the series ever making it to the (mesa-dev) mailing list. Did it got stuck due to its size or you forgot to send it over ? Mildly related - the mesa 11.0 branchpoint is just a few hours away, so it seems that this work will miss it :(

The reason is basically because I want to get a final internal review and go-ahead. Unfortunately I wasn't aware that the mesa 11.0 branchpoint was immediately upcoming. I guess there's not much we can do about it at this point? Even if I post the patches now we can't just expect them to be reviewed within a couple of hours...

Thomas

Quoted 7 lines

Thanks
Emil
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#10 lore raw
Quoted 27 lines · Thomas Hellstrom

Hi, Emil

Quoted 24 lines · Emil Velikov

Hi Thomas,

Quoted 21 lines · Thomas Hellstrom
Quoted 6 lines · Daniel Vetter
Quoted 5 lines · Thomas Hellstrom
Quoted 5 lines

Out of curiosity I did take a (very) quick look and also tried to find the corresponding userspace parts. On a quick search I didn't find anything for libdrm or mesa, neither on mailing lists or already committed. Where are those pieces?
-Daniel

Quoted 7 lines
Quoted 3 lines

The mesa code is ready and working but undergoing final tidying before upstreaming. The aim is of course to release it well before linux 4.3 is out. However our kernel interface has just undergone very minor change

In my opinion userspace must be ready for merging (and public) before the kernel code can go in. That's at least what I enforce for i915 and how all other drivers are handled.
-Daniel

OK, so the mesa code has now been published here:

http://cgit.freedesktop.org/~thomash/mesa/log/?h=svga-gl3-merge

While it's in principle ready for merging, it lacks some final reviewing and testing but otherwise should work fine.

Quoted 7 lines
Quoted 4 lines

I cannot see the series ever making it to the (mesa-dev) mailing list. Did it got stuck due to its size or you forgot to send it over ? Mildly related - the mesa 11.0 branchpoint is just a few hours away, so it seems that this work will miss it :(

The reason is basically because I want to get a final internal review and go-ahead.

Ack. What are the chances of gradually adding (stubbing) and using the functionality rather than the current "add file X, but don't build and/or use it" approach ?

Quoted 2 lines

Unfortunately I wasn't aware that the mesa 11.0
branchpoint was immediately upcoming.

It was mentioned on the mailing list (search for "release schedule") with a few reminders, plus a note in the #dri-devel IRC channel topic.

If you can think of a way to make the process/timeline more obvious/well known, please let me know.

Quoted 4 lines

I guess there's not much we can do
about it at this point? Even if I post the patches now we can't just expect them to be reviewed within a couple of hours...

Unfortunately it seems like it. Guess I should have checked earlier.

Cheers
Emil

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#11 lore raw

Hi

Quoted 9 lines · Emil Velikov
Quoted 2 lines · Thomas Hellstrom

Unfortunately I wasn't aware that the mesa 11.0
branchpoint was immediately upcoming.

It was mentioned on the mailing list (search for "release schedule") with a few reminders, plus a note in the #dri-devel IRC channel topic.

If you can think of a way to make the process/timeline more obvious/well known, please let me know.

No. Entirely my fault. Been to busy with the kernel patches and other stuff.

Thanks,
Thomas

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#12 lore raw
In reply to Emil Velikov
Quoted 6 lines · Emil Velikov
Quoted 4 lines · Thomas Hellstrom

I guess there's not much we can do
about it at this point? Even if I post the patches now we can't just expect them to be reviewed within a couple of hours...

Unfortunately it seems like it. Guess I should have checked earlier.

The release process is there to help, not hurt. IMO it is perfectly acceptable for a driver maintainer to insert random features into their drivers at random times (subject to the usual release timing constraints). If you (as the vmwgfx driver maintainer) are comfortable with dumping the code into the release without the end-user testing that the -rc's would get (very little for vmwgfx I'd imagine) and suffering the consequences of a Mesa 11.0.0 release with a broken vmwgfx (due to some hypothetical error on your end), then it's fine for you to request a list of patches get cherry-picked (or provide a branch to be merged in) at the 11th hour.

That said, releases come about every 3 months now, and the expectation is that new features don't get into the minor point releases. However I think the pre-major-release time is a bit different than the usual stable maintenance, even though the actual release process is quite similar.

Cheers,

-ilia
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel