Re: [PATCH xserver v2 1/4] os: move xf86PrivsElevated here

2018-03-14 Thread Nicolai Hähnle
On 14.03.2018 14:36, Emil Velikov wrote: On 13 March 2018 at 21:46, Ben Crocker wrote: --- a/include/os.h +++ b/include/os.h @@ -368,6 +368,9 @@ System(const char *cmdline); #define Fclose(a) fclose(a) #endif +extern _X_EXPORT Bool +PrivsElevated(void); + Any

Re: [RFC xserver v3 00/11] DRI3 v1.2: DMA fences

2017-11-09 Thread Nicolai Hähnle
Will this also support the wait-fence part of PresentPixmap? Having an explicit wait-fence in PresentPixmap could potentially help with OpenGL driver multi-threading. We currently have to sync with the driver thread before sending PresentPixmap, to ensure that the necessary command

Re: [Mesa-dev] [PATCH dri3proto v2] Add modifier/multi-plane requests, bump to v1.1

2017-07-28 Thread Nicolai Hähnle
Hi Daniel, On 28.07.2017 12:46, Daniel Stone wrote: On 28 July 2017 at 10:24, Nicolai Hähnle <nhaeh...@gmail.com> wrote: On 28.07.2017 09:44, Daniel Stone wrote: No, I don't think it is. Tiled layouts still have a stride: if you look at i915 X/Y/Yf/Y_CCS/Yf_CCS (the latter two cont

Re: [Mesa-dev] [PATCH dri3proto v2] Add modifier/multi-plane requests, bump to v1.1

2017-07-28 Thread Nicolai Hähnle
On 28.07.2017 09:44, Daniel Stone wrote: Hi Nicolai, Trying to tackle the stride subthread in one go ... On 25 July 2017 at 09:28, Nicolai Hähnle <nhaeh...@gmail.com> wrote: On 22.07.2017 14:00, Daniel Stone wrote: On 21 July 2017 at 18:32, Michel Dänzer <mic...@daenzer.net> wro

Re: [Mesa-dev] [PATCH dri3proto v2] Add modifier/multi-plane requests, bump to v1.1

2017-07-27 Thread Nicolai Hähnle
On 27.07.2017 03:14, Michel Dänzer wrote: On 26/07/17 09:15 PM, Nicolai Hähnle wrote: On 26.07.2017 08:29, Michel Dänzer wrote: On 25/07/17 05:28 PM, Nicolai Hähnle wrote: On 22.07.2017 14:00, Daniel Stone wrote: Given that, I'm fairly inclined to punt those until we have the grand glorious

Re: [Mesa-dev] [PATCH dri3proto v2] Add modifier/multi-plane requests, bump to v1.1

2017-07-26 Thread Nicolai Hähnle
On 26.07.2017 19:42, Marek Olšák wrote: On Wed, Jul 26, 2017 at 7:05 PM, Alex Deucher <alexdeuc...@gmail.com> wrote: On Wed, Jul 26, 2017 at 8:15 AM, Nicolai Hähnle <nhaeh...@gmail.com> wrote: On 26.07.2017 08:29, Michel Dänzer wrote: On 25/07/17 05:28 PM, Nicolai

Re: [Mesa-dev] [PATCH dri3proto v2] Add modifier/multi-plane requests, bump to v1.1

2017-07-26 Thread Nicolai Hähnle
On 26.07.2017 08:29, Michel Dänzer wrote: On 25/07/17 05:28 PM, Nicolai Hähnle wrote: On 22.07.2017 14:00, Daniel Stone wrote: I don't have any great solution off the top of my head, but I'd be inclined to bundle stride in with placement. TTBOMK (from having looked at radv), buffers shared

Re: [Mesa-dev] [PATCH dri3proto v2] Add modifier/multi-plane requests, bump to v1.1

2017-07-25 Thread Nicolai Hähnle
On 22.07.2017 14:00, Daniel Stone wrote: On 21 July 2017 at 18:32, Michel Dänzer wrote: On 20/07/17 01:08 PM, Daniel Stone wrote: DRI3 version 1.1 adds support for explicit format modifiers, including multi-planar buffers. Adding mesa-dev, Nicolai and Marek. We just ran

[PATCH xserver 1/4] os: move xf86PrivsElevated here

2017-01-27 Thread Nicolai Hähnle
From: Nicolai Hähnle <nicolai.haeh...@amd.com> Having different types of code all trying to check for elevated privileges is a bad idea. This implementation is the most thorough one. Signed-off-by: Nicolai Hähnle <nicolai.haeh...@amd.com> --- hw/xfree86/common/xf8

[PATCH xserver 3/4] xfree86: replace all uses of xf86PrivsElevated with PrivsElevated

2017-01-27 Thread Nicolai Hähnle
From: Nicolai Hähnle <nicolai.haeh...@amd.com> Signed-off-by: Nicolai Hähnle <nicolai.haeh...@amd.com> --- hw/xfree86/common/xf86Config.c | 2 +- hw/xfree86/common/xf86Init.c | 12 +++- hw/xfree86/common/xf86Priv.h | 2 -- 3 files changed, 4 insertions(+), 12 deleti

[PATCH xserver 0/4] os, glx: honor LIBGL_DRIVERS_PATH, and privilege checks

2017-01-27 Thread Nicolai Hähnle
Hi all, the main point of this series is to take LIBGL_DRIVERS_PATH into account when loading a DRI driver for libglx. This is convenient for testing, and Glamor already does this anyway. Unsurprisingly, dynamic linker mayhem tends to ensue when Glamor and libglx load different drivers (or

[PATCH xserver 4/4] glx: honor LIBGL_DRIVERS_PATH when loading DRI drivers

2017-01-27 Thread Nicolai Hähnle
From: Nicolai Hähnle <nicolai.haeh...@amd.com> Allow switching to another driver build without a full installation. Glamor already takes LIBGL_DRIVERS_PATH into account, so this change makes sure that the same driver is used in both parts of the server. Signed-off-by: Nicolai

[PATCH xserver 2/4] os: use PrivsElevated instead of a manual check

2017-01-27 Thread Nicolai Hähnle
From: Nicolai Hähnle <nicolai.haeh...@amd.com> Signed-off-by: Nicolai Hähnle <nicolai.haeh...@amd.com> --- os/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/os/utils.c b/os/utils.c index 024989e..05733b0 100644 --- a/os/utils.c +++ b/os/utils.c @@ -1861

Re: Time to update GSoC/EVoC ideas page

2017-01-20 Thread Nicolai Hähnle
Hi Rob, On 19.01.2017 23:32, Rob Clark wrote: Just a friendly reminder that now would be a good time to update the wiki page for GSoC/EVoC ideas: https://www.x.org/wiki/SummerOfCodeIdeas/ There are currently still some stale ideas there (and probably plenty of missing good ideas). Also,

Re: [PATCH] A few build.sh features

2009-02-17 Thread Nicolai Hähnle
Am Dienstag 17 Februar 2009 15:25:44 schrieb Dan Nicholson: On Mon, Feb 16, 2009 at 11:15 AM, Ian Romanick i...@freedesktop.org wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian Rogers wrote: Here are a few patches that do things I found useful. 1. Specify -p to run 'git