[Nouveau] [PATCH] nouveau: Switch perms from macros to octal notations, module params readable to everyone

2016-04-11 Thread poma
From: poma Switch from "silly" S_* macros to "definitely more readable" octal "way" permissions, moreover to not "so restrictive" module parameters permissions. Suggested-by: Ilia Mirkin Fixes: poma Tested-by: poma --- drivers/gpu/drm/nouveau/dispnv04/tvnv17.c | 2 +- drivers/gpu/drm/nou

Re: [Nouveau] [PATCH] nouveau: Add missing PIPE_SHADER_CAP_INTEGERS to get_shader_param()

2016-04-11 Thread Samuel Pitoiset
The prefix should be "nv30:" instead of "nouveau:" I guess. Reviewed-by: Samuel Pitoiset On 04/11/2016 02:13 PM, Hans de Goede wrote: Add missing PIPE_SHADER_CAP_INTEGERS for frag shaders to nv30_screen_get_shader_param(). Signed-off-by: Hans de Goede --- src/gallium/drivers/nouveau/nv30/n

[Nouveau] [PATCH] nouveau: Add missing PIPE_SHADER_CAP_INTEGERS to get_shader_param()

2016-04-11 Thread Hans de Goede
Add missing PIPE_SHADER_CAP_INTEGERS for frag shaders to nv30_screen_get_shader_param(). Signed-off-by: Hans de Goede --- src/gallium/drivers/nouveau/nv30/nv30_screen.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/drivers/nouveau/nv30/nv30_screen.c b/src/gallium/drivers/nouve

Re: [Nouveau] "unknown fragment shader param 17" error on NV46 when running glxgears

2016-04-11 Thread Samuel Pitoiset
On 04/11/2016 12:10 PM, Hans de Goede wrote: Hi, Hi, While trying to reproduce: https://bugzilla.redhat.com/show_bug.cgi?id=1325667 I also gave glxgears a quick test with mesa master, this resulted in the following errors being printed to the terminal from which glxgears was started : un

[Nouveau] "unknown fragment shader param 17" error on NV46 when running glxgears

2016-04-11 Thread Hans de Goede
Hi, While trying to reproduce: https://bugzilla.redhat.com/show_bug.cgi?id=1325667 I also gave glxgears a quick test with mesa master, this resulted in the following errors being printed to the terminal from which glxgears was started : unknown fragment shader param 17 unknown fragment shader p