Displaying 5 results from an estimated 5 matches for "exadriverptr".
2015 May 19
2
[PATCH 1/2] Check before trying a solid fill
...-----
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/src/drmmode_display.c b/src/drmmode_display.c
index 7c1d2bb..2ca1dba 100644
--- a/src/drmmode_display.c
+++ b/src/drmmode_display.c
@@ -410,12 +410,15 @@ drmmode_fbcon_copy(ScreenPtr pScreen)
fallback:
if (pdpix) {
- pNv->EXADriverPtr->PrepareSolid(pdpix, GXclear, ~0, 0);
- pNv->EXADriverPtr->Solid(pdpix, 0, 0, w, h);
- pNv->EXADriverPtr->DoneSolid(pdpix);
- nouveau_bo_wait(pNv->scanout, NOUVEAU_BO_RDWR, pNv->client);
+ if (exa->PrepareSolid(pdpix, GXclear, ~0, 0)) {
+ exa->Solid(pdpix, 0, 0, w,...
2008 May 01
15
[Bug 15792] New: nv04 (TNT2) video blitter problem.
http://bugs.freedesktop.org/show_bug.cgi?id=15792
Summary: nv04 (TNT2) video blitter problem.
Product: xorg
Version: git
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
AssignedTo: nouveau at lists.freedesktop.org
2009 Mar 08
4
[PATCH 1/5] nv50: implement wfb
...>exa_driver_pixmaps) {
- if (!nouveau_pixmap_bo(ppix)->tiled)
+ if (!nouveau_pixmap_bo(ppix))
+ return false;
+ if (nouveau_pixmap_bo(ppix)->tiled == 0)
return false;
+ return true;
} else
if (pNv->Architecture < NV_ARCH_50 ||
exaGetPixmapOffset(ppix) < pNv->EXADriverPtr->offScreenBase)
@@ -403,10 +409,12 @@ nouveau_exa_pixmap_is_tiled(PixmapPtr ppix)
static void *
nouveau_exa_pixmap_map(PixmapPtr ppix)
{
+ ScrnInfoPtr pScrn = xf86Screens[ppix->drawable.pScreen->myNum];
+ NVPtr pNv = NVPTR(pScrn);
struct nouveau_bo *bo = nouveau_pixmap_bo(ppix);
uns...
2008 Dec 26
1
NV50: xv fullscreen issues
...[ws] Modules: flip_page
xine crashes in a similar way. mplayer (non GUI version) doesn't crash, but all I get is a black screen with "BadMatch" errors spamming the console.
The BadMatch is from nv50_xv.c:54
if (exaGetPixmapOffset(ppix) < pNv->EXADriverPtr->offScreenBase)
return FALSE;
commenting out those lines stops the players from crashing, but I still get just a black screen.
After having crashed gmplayer (with the code lines above re-enabled), I also notice that screen updates are a bit shaky - sometimes the screen isn'...
2013 Jul 22
0
[RFC PATCH] Support running nested in a Mir compositor
...uot;, -errno);
@@ -501,6 +531,88 @@ nouveau_dirty_update(ScreenPtr screen)
}
#endif
+#ifdef XMIR
+static void
+nouveau_xmir_copy_pixmap_to_mir(PixmapPtr src, int fd)
+{
+ ScreenPtr pScreen = src->drawable.pScreen;
+ ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen);
+ NVPtr pNv = NVPTR(pScrn);
+ ExaDriverPtr exa = pNv->EXADriverPtr;
+
+ PixmapPtr dst = NULL;
+ int ret;
+ struct nouveau_bo *bo_dst = NULL;
+
+ ret = nouveau_bo_prime_handle_ref(pNv->dev, fd, &bo_dst);
+ ErrorF("ret = %i for buffer %i\n", ret, fd);
+ assert(!ret);
+
+ dst = pScreen->CreatePixmap(pScreen, 0, 0, pScrn-...