search for: nouveau_present_init

Displaying 10 results from an estimated 10 matches for "nouveau_present_init".

2015 Jul 29
3
[PATCH 1/2] present: Fixup return type of nouveau_present_init()
...uveau_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 +++ b/src/nouveau_present.c @@ -293,7 +293,7 @@ nouveau_present_fini(ScreenPtr screen) } } -int +Bool nouveau_present_init(ScreenPtr screen) { ScrnInfoPtr scrn = xf86ScreenToScrn(screen); @@ -304,7 +304,7 @@ nouveau_present_init(ScreenPtr screen) present = pNv->present = calloc(1, sizeof(*present)); if (!present) - return -ENOMEM; + return FALSE; present->info.version = PRESENT_SCREEN_INFO_VERSION;...
2015 Dec 10
2
[ANNOUNCE] xf86-video-nouveau 1.0.12
...kes up the programs Avoid build fail without COMPOSITE glamor: remove remove maxwell GM10x support for now xv: use correct max width/height settings fix build after glamor removal Maarten Lankhorst (13): enable dri3 support without glamor move down call to nouveau_present_init until after fb init. fix crash in nouveau_glamor_set_shared_pixmap_backing fix !DRI3 case rework initialization to prevent some crashes check memory allocation in nouveau_glamor_set_shared_pixmap_backing fix null pointer deref Make the ddx load with platform devi...
2015 Dec 10
2
[ANNOUNCE] xf86-video-nouveau 1.0.12
...kes up the programs Avoid build fail without COMPOSITE glamor: remove remove maxwell GM10x support for now xv: use correct max width/height settings fix build after glamor removal Maarten Lankhorst (13): enable dri3 support without glamor move down call to nouveau_present_init until after fb init. fix crash in nouveau_glamor_set_shared_pixmap_backing fix !DRI3 case rework initialization to prevent some crashes check memory allocation in nouveau_glamor_set_shared_pixmap_backing fix null pointer deref Make the ddx load with platform devi...
2015 Jun 30
3
[PATCH] Add Option "DRI3" to allow to disable DRI3 under EXA.
...-1, NULL, OPTV_NONE, {0}, FALSE } }; diff --git a/src/nv_driver.c b/src/nv_driver.c index 8e2ae03..32f04d8 100644 --- a/src/nv_driver.c +++ b/src/nv_driver.c @@ -1470,7 +1470,13 @@ NVScreenInit(SCREEN_INIT_ARGS_DECL) xf86SetBlackWhitePixels(pScreen); - nouveau_present_init(pScreen); + if (nouveau_present_init(pScreen) <= 0) + xf86DrvMsg(pScrn->scrnIndex, X_INFO, + "Hardware support for Present disabled\n"); + else + xf86DrvMsg(pScrn->scrnIndex, X_INFO, + "Hardware support for Present enabled\n"); + nouveau_sync_init(pScreen)...
2015 Jul 04
2
[PATCH] Add Option "DRI3" to allow to disable DRI3 under EXA.
...ff --git a/src/nv_driver.c b/src/nv_driver.c >> index 8e2ae03..32f04d8 100644 >> --- a/src/nv_driver.c >> +++ b/src/nv_driver.c >> @@ -1470,7 +1470,13 @@ NVScreenInit(SCREEN_INIT_ARGS_DECL) >> >> xf86SetBlackWhitePixels(pScreen); >> >> - nouveau_present_init(pScreen); >> + if (nouveau_present_init(pScreen) <= 0) >> + xf86DrvMsg(pScrn->scrnIndex, X_INFO, >> + "Hardware support for Present disabled\n"); >> + else >> + xf86DrvMsg(pScrn->scrnIn...
2015 Jul 04
2
[PATCH] Add Option "DRI3" to allow to disable DRI3 under EXA.
...dex 8e2ae03..32f04d8 100644 >>>> --- a/src/nv_driver.c >>>> +++ b/src/nv_driver.c >>>> @@ -1470,7 +1470,13 @@ NVScreenInit(SCREEN_INIT_ARGS_DECL) >>>> >>>> xf86SetBlackWhitePixels(pScreen); >>>> >>>> - nouveau_present_init(pScreen); >>>> + if (nouveau_present_init(pScreen) <= 0) >>>> + xf86DrvMsg(pScrn->scrnIndex, X_INFO, >>>> + "Hardware support for Present disabled\n"); >>>> + else >>>> +...
2020 Jul 18
1
[PATCH 1/2] drmmode: fix screen resize without acceleration
This got broken with commit 86024cee back in 2014! drmmode_pixmap/nouveau_pixmap expect there to be EXA wrapping around the pixmap now, which is not there without accel. Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu> --- src/drmmode_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drmmode_display.c b/src/drmmode_display.c index 89927a4..69421e1 100644
2015 Dec 10
0
[ANNOUNCE] xf86-video-nouveau 1.0.12
...ail without COMPOSITE > glamor: remove > remove maxwell GM10x support for now > xv: use correct max width/height settings > fix build after glamor removal > > Maarten Lankhorst (13): > enable dri3 support without glamor > move down call to nouveau_present_init until after fb init. > fix crash in nouveau_glamor_set_shared_pixmap_backing > fix !DRI3 case > rework initialization to prevent some crashes > check memory allocation in nouveau_glamor_set_shared_pixmap_backing > fix null pointer deref > Make t...
2015 Jul 14
3
[PATCH] Add Option "DRI3" to allow to disable DRI3 under EXA.
...a/src/nv_driver.c >>>>>> +++ b/src/nv_driver.c >>>>>> @@ -1470,7 +1470,13 @@ NVScreenInit(SCREEN_INIT_ARGS_DECL) >>>>>> >>>>>> xf86SetBlackWhitePixels(pScreen); >>>>>> >>>>>> - nouveau_present_init(pScreen); >>>>>> + if (nouveau_present_init(pScreen) <= 0) >>>>>> + xf86DrvMsg(pScrn->scrnIndex, X_INFO, >>>>>> + "Hardware support for Present disabled\n"); >>>>>> +...
2014 Jun 21
0
[PATCH 2/2] present: build only when glamor is enabled
...ouveau_present.h +++ b/src/nouveau_present.h @@ -4,7 +4,11 @@ #include "xorg-server.h" #include "scrnintstr.h" -#ifdef DRI3 +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#if defined(DRI3) && defined(HAVE_GLAMOR) #include "present.h" Bool nouveau_present_init(ScreenPtr pScreen); void nouveau_present_fini(ScreenPtr pScreen); -- 2.0.0