Re: [weston, v12, 09/40] compositor-drm: Move repaint state application to flush

2017-09-28 Thread Sergi Granell
On Tue, 2017-09-26 at 18:15 +0100, Daniel Stone wrote: > Split repaint into two stages, as implied by the grouped-repaint > interface: drm_output_repaint generates the repaint state only, and > drm_repaint_flush applies it. > > This also moves DPMS into output state. Previously, the usual way to >

Re: [PATCH weston v12 02/40] compositor-drm: Introduce drm_plane_state structure

2017-09-28 Thread Pekka Paalanen
On Tue, 26 Sep 2017 18:15:35 +0100 Daniel Stone wrote: > Track dynamic plane state (CRTC, FB, position) in separate structures, > rather than as part of the plane. This will make it easier to handle > state management later, and much more closely tracks what the kernel > does with atomic modesets

Re: [PATCH weston v12 04/40] compositor-drm: Use drm_plane for cursor plane

2017-09-28 Thread Pekka Paalanen
On Tue, 26 Sep 2017 18:15:37 +0100 Daniel Stone wrote: > Change the type of cursor_plane from a weston_plane (base tracking > structure) to a drm_plane (wrapper containing additional DRM-specific > details), and make it a dynamically-allocated pointer. > > Using the standard drm_plane allows us

Re: [PATCH weston v12 23/40] compositor-drm: Extract overlay FB import to helper

2017-09-28 Thread Pekka Paalanen
On Tue, 26 Sep 2017 18:15:56 +0100 Daniel Stone wrote: > ... in order to be able to use it from scanout as well. > > Signed-off-by: Daniel Stone > --- > libweston/compositor-drm.c | 221 > - > 1 file changed, 119 insertions(+), 102 deletions(-) > >

Re: [PATCH weston v12 27/40] compositor-drm: Add modifiers to GBM dmabuf import

2017-09-28 Thread Pekka Paalanen
On Wed, 27 Sep 2017 11:45:34 +0200 Philipp Zabel wrote: > On Tue, 2017-09-26 at 18:16 +0100, Daniel Stone wrote: > > Add support for the GBM_BO_IMPORT_FD_MODIFIER path, which allows us to > > import multi-plane dmabufs, as well as format modifiers. > > > > Signed-off-by: Daniel Stone > > --- >

Re: [PATCH weston v12 39/40] compositor-drm: Support plane IN_FORMATS

2017-09-28 Thread Pekka Paalanen
On Tue, 26 Sep 2017 18:16:12 +0100 Daniel Stone wrote: > From: Sergi Granell > > The per-plane IN_FORMATS property adds information about format > modifiers; we can use these to both feed GBM with the set of modifiers > we want to use for rendering, and also as an early-out test when we're > tr

Re: [PATCH weston v12 01/40] compositor-drm: Introduce drm_output_state structure

2017-09-28 Thread Pekka Paalanen
On Tue, 26 Sep 2017 18:15:34 +0100 Daniel Stone wrote: > Currently this doesn't actually really do anything, but will be used in > the future to track the state for both modeset and repaint requests. > Completion of the request gives us a single request-completion path for > both pageflip and vbl

Re: [PATCH weston v2 4/4] gl-renderer: Emit GPU rendering begin and end timeline timepoints

2017-09-28 Thread Alexandros Frantzis
On Thu, Sep 28, 2017 at 11:44:14AM +0300, Pekka Paalanen wrote: > On Wed, 27 Sep 2017 15:01:55 +0100 > Emil Velikov wrote: > > > On 27 September 2017 at 13:26, Alexandros Frantzis > > wrote: > > > On Mon, Sep 25, 2017 at 05:40:36PM +0300, Pekka Paalanen wrote: > > >> On Tue, 19 Sep 2017 14:59:

Re: [PATCH weston v2 4/4] gl-renderer: Emit GPU rendering begin and end timeline timepoints

2017-09-28 Thread Pekka Paalanen
On Wed, 27 Sep 2017 15:01:55 +0100 Emil Velikov wrote: > On 27 September 2017 at 13:26, Alexandros Frantzis > wrote: > > On Mon, Sep 25, 2017 at 05:40:36PM +0300, Pekka Paalanen wrote: > >> On Tue, 19 Sep 2017 14:59:11 +0300 > >> Alexandros Frantzis wrote: > >> > >> > Use EGL fence sync obj

Re: [PATCH weston v3 4/4] gl-renderer: Emit GPU rendering begin and end timeline timepoints

2017-09-28 Thread Pekka Paalanen
On Wed, 27 Sep 2017 15:53:23 +0100 Chris Wilson wrote: > Quoting Pekka Paalanen (2017-09-27 15:25:21) > > On Wed, 27 Sep 2017 15:12:15 +0100 > > Chris Wilson wrote: > > > > > Quoting Alexandros Frantzis (2017-09-27 15:01:08) > > > > On Wed, Sep 27, 2017 at 01:18:47PM +0100, Chris Wilson wro

Re: [Mesa-dev] XDC 2017 feedback

2017-09-28 Thread Daniel Stone
Hi, On 28 September 2017 at 03:49, Ian Romanick wrote: > On 09/27/2017 04:55 PM, Rob Clark wrote: >> Sadly by the time we were aware of the dates for the khronos f2f it >> was not possible to change the dates for XDC :-( >> >> The XDC dates were set in Feb, and afaict the khronos dates were >> an