Re: Multi gpu display

2017-07-14 Thread Alex Deucher
On Fri, Jul 14, 2017 at 4:27 PM, Alex Deucher wrote: > On Fri, Jul 14, 2017 at 4:36 AM, zhoucm1 wrote: >> >> >> On 2017年07月06日 10:30, zhoucm1 wrote: >>> >>> >>> >>> On 2017年07月06日 00:15, Alex Deucher wrote: On Tue, Jul 4, 2017 at 6:26 AM,

Re: Multi gpu display

2017-07-14 Thread Alex Deucher
On Fri, Jul 14, 2017 at 4:36 AM, zhoucm1 wrote: > > > On 2017年07月06日 10:30, zhoucm1 wrote: >> >> >> >> On 2017年07月06日 00:15, Alex Deucher wrote: >>> >>> On Tue, Jul 4, 2017 at 6:26 AM, zhoucm1 wrote: On 2017年07月04日 13:43, zhoucm1 wrote:

Re: [RFC PATCH v3] Add xdg-output protocol

2017-07-14 Thread Jonas Ådahl
On Thu, Jul 06, 2017 at 04:01:25PM +0200, Olivier Fourdan wrote: > This protocol aims at describing outputs in way which is more in line > with the concept of an output on desktop oriented systems. > > Some information are more specific to the concept of an output for a > desktop oriented system

Re: [RFC PATCH v2] Add xdg-output protocol

2017-07-14 Thread Jonas Ådahl
This E-mail is quite long, but I tried to reply to some parts. On Wed, Jul 12, 2017 at 12:07:29PM +0300, Pekka Paalanen wrote: > On Fri, 7 Jul 2017 04:21:57 -0400 (EDT) > Olivier Fourdan wrote: > > > Hi Pekka, > > > > > it's very hard for me to wrap my head around this,

Re: [Nouveau] [PATCH xf86-video-amdgpu] Adapt to PixmapDirtyUpdateRec::src being a DrawablePtr

2017-07-14 Thread Michel Dänzer
On 14/07/17 11:24 AM, Ilia Mirkin wrote: > On Thu, Jul 13, 2017 at 10:14 PM, Michel Dänzer wrote: >> On 13/07/17 09:31 PM, Ilia Mirkin wrote: >>> On Thu, Jul 13, 2017 at 4:27 AM, Michel Dänzer wrote: On 18/04/17 07:07 PM, Michel Dänzer wrote: >

[RFC v2 00/13] DRI3 v1.1: modifiers and multi-plane

2017-07-14 Thread Louis-Francis Ratté-Boulianne
Hi, For context, please refer to last submission email: https://lists.x.org/archives/xorg-devel/2017-June/053854.html This new revision should fix comments made by Michel Dänzer and Emil Velikov. The main differences are: - Keep the old pixmap_from_fd and fd_from_pixmap hooks so

[RFC v2 07/13] modesetting: Add helper functions to retrieve DRM properties

2017-07-14 Thread Louis-Francis Ratté-Boulianne
These functions have been borrowed from Weston and will be used in following patches. Signed-off-by: Louis-Francis Ratté-Boulianne --- hw/xfree86/drivers/modesetting/drmmode_display.c | 171 +++ hw/xfree86/drivers/modesetting/drmmode_display.h | 13 ++ 2

[RFC v2 06/13] glamor: Use gbm_bo_create_with_modifiers for internal pixmap allocation

2017-07-14 Thread Louis-Francis Ratté-Boulianne
Signed-off-by: Louis-Francis Ratté-Boulianne --- configure.ac | 4 +++ glamor/glamor_egl.c | 73 +-- hw/xwayland/xwayland-glamor.c | 22 +++-- include/dix-config.h.in | 3 ++ 4 files changed,

[RFC v2 05/13] dri3: Enable DRI3 version 1.1

2017-07-14 Thread Louis-Francis Ratté-Boulianne
Signed-off-by: Louis-Francis Ratté-Boulianne --- include/protocol-versions.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/protocol-versions.h b/include/protocol-versions.h index b4498927b..27cb10c74 100644 --- a/include/protocol-versions.h +++

[RFC v2 08/13] modesetting: Use atomic modesetting API for pageflip if available

2017-07-14 Thread Louis-Francis Ratté-Boulianne
In order to flip between compressed and uncompressed buffers - something drmModePageFlip explicitly bans us from doing - we need to port use the atomic modesetting API. It's only 'fake' atomic though given we still commit for each CRTC separately and CRTC and connector properties are not set with

Re: [Nouveau] [PATCH xf86-video-amdgpu] Adapt to PixmapDirtyUpdateRec::src being a DrawablePtr

2017-07-14 Thread Ilia Mirkin
On Thu, Jul 13, 2017 at 10:14 PM, Michel Dänzer wrote: > On 13/07/17 09:31 PM, Ilia Mirkin wrote: >> On Thu, Jul 13, 2017 at 4:27 AM, Michel Dänzer wrote: >>> On 18/04/17 07:07 PM, Michel Dänzer wrote: From: Michel Dänzer

[RFC v2 10/13] modesetting: Add support for multi-plane pixmaps when page-flipping

2017-07-14 Thread Louis-Francis Ratté-Boulianne
This allows the uses of CCS compressed or tiled pixmaps as BOs. Signed-off-by: Louis-Francis Ratté-Boulianne --- hw/xfree86/drivers/modesetting/drmmode_display.c | 51 +++- hw/xfree86/drivers/modesetting/drmmode_display.h | 10 +

[RFC v2 02/13] dri3: Add multi-planar/modifier buffer requests

2017-07-14 Thread Louis-Francis Ratté-Boulianne
Initial implementation for DRI3 v1.1. Only the DRI3 implementation is there, backends need to implement the proper hooks. Version is still set to 1.0 so clients shouldn't use the new requests yet. Signed-off-by: Daniel Stone Signed-off-by: Louis-Francis Ratté-Boulianne

[RFC v2 13/13] modesetting: Create scanout buffers using supported modifiers

2017-07-14 Thread Louis-Francis Ratté-Boulianne
Signed-off-by: Louis-Francis Ratté-Boulianne --- glamor/glamor.h | 7 ++ glamor/glamor_egl.c | 2 +- hw/xfree86/drivers/modesetting/drmmode_display.c | 111 --- 3 files changed, 106

[RFC v2 12/13] modesetting: Get supported formats/modifiers for scanout

2017-07-14 Thread Louis-Francis Ratté-Boulianne
Retrieve IN_FORMATS property Signed-off-by: Louis-Francis Ratté-Boulianne --- configure.ac | 5 + hw/xfree86/drivers/modesetting/drmmode_display.c | 115 ++- hw/xfree86/drivers/modesetting/drmmode_display.h | 9 ++

[RFC v2 11/13] modesetting: Use atomic modesetting to configure output/CRTCs

2017-07-14 Thread Louis-Francis Ratté-Boulianne
Signed-off-by: Louis-Francis Ratté-Boulianne --- hw/xfree86/drivers/modesetting/drmmode_display.c | 395 +-- hw/xfree86/drivers/modesetting/drmmode_display.h | 29 +- hw/xfree86/drivers/modesetting/pageflip.c| 3 +- 3 files changed, 319

[RFC v2 03/13] glamor: Implement PixmapFromBuffers and BuffersFromPixmap

2017-07-14 Thread Louis-Francis Ratté-Boulianne
Signed-off-by: Louis-Francis Ratté-Boulianne --- glamor/glamor.c | 93 ++-- glamor/glamor.h | 64 ++- glamor/glamor_egl.c | 146 + glamor/glamor_egl.h | 84 ++

[RFC v2 09/13] modesetting: Ignore CRTC_ID property in RandR properties

2017-07-14 Thread Louis-Francis Ratté-Boulianne
Signed-off-by: Louis-Francis Ratté-Boulianne --- hw/xfree86/drivers/modesetting/drmmode_display.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/xfree86/drivers/modesetting/drmmode_display.c b/hw/xfree86/drivers/modesetting/drmmode_display.c index

[RFC v2 04/13] glamor: Implement GetSupportedFormats and GetSupportedModifiers

2017-07-14 Thread Louis-Francis Ratté-Boulianne
Signed-off-by: Louis-Francis Ratté-Boulianne --- dri3/dri3.c | 92 dri3/dri3.h | 12 + glamor/glamor.h | 10 glamor/glamor_egl.c | 69

[RFC v2 01/13] Build: Use dri3proto CFLAGS

2017-07-14 Thread Louis-Francis Ratté-Boulianne
From: Daniel Stone Make sure we get the CFLAGS required for building dri3proto into the command line. Signed-off-by: Daniel Stone --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index