Re: [Mesa-dev] [PATCH] RFC: Workaround for pthread_setaffinity_np() seccomp filtering

2019-03-04 Thread Drew Davenport
We ran into a similar issue with this syscall in Chrome OS. This patch addressed the issue: https://lists.freedesktop.org/archives/mesa-dev/2019-February/215721.html Does it help in this case as well? On Wed, Feb 27, 2019 at 4:13 PM wrote: > > From: Marc-André Lureau > > Since commit

[Mesa-dev] [PATCH] util: Don't block SIGSYS for new threads

2019-02-22 Thread Drew Davenport
SIGSYS is needed for programs using seccomp for sandboxing. --- src/util/u_thread.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/util/u_thread.h b/src/util/u_thread.h index 7538d7d634b2..a46c18d3db20 100644 --- a/src/util/u_thread.h +++ b/src/util/u_thread.h @@ -44,7

Re: [Mesa-dev] [PATCH] virgl: Support ARB_framebuffer_no_attachments

2018-06-28 Thread Drew Davenport
On Wed, Jun 27, 2018 at 6:47 AM Ilia Mirkin wrote: > > On Tue, Jun 26, 2018 at 7:00 PM, Drew Davenport > wrote: > > This change lets the following test pass on virgl: > > dEQP-GLES31.functional.state_query.framebuffer_default.framebuffer_default_samples_get_fr

Re: [Mesa-dev] [PATCH] virgl: Support ARB_framebuffer_no_attachments

2018-06-28 Thread Drew Davenport
On Wed, Jun 27, 2018 at 1:57 AM Emil Velikov wrote: > > On 27 June 2018 at 09:55, Emil Velikov wrote: > > Hi Drew, > > > > Just some food for thought. The patch in itself looks correct albeit > > partial. > > > > On 27 June 2018 at 00:00, Dr

[Mesa-dev] [PATCH] virgl: Support ARB_framebuffer_no_attachments

2018-06-26 Thread Drew Davenport
This change lets the following test pass on virgl: dEQP-GLES31.functional.state_query.framebuffer_default.framebuffer_default_samples_get_framebuffer_parameteriv --- src/gallium/drivers/virgl/virgl_screen.c | 4 1 file changed, 4 insertions(+) diff --git

[Mesa-dev] [PATCH] st/va: Support YUV formats in vaCreateSurfaces

2018-04-27 Thread Drew Davenport
diff --git a/src/gallium/state_trackers/va/surface.c b/src/gallium/state_trackers/va/surface.c index 0824f1b74a..003f88f1f9 100644 --- a/src/gallium/state_trackers/va/surface.c +++ b/src/gallium/state_trackers/va/surface.c @@ -531,10 +531,12 @@ surface_from_external_memory(VADriverContextP ctx,

[Mesa-dev] [PATCH] st/va: Fix typos

2018-04-25 Thread Drew Davenport
s/attibute/attribute/ s/suface/surface/ --- src/gallium/state_trackers/va/surface.c | 48 - 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/src/gallium/state_trackers/va/surface.c b/src/gallium/state_trackers/va/surface.c index 8604136944..1dc4466560

[Mesa-dev] [PATCH] st/va: Fix potential buffer overread

2018-04-24 Thread Drew Davenport
VASurfaceAttribExternalBuffers.pitches is indexed by plane. Current implementation only supports single plane layout. --- src/gallium/state_trackers/va/surface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/state_trackers/va/surface.c