[RFC xserver] xwayland: persistent window struct on present

2018-05-03 Thread Roman Gilg
Instead of reusing xwl_window introduce a persistent window struct for every window, that asks for Present flips. This struct saves all relevant data and is only freed on window destroy. Signed-off-by: Roman Gilg --- hw/xwayland/xwayland-present.c | 277 -

Re: [PATCH xserver] dri2: Sync i965_pci_ids.h from mesa

2018-05-03 Thread Kenneth Graunke
On Thursday, May 3, 2018 11:29:11 AM PDT Anuj Phogat wrote: > Copied from Mesa with no modifications. > > Gives us Cofeelake platform names updates and sync on Kaby Lake, > Ice Lake PCI IDs. > > Signed-off-by: Anuj Phogat > Cc: Kenneth Graunke > Cc: Adam Jackson > --- > hw/xfree86/dri2/pci_id

[PATCH xserver] dri2: Sync i965_pci_ids.h from mesa

2018-05-03 Thread Anuj Phogat
Copied from Mesa with no modifications. Gives us Cofeelake platform names updates and sync on Kaby Lake, Ice Lake PCI IDs. Signed-off-by: Anuj Phogat Cc: Kenneth Graunke Cc: Adam Jackson --- hw/xfree86/dri2/pci_ids/i965_pci_ids.h | 13 +++-- 1 file changed, 11 insertions(+), 2 deletio

Re: [PATCH xserver] present: in get_ust_msc hook of wnmd provide CRTC as argument

2018-05-03 Thread Olivier Fourdan
Hi Roman, On Thu, May 3, 2018 at 1:13 AM, Roman Gilg wrote: > For backwards compatibility a driver supporting window flip mode still must > calculate msc values per CRTC. > > It is important that the driver returns the msc for the CRTC that Present > requests the msc for or return an error if t