Re: [Mesa-dev] [PATCH] kms-swrast: Support Prime fd handling

2014-08-28 Thread Giovanni Campagna
On Thu, Aug 28, 2014 at 4:01 PM, Emil Velikov wrote: > On 22/08/14 17:41, Andreas Pokorny wrote: >> Allows using prime fds as display target and from display target. >> Test for PRIME capability after initializing kms_swrast screen. >> > Hi Andreas, > > I'm hoping that Giovanni will take a look. A

Re: [Mesa-dev] [PATCH 6/6] gallium: remove PIPE_CAP_BUFFER_SHARE cap and get_param sw_winsys hook

2014-07-30 Thread Giovanni Campagna
er immediately because I wanted to test this again and did not find time yet, but this is now in use for gnome-continuous through the egl-drm branch and it works, so it's good to go, I believe. Giovanni > -Emil > > > Cc: Giovanni Campagna > > Signed-off-by: Emil Veli

Re: [Mesa-dev] [PATCH v4 0/3] Software rendering in EGL-DRM

2014-07-22 Thread Giovanni Campagna
On Mon, Jul 21, 2014 at 9:54 PM, Emil Velikov wrote: > On 21/07/14 17:02, Giovanni Campagna wrote: >> On Mon, Jul 21, 2014 at 12:47 PM, Emil Velikov >> wrote: >>> Giovanni can you test the series that I've not butchered anything else >>> during >>>

Re: [Mesa-dev] [PATCH v4 0/3] Software rendering in EGL-DRM

2014-07-21 Thread Giovanni Campagna
On Mon, Jul 21, 2014 at 12:47 PM, Emil Velikov wrote: > Giovanni can you test the series that I've not butchered anything else during > the rebase ? Oh hey, sorry I missed the bit that I was expected to test the patches. Unfortunately, something indeed got lost: the logic to choose the kms_swrast

Re: [Mesa-dev] [PATCH 1/3] Add support for swrast to the DRM EGL platform

2014-07-13 Thread Giovanni Campagna
2014-07-11 19:19 GMT+02:00 Emil Velikov : > From: Giovanni Campagna > > Turn GBM into a swrast loader (providing putimage/getimage backed > by a dumb KMS buffer). This allows to run KMS+DRM GL applications > (such as weston or mutter-wayland) unmodified on cards that don't &g

Re: [Mesa-dev] [PATCH v3 0/3] Software rendering in EGL-DRM

2014-07-03 Thread Giovanni Campagna
2014-07-03 10:48 GMT+02:00 Boris BREZILLON : > Hello Giovanni, > > I have recently been working on a DRM/KMS driver which does not support > OpenGL rendering (it only provides plane composition functionalities): > [1]. > > If I understand correctly you patch series might solve some of the > issues

Re: [Mesa-dev] [PATCH v3 3/3] Add a new capabilities for drivers that can't share buffers

2014-06-19 Thread Giovanni Campagna
2014-06-19 16:16 GMT+02:00 Axel Davy : > On 15/06/2014 07:49, Giovanni Campagna wrote : > >> From: Giovanni Campagna >> >> The kms-dri swrast driver cannot share buffers using the GEM, >> so it must tell the loader to disable extensions relying on >> t

Re: [Mesa-dev] [PATCH v3 0/3] Software rendering in EGL-DRM

2014-06-16 Thread Giovanni Campagna
2014-06-16 7:47 GMT+02:00 Pekka Paalanen : > On Sun, 15 Jun 2014 13:49:48 +0200 > Giovanni Campagna wrote: > >> Hello all, >> >> This is the third attempt at swrast/llvmpipe support for DRM >> drivers that don't have userspace support (qxl, cirrus, simpledrm,

Re: [Mesa-dev] [PATCH v3 3/3] Add a new capabilities for drivers that can't share buffers

2014-06-16 Thread Giovanni Campagna
2014-06-16 14:47 GMT+02:00 Marek Olšák : > Does the new CAP cover resource_from_handle or resource_get_handle or both? It covers both. Giovanni > Marek > > On Sun, Jun 15, 2014 at 1:49 PM, Giovanni Campagna > wrote: >> From: Giovanni Campagna >> >> The k

[Mesa-dev] [PATCH v3 0/3] Software rendering in EGL-DRM

2014-06-15 Thread Giovanni Campagna
Hello all, This is the third attempt at swrast/llvmpipe support for DRM drivers that don't have userspace support (qxl, cirrus, simpledrm, etc.) I hope I addressed all of Emil's comments. Giovanni ___ mesa-dev mailing list mesa-dev@lists.freedesktop.o

[Mesa-dev] [PATCH v3 1/3] Add support for swrast to the DRM EGL platform

2014-06-15 Thread Giovanni Campagna
From: Giovanni Campagna Turn GBM into a swrast loader (providing putimage/getimage backed by a dumb KMS buffer). This allows to run KMS+DRM GL applications (such as weston or mutter-wayland) unmodified on cards that don't have any client side HW acceleration component but that can do mo

[Mesa-dev] [PATCH v3 3/3] Add a new capabilities for drivers that can't share buffers

2014-06-15 Thread Giovanni Campagna
From: Giovanni Campagna The kms-dri swrast driver cannot share buffers using the GEM, so it must tell the loader to disable extensions relying on that, without disabling the image DRI extension altogheter (which would prevent the loader from working at all). This requires a new gallium

[Mesa-dev] [PATCH v3 2/3] Add a dumb drm/kms winsys for software rendering

2014-06-15 Thread Giovanni Campagna
From: Giovanni Campagna Add a new winsys and target that can be used with a dri2 state tracker and loader instead of drisw. This allows to use gbm as a dri2/image loader and avoid the extra copy from the backbuffer to the shadow frontbuffer. The new driver is called "kms_swrast", a

Re: [Mesa-dev] [PATCH v2 1/3] Add support for swrast to the DRM EGL platform

2014-05-18 Thread Giovanni Campagna
2014-05-15 2:47 GMT+02:00 Emil Velikov : > On 05/05/14 17:07, Giovanni Campagna wrote: >> From: Giovanni Campagna >> >> Turn GBM into a swrast loader (providing putimage/getimage backed >> by a dumb KMS buffer). This allows to run KMS+DRM GL applications >>

[Mesa-dev] [PATCH v2 1/3] Add support for swrast to the DRM EGL platform

2014-05-05 Thread Giovanni Campagna
From: Giovanni Campagna Turn GBM into a swrast loader (providing putimage/getimage backed by a dumb KMS buffer). This allows to run KMS+DRM GL applications (such as weston or mutter-wayland) unmodified on cards that don't have any client side HW acceleration component but that can do mo

[Mesa-dev] [PATCH v2 3/3] Add a new capabilities for drivers that can't share buffers

2014-05-05 Thread Giovanni Campagna
From: Giovanni Campagna The kms-dri swrast driver cannot share buffers using the GEM, so it must tell the loader to disable extensions relying on that, without disabling the image DRI extension altogheter (which would prevent the loader from working at all). This requires a new gallium

[Mesa-dev] [PATCH v2 2/3] Add a dumb drm/kms winsys for software rendering

2014-05-05 Thread Giovanni Campagna
From: Giovanni Campagna Add a new winsys and target that can be used with a dri2 state tracker and loader instead of drisw. This allows to use gbm as a dri2/image loader and avoid the extra copy from the backbuffer to the shadow frontbuffer. The new driver is called "kms_swrast", a

[Mesa-dev] [PATCH v2 0/3] Software rasterizer in the DRM EGL platform

2014-05-05 Thread Giovanni Campagna
This is my second attempt to bring swrast to the DRM EGL platform. It includes both the legacy loader, which will work with any swrast driver, and the new gallium winsys which works with the DRI2 loader and softpipe/llvmpipe. ___ mesa-dev mailing list me

Re: [Mesa-dev] [PATCH 0/2] Turning swrast into DRI2 drivers

2014-04-21 Thread Giovanni Campagna
2014-04-15 19:19 GMT+02:00 Adam Jackson : > On Sat, 2014-04-12 at 02:25 +0200, Giovanni Campagna wrote: >> Hi everyone, >> >> Some time ago I sent patches to enable the swrast driver on >> GBM/DRM, and I did them in the dumbest way possible (that is, >> ha

Re: [Mesa-dev] [PATCH 0/2] Turning swrast into DRI2 drivers

2014-04-21 Thread Giovanni Campagna
2014-04-14 22:37 GMT+02:00 Dave Airlie : > On Sat, Apr 12, 2014 at 10:25 AM, Giovanni Campagna > wrote: >> Hi everyone, >> >> Some time ago I sent patches to enable the swrast driver on >> GBM/DRM, and I did them in the dumbest way possible (that is, >>

[Mesa-dev] [PATCH 2/2] Add a new capabilities for drivers that can't share buffers

2014-04-12 Thread Giovanni Campagna
From: Giovanni Campagna The kms-dri swrast driver cannot share buffers using the GEM, so it must tell the loader to disable extensions relying on that, without disabling the image DRI extension altogheter (which would prevent the loader from working at all). This requires a new gallium

[Mesa-dev] [PATCH 1/2] Add a dumb drm/kms winsys for software rendering

2014-04-12 Thread Giovanni Campagna
From: Giovanni Campagna Add a new winsys and target that can be used with a dri2 state tracker and loader instead of drisw. This allows to use gbm as a dri2/image loader and avoid the extra copy from the backbuffer to the shadow frontbuffer. --- configure.ac

[Mesa-dev] [PATCH 0/2] Turning swrast into DRI2 drivers

2014-04-12 Thread Giovanni Campagna
Hi everyone, Some time ago I sent patches to enable the swrast driver on GBM/DRM, and I did them in the dumbest way possible (that is, having GBM implement the dri-swrast interface), to make sure it would work without kernel support. This patch series is a little smarter, in that it creates more t

[Mesa-dev] [PATCH] Add support for swrast to the DRM EGL platform

2014-03-01 Thread Giovanni Campagna
From: Giovanni Campagna Turn GBM into a swrast loader (providing putimage/getimage backed by a dumb KMS buffer). This allows to run KMS+DRM GL applications (such as weston or mutter-wayland) unmodified on cards that don't have any client side HW acceleration component but that can do mo