search for: nouveau_dri3_screen_info

Displaying 6 results from an estimated 6 matches for "nouveau_dri3_screen_info".

2015 Jun 30
3
[PATCH] Add Option "DRI3" to allow to disable DRI3 under EXA.
...8976 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(pScrn->scrnIndex, X_INFO, + "DRI3 on EXA enabled\n"); + return TRUE; + } + else { + xf86DrvMsg(pScrn->scrnIndex, X_WARNING, + "DRI3 on EXA initialization failed\n"); + re...
2015 Jul 04
2
[PATCH] Add Option "DRI3" to allow to disable DRI3 under EXA.
...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(pScrn->scrnIndex, X_INFO, >> + "DRI3 on EXA enabled\n"); >> + return TRUE; >> +...
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 04
2
[PATCH] Add Option "DRI3" to allow to disable DRI3 under EXA.
...nit(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(pScrn->scrnIndex, X_INFO, >>>> + "DRI3 on EXA enabled\n"); >>>> +...
2015 Jul 14
3
[PATCH] Add Option "DRI3" to allow to disable DRI3 under EXA.
...gt;>> 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(pScrn->scrnIndex, X_INFO, >>>>>> + "DRI3 on EXA enabled\n"); >>...
2018 Feb 10
0
[PATCH] dri3: don't check permissions on render node
...+ if (is_render_node(pNv->dev->fd)) return TRUE; buf = drmGetRenderDeviceNameFromFd(pNv->dev->fd); - if (buf && stat(buf, &render) == 0 && - master.st_mode == render.st_mode) { + if (buf) { pNv->render_node = buf; if (dri3_screen_init(screen, &nouveau_dri3_screen_info)) { xf86DrvMsg(pScrn->scrnIndex, X_INFO, -- 2.13.6