Signed-off-by: Axel Davy axel.d...@ens.fr
---
include/GL/internal/dri_interface.h | 1 +
src/gallium/drivers/i915/i915_resource.c| 8 ++--
src/gallium/drivers/ilo/ilo_resource.c | 2 +-
src/gallium/drivers/nv50/nv50_miptree.c | 3 +++
src/gallium/drivers/nvc0
Signed-off-by: Axel Davy axel.d...@ens.fr
---
include/GL/internal/dri_interface.h | 1 +
src/gallium/drivers/i915/i915_resource.c| 8 ++--
src/gallium/drivers/ilo/ilo_resource.c | 2 +-
src/gallium/drivers/nv50/nv50_miptree.c | 3 +++
src/gallium/drivers/nvc0
device on
use the buffer on the integrated device in multi-gpu laptops.
Axel Davy
On 15/08/2013 12:47, Axel Davy wrote :
Signed-off-by: Axel Davy axel.d...@ens.fr
---
include/GL/internal/dri_interface.h | 1 +
src/gallium/drivers/i915/i915_resource.c| 8 ++--
src/gallium
All the patches look fine.
I think they are ready for merging (there are few trailing whitespace
errors when applying, but nothing bad).
We want these patches for Wayland Prime support, and it should be useful
too for X Dri3.
Axel Davy
___
mesa
We must send to the compositor buffer it is able to read.
Since tiling modes are different on graphic cards, we have
to disable tiling when creating the buffers if we render
with a different graphic card than the compositor.
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/egl/drivers/dri2
is still writing
on the buffer when the compositor's card reads it).
Using an embedded compositor suppress all the glitches when
it doesn't take (1/refresh_rate) seconds for it to render a frame,
that is when you don't have an input lag.
Axel Davy (3):
Move the code to open the graphic device
This patch moves the code to open the graphic device in the Wayland backend,
removes the authentication request when we are on a render-node,
and has a few fixes.
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/egl/drivers/dri2/egl_dri2.h | 1 +
src/egl/drivers/dri2/platform_wayland.c
( no render-nodes,
render-nodes not advertising ID_PATH_TAG, invalid ID_PATH_TAG),
then the compositor card is used.
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/egl/drivers/dri2/platform_wayland.c | 168 ++--
1 file changed, 160 insertions(+), 8 deletions(-)
diff --git
two formats are supported: DRI_PRIME=1 will tell Mesa
to choose an other card than the compositor card if possible,
while setting DRI_PRIME to the id_path_tag of a device (like
pci-_02_00_0) tells Mesa to take the device with this
id_path_tag.
Signed-off-by: Axel Davy axel.d...@ens.fr
I forgot to test the capabilities to know if we can use render-nodes.
Being able to do that was the goal of patch 1.
I send a better patch 3.
Axel Davy (1):
Implement choosing the device to use with DRI_PRIME
src/egl/drivers/dri2/platform_wayland.c | 180 ++--
1
: it doesn't give the correct format.
Getting this function right would really help to write glamor dri3 helpers
Axel Davy
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev
initial domain for imported
bo\n);
+radeon_bo_destroy(bo-base);
+return NULL;
+}
the ioctl should be called again until it doesn't return -EBUSY.
Axel Davy
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http
A dri_context can be converted to a st_context.
Sorry for the typo. It should be A dri_context can't be converted to a
st_context.
Axel Davy
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa
much more sense to do the
copy inside Mesa, than using a nested compositor.
Axel Davy
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev
assume you meant __DRI_IMAGE_FORMAT_NONE
+ *error = __DRI_IMAGE_ERROR_BAD_PARAMETER;
+ free(img);
+ return NULL;
+ }
+
+ *error = __DRI_IMAGE_ERROR_SUCCESS;
+ return img;
+}
+
Axel Davy
___
mesa-dev mailing list
mesa-dev
a resource on SI.
But ideally, if it makes a performance difference, we would like to be
able to control that
with Wayland when allocating the buffers.
Axel Davy
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org
RADEON_TILING_R600_NO_SCANOUT);
Would make scanout set to 1 when the card is inferior to SI.
I think the correct calculus is:
*scanout = (bo-rws-gen = DRV_SI) !(args.tiling_flags
RADEON_TILING_R600_NO_SCANOUT);
Thank you for having fixed this issue,
Axel Davy
On 26/11/2013, Marek Olšák wrote
://cgit.freedesktop.org/%7Ekeithp/mesa/log/?h=dri3,
and the ilo part looks ok,
I suggest to merge this last series of patches, which seems ready.
Thanks,
Axel Davy
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo
.
Is this acceptable to use drirc like that? Could there be some issues?
patch 4: what are the alternatives to set a __BLIT_FLAG_FINISH flag here?
But other comments are welcome!
Axel Davy (6):
EGL/Wayland: DRI_PRIME support
drirc: Add string support
EGL/Wayland drirc: Use drirc to complement
This may require changes to the driconf gui.
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/mesa/drivers/dri/common/xmlconfig.c | 24
src/mesa/drivers/dri/common/xmlconfig.h | 7 ++-
2 files changed, 30 insertions(+), 1 deletion(-)
diff --git a/src/mesa/drivers
is unlikely), so we fail here. It's in the specification.
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/egl/drivers/dri2/egl_dri2.c | 5 +
src/egl/drivers/dri2/egl_dri2.h | 1 +
src/egl/drivers/dri2/platform_wayland.c | 255
3 files changed
Signed-off-by: Axel Davy axel.d...@ens.fr
---
include/GL/internal/dri_interface.h | 21 -
1 file changed, 20 insertions(+), 1 deletion(-)
diff --git a/include/GL/internal/dri_interface.h
b/include/GL/internal/dri_interface.h
index 81f7e60..19f3c93 100644
--- a/include/GL
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/gallium/state_trackers/dri/drm/dri2.c | 49 +--
1 file changed, 47 insertions(+), 2 deletions(-)
diff --git a/src/gallium/state_trackers/dri/drm/dri2.c
b/src/gallium/state_trackers/dri/drm/dri2.c
index 2a5b7b4
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/egl/drivers/dri2/egl_dri2.h | 2 +
src/egl/drivers/dri2/platform_wayland.c | 98 ++---
2 files changed, 79 insertions(+), 21 deletions(-)
diff --git a/src/egl/drivers/dri2/egl_dri2.h b/src/egl/drivers/dri2
add to drirc a parameter wanted_device_id_path_tag, and check
its value to choose which gpu to use, if DRI_PRIME isn't set.
Signed-off-by: Axel Davy axel.d...@ens.fr
---
configure.ac| 1 +
src/egl/drivers/dri2/Makefile.am| 12 +++
src
, with additional
checks.
Also add a check to dri2_create_image_wayland_wl_buffer to fail
if we forbid to use tiling (which now means we use another gpu
than the compositor). We can't check the buffer is untiled (which
is unlikely), so we fail here. It's in the specification.
Signed-off-by: Axel Davy axel.d
On 06/01/2014, Marek Olšák wrote :
On Sun, Jan 5, 2014 at 10:26 PM, Axel Davy axel.d...@ens.fr wrote:
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/gallium/state_trackers/dri/drm/dri2.c | 49 +--
1 file changed, 47 insertions(+), 2 deletions(-)
diff --git
Implements DRI_PRIME support.
Signed-off-by: Axel Davy axel.d...@ens.fr
---
v3: add a check in dri2_create_wayland_buffer_from_image_wl to fail
if we are on a different device than the compositor, and then can't
use tiling. This is in the spec. The patch has been rebased.
v2: bug fix
src/egl
dri2_dup_image was not copying the dri_format field.
This was causing some bugs, for example:
. we create an gbm_bo.
. we get an EGLImage from the gbm_bo.
. Bug: impossible to get again the gbm_bo from the EGLImage by importing. (gbm
dri2 backend)
Signed-off-by: Axel Davy axel.d...@ens.fr
On 31/01/2014, Michel Dänzer wrote :
On Don, 2014-01-30 at 16:10 +0100, Axel Davy wrote:
dri2_dup_image was not copying the dri_format field.
This was causing some bugs, for example:
. we create an gbm_bo.
. we get an EGLImage from the gbm_bo.
. Bug: impossible to get again the gbm_bo from
with an handle, a Gem name or a prime fd.
Given the imported buffer can be shared with another card (in the prime fd
case), I imagine there are some cases where the buffer must stay in GTT.
What would happen in this case with your patch?
Axel Davy
patch as is with my Wayland Prime
patches, and as expected it doesn't work well anymore.
Axel Davy
On 03/02/2014, Marek Olšák wrote :
Well, it's kinda obvious what would happen. The buffer would be
relocated to VRAM.
Do you have any suggestion how to find out if the buffer should be in
GTT
the code to import dma-bufs,
since it is used only with the dri3 call to convert a fd to a pixmap.
Axel Davy
--
Earthling Michel Dänzer|http://www.amd.com http://www.amd.com/
Libre software enthusiast |Mesa and X developer
on an intel card from
a dedicated card, which looks like nobody will do)
. patch 7 introduces a new mode using blitImage. We render to
a buffer (with tiling) which is blitted to a shared buffer (a linear buffer)
Axel Davy (7):
wayland: Fix the logic in disabling the prime capability
EGL/Wayland
It allows to blit two __DRIimages.
Signed-off-by: Axel Davy axel.d...@ens.fr
---
include/GL/internal/dri_interface.h | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/include/GL/internal/dri_interface.h
b/include/GL/internal/dri_interface.h
index d028d05..91f2fe3
Add to drirc a new parameter: wanted_device_id_path_tag
to indicate the gpu we would like to use.
The EGL Wayland platform checks this parameter under
the driver name init. It should be possible to get GLX
to check this parameter too, and use it for DRI3
GPU offloading.
Signed-off-by: Axel Davy
What we want is disabling the path using primes fds if
the client can't create primes fds.
Signed-off-by: Axel Davy axel.d...@ens.fr
Signed-off-by: Neil Roberts n...@linux.intel.com
---
Neil and me did the same correction independantly.
src/egl/drivers/dri2/platform_wayland.c | 2 +-
1 file
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/mesa/drivers/dri/common/xmlconfig.c | 29 +
src/mesa/drivers/dri/common/xmlconfig.h | 7 ++-
2 files changed, 35 insertions(+), 1 deletion(-)
diff --git a/src/mesa/drivers/dri/common/xmlconfig.c
b/src/mesa
When the client use a different graphic device than the server,
we want for better performance to render to a tiled buffer,
and copy to a linear buffer which we share with the server.
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/egl/drivers/dri2/egl_dri2.h | 2 +
src/egl
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/gallium/state_trackers/dri/drm/dri2.c | 44 ---
1 file changed, 41 insertions(+), 3 deletions(-)
diff --git a/src/gallium/state_trackers/dri/drm/dri2.c
b/src/gallium/state_trackers/dri/drm/dri2.c
index 3d8d569
I should have added that I choosed to be consistent with the code style
in the file
and then used GLuint as everywhere in the file.
Another patch should probably remove all occurences of GLuint in the
file to replace it with unsigned.
Axel Davy
Signed-off-by: Axel Davy axel.d...@ens.fr
%2Bgallium
Without the DRIimage driver extension, egl won't launch on the requested
card using gallium, saying wayland-egl: display is not render-node
capable, because
DRIimage driver extension is required to work with render-nodes.
Axel Davy
This is the updated version of this patch series
is to convert to gbm_bo the
EGLImage,
then convert back the gbm_bo to EGLImage. The new EGLImage has no restrictions.
Axel Davy
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev
to use the driImageDriverExtension.
It'll avoid using GEM names, GEM open, etc.
Keithp wrote patches to implement it for gallium:
http://cgit.freedesktop.org/~keithp/mesa/log/?h=dri3%2Bgallium
http://cgit.freedesktop.org/%7Ekeithp/mesa/log/?h=dri3%2Bgallium
Yours,
Axel Davy
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/gallium/state_trackers/dri/drm/dri2.c | 43 ---
1 file changed, 40 insertions(+), 3 deletions(-)
diff --git a/src/gallium/state_trackers/dri/drm/dri2.c
b/src/gallium/state_trackers/dri/drm/dri2.c
index b5bc16b
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/Makefile.am | 4 +++-
src/loader/Makefile.am | 21 ---
src/loader/loader.c | 27 +
src/mesa/drivers/dri/common
From: Keith Packard kei...@keithp.com
Upper levels of the stack use base.stamp to tell when a drawable needs to be
revalidated, but the dri state tracker was using dPriv-lastStamp. Those two,
along with dri2.stamp, all get simultaneously incremented when a dri2
invalidate event was delivered, and
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/egl/drivers/dri2/egl_dri2.h | 5 +-
src/egl/drivers/dri2/platform_wayland.c | 171 ++--
2 files changed, 142 insertions(+), 34 deletions(-)
diff --git a/src/egl/drivers/dri2/egl_dri2.h b/src/egl/drivers/dri2
From: Keith Packard kei...@keithp.com
Provide the hook to pull textures out of __DRIimage structures and use them as
renderbuffers.
Signed-off-by: Keith Packard kei...@keithp.com
---
src/gallium/state_trackers/dri/drm/dri2.c | 238 +-
1 file changed, 230
From: Ben Skeggs bske...@redhat.com
Signed-off-by: Ben Skeggs bske...@redhat.com
Signed-off-by: Keith Packard kei...@keithp.com
---
src/gallium/state_trackers/dri/drm/dri2.c | 22 +++---
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/glx/dri3_glx.c | 235 +++-
src/glx/dri3_priv.h | 2 +
2 files changed, 200 insertions(+), 37 deletions(-)
diff --git a/src/glx/dri3_glx.c b/src/glx/dri3_glx.c
index 3d8a662..54030bb 100644
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/loader/loader.c | 188
src/loader/loader.h | 7 ++
2 files changed, 195 insertions(+)
diff --git a/src/loader/loader.c b/src/loader/loader.c
index 666d015..3d504f7 100644
--- a/src/loader
This improves GLX DRI3 Gpu offloading significantly on cpu
bound benchmarks particularly.
No performance impact for DRI2 Gpu offloading.
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/gallium/drivers/radeonsi/si_blit.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/src
), but Mesa would use it only when DRI2 fails,
or if we want to use DRI3 Gpu offloading.
Axel Davy (8):
Loader: Add gpu selection code via DRI_PRIME.
drirc: Add string support
loader: Use drirc device_id parameter in complement to DRI_PRIME
DRIimage: add blitImage to the specification
It allows to blit two __DRIimages.
Signed-off-by: Axel Davy axel.d...@ens.fr
---
include/GL/internal/dri_interface.h | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/include/GL/internal/dri_interface.h
b/include/GL/internal/dri_interface.h
index 4d57d0b..2ee3164
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/mesa/drivers/dri/common/xmlconfig.c | 29 +
src/mesa/drivers/dri/common/xmlconfig.h | 7 ++-
2 files changed, 35 insertions(+), 1 deletion(-)
diff --git a/src/mesa/drivers/dri/common/xmlconfig.c
b/src/mesa
-amd64/src/loader'
Replacing
-I$(top_srcdir)/src/mesa/drivers/dri/common/ \
by
-I$(top_builddir)/src/mesa/drivers/dri/common \
in the patch should solve that.
I'm going to test that later and will send an updated patch.
Thanks for your testing,
Axel Davy
On 28/05/2014 04:40, Michel Dänzer wrote :
On 28.05.2014 09:55, Axel Davy wrote:
This improves GLX DRI3 Gpu offloading significantly on cpu
bound benchmarks particularly.
No performance impact for DRI2 Gpu offloading.
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/gallium/drivers/radeonsi
On 28/05/2014 03:47, Michel Dänzer wrote :
On 28.05.2014 09:55, Axel Davy wrote:
From: Keith Packard kei...@keithp.com
Provide the hook to pull textures out of __DRIimage structures and use them as
renderbuffers.
Signed-off-by: Keith Packard kei...@keithp.com
This patch breaks a number
On 28/05/2014 08:33, Emil Velikov wrote :
Hi Axel,
AFAICS we're leaking device_name.
That's true, I'll send a patch with the fix.
FYI I'm about to push a few patches for non libudev users which may cause
merge conflicts when applying this series.
Thanks for the information.
Cheers
Emil
On 28/05/2014 08:40, Emil Velikov wrote :
On 28/05/14 01:55, Axel Davy wrote:
Signed-off-by: Axel Davy axel.d...@ens.fr
Hi Axel
Can you give the scons build a try. I suspect that this patch will leave it in
somewhat broken state.
I'll give a try.
---
src/Makefile.am
for glBlitFrameBuffer.
Thanks,
Axel Davy
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/mesa/drivers/dri/common/xmlconfig.c | 29 +
src/mesa/drivers/dri/common/xmlconfig.h | 7 ++-
2 files changed, 35 insertions(+), 1 deletion(-)
diff --git a/src/mesa/drivers/dri/common/xmlconfig.c
b/src/mesa
From: Keith Packard kei...@keithp.com
Provide the hook to pull textures out of __DRIimage structures and use them as
renderbuffers.
Signed-off-by: Keith Packard kei...@keithp.com
---
v2: Added the image-flushFrontBuffer fix.
src/gallium/state_trackers/dri/drm/dri2.c | 238
From: Ben Skeggs bske...@redhat.com
Signed-off-by: Ben Skeggs bske...@redhat.com
Signed-off-by: Keith Packard kei...@keithp.com
---
src/gallium/state_trackers/dri/drm/dri2.c | 22 +++---
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/gallium/state_trackers/dri/drm/dri2.c | 43 ---
1 file changed, 40 insertions(+), 3 deletions(-)
diff --git a/src/gallium/state_trackers/dri/drm/dri2.c
b/src/gallium/state_trackers/dri/drm/dri2.c
index eefbe42
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/glx/dri3_glx.c | 235 +++-
src/glx/dri3_priv.h | 2 +
2 files changed, 200 insertions(+), 37 deletions(-)
diff --git a/src/glx/dri3_glx.c b/src/glx/dri3_glx.c
index 3d8a662..54030bb 100644
v2: Fix the leak of device_name
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/loader/loader.c | 189
src/loader/loader.h | 7 ++
2 files changed, 196 insertions(+)
diff --git a/src/loader/loader.c b/src/loader/loader.c
index 666d015
It allows to blit two __DRIimages.
Signed-off-by: Axel Davy axel.d...@ens.fr
---
include/GL/internal/dri_interface.h | 11 ++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/include/GL/internal/dri_interface.h
b/include/GL/internal/dri_interface.h
index 4d57d0b..2ee3164
From: Keith Packard kei...@keithp.com
Upper levels of the stack use base.stamp to tell when a drawable needs to be
revalidated, but the dri state tracker was using dPriv-lastStamp. Those two,
along with dri2.stamp, all get simultaneously incremented when a dri2
invalidate event was delivered, and
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/egl/drivers/dri2/egl_dri2.h | 5 +-
src/egl/drivers/dri2/platform_wayland.c | 171 ++--
2 files changed, 142 insertions(+), 34 deletions(-)
diff --git a/src/egl/drivers/dri2/egl_dri2.h b/src/egl/drivers/dri2
This improves GLX DRI3 Gpu offloading significantly on cpu
bound benchmarks particularly.
No performance impact for DRI2 Gpu offloading.
v2: Add missing tests
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/gallium/drivers/radeonsi/si_blit.c | 20
1 file changed, 20
On 29/05/2014 04:58, Michel Dänzer wrote :
On 29.05.2014 12:22, Axel Davy wrote:
DRI_PRIME is not very handy, because you have to launch the executable
with it set, which is not always easy to do.
By using drirc, the user specifies the target executable
and the device to use. After
just need to
make sure the box depths are equal to each other, like widths and
heights.
Ok, thanks
Marek
Axel Davy
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev
On 29/05/2014 13:18, Marek Olšák wrote :
Hi Axel,
flush_resource should be called before ctx-st-flush.
Marek
Thanks, I'll update for the next version of the patch.
Axel Davy
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http
tried the patches on top of febec731475a5b288cc50660b2d32780e395b950
and I didn't have any compiling issues, even when building gallium-egl.
Axel Davy
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo
On 29/05/2014 23:31, Michel Dänzer a wrote :
On 30.05.2014 12:02, Axel Davy wrote:
Could you tell me what are your configure flags?
I tried the patches on top of febec731475a5b288cc50660b2d32780e395b950
I can still reproduce it on top of that.
and I didn't have any compiling issues, even
On 30/05/2014 06:05, Michel Dänzer wrote :
On 30.05.2014 12:49, Axel Davy wrote:
On 29/05/2014 23:31, Michel Dänzer a wrote :
I tried with your compile options (except for the opencl flags, didn't
have the required libs), and it worked.
Did you try adding -lm to libloader_la_LIBADD
called anymore with display_is_direct_capable = False for
GLX_USE_APPLEGL ?
Axel Davy
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev
__DRIimageDriverExtension is used by GLX DRI3 and Wayland.
This patch is a rewrite of
http://lists.freedesktop.org/archives/mesa-dev/2014-May/060318.html
and
http://lists.freedesktop.org/archives/mesa-dev/2014-May/060317.html
Signed-off-by: Axel Davy axel.d...@ens.fr
Reviewed-by: Marek
V3: call flush_resource before flush
V4: Add new flags
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/gallium/state_trackers/dri/drm/dri2.c | 55 +--
1 file changed, 52 insertions(+), 3 deletions(-)
diff --git a/src/gallium/state_trackers/dri/drm/dri2.c
b/src
v3: Add -lm and rebase.
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/Makefile.am | 4 +++-
src/loader/Makefile.am | 23 ++---
src/loader/loader.c | 27 +
src/mesa
This doesn't change anything to the intel DRI3 implementation,
but enables the gallium implementation to use dri2.stamp instead
of relying on the stamp shared with the st backend.
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/glx/dri3_glx.c | 7 +++
1 file changed, 7 insertions(+)
diff
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/mesa/drivers/dri/common/xmlconfig.c | 29 +
src/mesa/drivers/dri/common/xmlconfig.h | 7 ++-
2 files changed, 35 insertions(+), 1 deletion(-)
diff --git a/src/mesa/drivers/dri/common/xmlconfig.c
b/src/mesa
This improves GLX DRI3 GPU offloading significantly on CPU
bound benchmarks particularly.
No performance impact for DRI2 GPU offloading.
v2: Add missing tests
Signed-off-by: Axel Davy axel.d...@ens.fr
Reviewed-by: Marek Olšákmarek.ol...@amd.com
---
src/gallium/drivers/radeonsi/si_blit.c | 19
is not advertised for render-nodes, then
ones need to add a file containing:
SUBSYSTEM==drm, IMPORT{builtin}=path_id
in /etc/udev/rules.d/
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/loader/loader.c | 185
src/loader/loader.h | 7 ++
2 files changed
It allows to blit two __DRIimages.
Signed-off-by: Axel Davy axel.d...@ens.fr
---
include/GL/internal/dri_interface.h | 24 +++-
1 file changed, 23 insertions(+), 1 deletion(-)
diff --git a/include/GL/internal/dri_interface.h
b/include/GL/internal/dri_interface.h
index
piglit tests
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/glx/dri3_glx.c | 236 +++-
src/glx/dri3_priv.h | 2 +
2 files changed, 198 insertions(+), 40 deletions(-)
diff --git a/src/glx/dri3_glx.c b/src/glx/dri3_glx.c
index b309cd4..f147112
From: Dave Airlie airl...@gmail.com
We need to place shared buffers into GART.
Signed-off-by: Dave Airlie airl...@redhat.com
Reviewed-by: Axel Davy axel.d...@ens.fr
---
src/gallium/drivers/nouveau/nvc0/nvc0_miptree.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src
to the compositor.
Signed-off-by: Axel Davy axel.d...@ens.fr
---
src/egl/drivers/dri2/egl_dri2.h | 5 +-
src/egl/drivers/dri2/platform_wayland.c | 171 ++--
2 files changed, 142 insertions(+), 34 deletions(-)
diff --git a/src/egl/drivers/dri2/egl_dri2.h b/src
into gart. nv84+ are
all fine.]
On Wed, Jun 18, 2014 at 11:27 PM, Axel Davy axel.d...@ens.fr wrote:
From: Dave Airlie airl...@gmail.com
We need to place shared buffers into GART.
Signed-off-by: Dave Airlie airl...@redhat.com
Reviewed-by: Axel Davy axel.d...@ens.fr
---
src/gallium/drivers/nouveau
combo, you need to check first with
-is_format_supported. For example pre-NVA0 nv50 cards don't support
Z16.
This is git format-patch noise.
I don't change anything to dri2_allocate_buffer, if you see what is
added here is removed later.
Axel Davy
set createImageFromName and CreateImageFromNames to NULL,
and add checks for that (instead of checking the capability ?
It's what is done to check if we can import dma-bufs (check if
createImageFromFds is not NULL).
Axel Davy
___
mesa-dev mailing list
rendering (instead of DRI2).
This patch is just a workaround because it's not done yet.
Axel Davy
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev
I've just noted
I forgot to update the blitImage flags on this patch,
when I use 1 as flush_flag argument it should be replaced by
__BLIT_FLAG_FLUSH.
Axel Davy
On 18/06/2014 23:27, Axel Davy wrote :
The differences with DRI2 GPU offloading are:
. There's no logic for GPU offloading needed
On 19/06/2014 15:56, Giovanni Campagna wrote :
2014-06-19 16:16 GMT+02:00 Axel Davy axel.d...@ens.fr:
On 15/06/2014 07:49, Giovanni Campagna wrote :
From: Giovanni Campagna gcampa...@src.gnome.org
The kms-dri swrast driver cannot share buffers using the GEM,
so it must tell the loader
Present in mesa.
At the same time, also modify the structure for the event to make sure
that clients don't make the same mistake. This is not an API or ABI
break, as GLXDrawable and Drawable are both typedefs for XID.
Signed-off-by: Jasper St. Pierre jstpie...@mecheye.net
Reviewed-by: Axel Davy
capabilities for the GLX visuals and
fbconfigs,
and you have an intersection of what the server advertises and what you can
actually have.
The only constraint in the spec seems to be that there must be a GLX
fbconfig supporting
RGBA and some other constraints.
Axel Davy
In src/loader/Makefile.am,
the test 'if NEED_OPENGL_COMMON' should probably be more restrictive,
I'm looking at it.
Axel
On 01/07/2014 10:22, Brian Paul wrote :
I configured with:
./autogen.sh CFLAGS=-g -O0 CXXFLAGS=-g -O0 --enable-debug
--enable-xlib-glx --disable-driglx-direct
Hi,
This path should resolve the problem.
Axel
On 01/07/2014 10:53, Axel Davy wrote :
In src/loader/Makefile.am,
the test 'if NEED_OPENGL_COMMON' should probably be more restrictive,
I'm looking at it.
Axel
On 01/07/2014 10:22, Brian Paul wrote :
I configured with:
./autogen.sh CFLAGS=-g
1 - 100 of 1075 matches
Mail list logo