Displaying 6 results from an estimated 6 matches for "nouveau_dri3_screen_init".
2015 Jun 30
3
[PATCH] Add Option "DRI3" to allow to disable DRI3 under EXA.
...ALSO"
__xservername__(__appmansuffix__), __xconfigfile__(__filemansuffix__), Xserver(__appmansuffix__), X(__miscmansuffix__)
.SH AUTHORS
diff --git a/src/nouveau_dri2.c b/src/nouveau_dri2.c
index f22e319..d818976 100644
--- a/src/nouveau_dri2.c
+++ b/src/nouveau_dri2.c
@@ -1130,7 +1130,16 @@ nouveau_dri3_screen_init(ScreenPtr screen)
if (buf && stat(buf, &render) == 0 &&
master.st_mode == render.st_mode) {
pNv->render_node = buf;
- return dri3_screen_init(screen, &nouveau_dri3_screen_info);
+ if (dri3_screen_init(screen, &nouveau_dri3_screen_info)) {
+ xf86DrvMsg(p...
2015 Jul 04
2
[PATCH] Add Option "DRI3" to allow to disable DRI3 under EXA.
...igfile__(__filemansuffix__), Xserver(__appmansuffix__), X(__miscmansuffix__)
>> .SH AUTHORS
>> diff --git a/src/nouveau_dri2.c b/src/nouveau_dri2.c
>> index f22e319..d818976 100644
>> --- a/src/nouveau_dri2.c
>> +++ b/src/nouveau_dri2.c
>> @@ -1130,7 +1130,16 @@ nouveau_dri3_screen_init(ScreenPtr screen)
>> if (buf && stat(buf, &render) == 0 &&
>> master.st_mode == render.st_mode) {
>> pNv->render_node = buf;
>> - return dri3_screen_init(screen, &nouveau_dri3_screen_info);
>>...
2015 Jul 04
2
[PATCH] Add Option "DRI3" to allow to disable DRI3 under EXA.
...fix__), X(__miscmansuffix__)
>>>> .SH AUTHORS
>>>> diff --git a/src/nouveau_dri2.c b/src/nouveau_dri2.c
>>>> index f22e319..d818976 100644
>>>> --- a/src/nouveau_dri2.c
>>>> +++ b/src/nouveau_dri2.c
>>>> @@ -1130,7 +1130,16 @@ nouveau_dri3_screen_init(ScreenPtr screen)
>>>> if (buf && stat(buf, &render) == 0 &&
>>>> master.st_mode == render.st_mode) {
>>>> pNv->render_node = buf;
>>>> - return dri3_screen_init(screen, &nou...
2015 Jul 29
3
[PATCH 1/2] present: Fixup return type of nouveau_present_init()
Make it a Bool consistently, as declared in header.
Reported-by: Ilia Mirkin <imirkin at alum.mit.edu>
Signed-off-by: Mario Kleiner <mario.kleiner.de at gmail.com>
---
src/nouveau_present.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/nouveau_present.c b/src/nouveau_present.c
index 4de1e6e..699a58d 100644
--- a/src/nouveau_present.c
+++
2015 Jul 14
3
[PATCH] Add Option "DRI3" to allow to disable DRI3 under EXA.
...> .SH AUTHORS
>>>>>> diff --git a/src/nouveau_dri2.c b/src/nouveau_dri2.c
>>>>>> index f22e319..d818976 100644
>>>>>> --- a/src/nouveau_dri2.c
>>>>>> +++ b/src/nouveau_dri2.c
>>>>>> @@ -1130,7 +1130,16 @@ nouveau_dri3_screen_init(ScreenPtr screen)
>>>>>> if (buf && stat(buf, &render) == 0 &&
>>>>>> master.st_mode == render.st_mode) {
>>>>>> pNv->render_node = buf;
>>>>>> - retur...
2018 Feb 10
0
[PATCH] dri3: don't check permissions on render node
...d < 0)
return -BadAlloc;
- if (fstat(fd, &buff)) {
- close(fd);
- return -BadMatch;
- }
- if (!is_render_node(fd, &buff)) {
+ if (!is_render_node(fd)) {
drm_magic_t magic;
if (drmGetMagic(fd, &magic) || drmAuthMagic(pNv->dev->fd, magic)) {
@@ -1131,15 +1127,13 @@ nouveau_dri3_screen_init(ScreenPtr screen)
#ifdef DRI3
ScrnInfoPtr pScrn = xf86ScreenToScrn(screen);
NVPtr pNv = NVPTR(pScrn);
- struct stat master, render;
char *buf;
- if (is_render_node(pNv->dev->fd, &master))
+ if (is_render_node(pNv->dev->fd))
return TRUE;
buf = drmGetRenderDeviceNameFr...