search for: drmmode_fbcon_copy

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

2009 Sep 14
1
[Nouveau-cvs] xf86-video-nv: Branch 'master'
...te: Mon Sep 14 13:04:12 2009 +1000 > > kms: wait for fbcon to be copied before continuing > > diff --git a/src/drmmode_display.c b/src/drmmode_display.c > index 3010396..e152e7f 100644 > --- a/src/drmmode_display.c > +++ b/src/drmmode_display.c > @@ -215,6 +215,12 @@ drmmode_fbcon_copy(ScrnInfoPtr pScrn) > exa->DoneCopy(pdpix); > FIRE_RING (pNv->chan); > > + /* wait for completion before continuing, avoids seeing a momentary > + * flash of "corruption" on occasion > + */ > + nouveau_bo_map(pNv->scanout, NOUVEAU_BO_RDWR); > + nouv...
2015 Dec 10
2
[ANNOUNCE] xf86-video-nouveau 1.0.12
...backing fix null pointer deref Make the ddx load with platform devices Use the correct class and shader ops for GK20A. Use drmGetRenderDeviceNameFromFd to obtain the dri3 node. Simplify nouveau_allocate_surface's pitch calculation. Try using EXA ops harder in drmmode_fbcon_copy fallback Actually do a clear instead of doing a bogus copy. Mario Kleiner (3): present: Fixup return type of nouveau_present_init() Add Option "DRI" to allow selection of maximum DRI level. (v2) Take shift in crtc positions for ZaphodHeads configs into account. S...
2015 Dec 10
2
[ANNOUNCE] xf86-video-nouveau 1.0.12
...backing fix null pointer deref Make the ddx load with platform devices Use the correct class and shader ops for GK20A. Use drmGetRenderDeviceNameFromFd to obtain the dri3 node. Simplify nouveau_allocate_surface's pitch calculation. Try using EXA ops harder in drmmode_fbcon_copy fallback Actually do a clear instead of doing a bogus copy. Mario Kleiner (3): present: Fixup return type of nouveau_present_init() Add Option "DRI" to allow selection of maximum DRI level. (v2) Take shift in crtc positions for ZaphodHeads configs into account. S...
2013 Jul 22
0
[RFC PATCH] Support running nested in a Mir compositor
...t_dirty_window); +#endif + if (pScrn->vtSema && !pNv->NoAccel) nouveau_pushbuf_kick(pNv->pushbuf, pNv->pushbuf->channel); @@ -535,7 +652,10 @@ NVCreateScreenResources(ScreenPtr pScreen) return FALSE; pScreen->CreateScreenResources = NVCreateScreenResources; - drmmode_fbcon_copy(pScreen); + if (!xorgMir) + drmmode_fbcon_copy(pScreen); + else if (!xf86SetDesiredModes(pScrn)) + return FALSE; if (!NVEnterVT(VT_FUNC_ARGS(0))) return FALSE; @@ -561,7 +681,7 @@ NVCloseScreen(CLOSE_SCREEN_ARGS_DECL) ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen); NVPtr pNv = NVPTR(pSc...
2015 May 19
2
[PATCH 1/2] Check before trying a solid fill
...rkin <imirkin at alum.mit.edu> --- src/drmmode_display.c | 13 ++++++++----- 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->Pr...
2015 Dec 10
0
[ANNOUNCE] xf86-video-nouveau 1.0.12
...inter deref > Make the ddx load with platform devices > Use the correct class and shader ops for GK20A. > Use drmGetRenderDeviceNameFromFd to obtain the dri3 node. > Simplify nouveau_allocate_surface's pitch calculation. > Try using EXA ops harder in drmmode_fbcon_copy fallback > Actually do a clear instead of doing a bogus copy. > > Mario Kleiner (3): > present: Fixup return type of nouveau_present_init() > Add Option "DRI" to allow selection of maximum DRI level. (v2) > Take shift in crtc positions for ZaphodH...
2012 May 23
1
[PATCH (nouveau)] Add xwayland support
...Nv->xwl_screen); +#endif } static Bool @@ -413,6 +485,11 @@ NVCreateScreenResources(ScreenPtr pScreen) return FALSE; pScreen->CreateScreenResources = NVCreateScreenResources; +#ifdef XORG_WAYLAND + if (pNv->xwl_screen) + xwl_screen_init(pNv->xwl_screen, pScreen); +#endif + drmmode_fbcon_copy(pScreen); if (!NVEnterVT(pScrn->scrnIndex, 0)) return FALSE; @@ -425,6 +502,27 @@ NVCreateScreenResources(ScreenPtr pScreen) return TRUE; } +#ifdef XORG_WAYLAND +static int nouveau_create_window_buffer(struct xwl_window *xwl_window, + PixmapPtr pixmap) +{ + uint32_t name; + struct...
2010 Jun 08
8
[Bug 28449] New: I messed up and now nouveau doesn't work.
https://bugs.freedesktop.org/show_bug.cgi?id=28449 Summary: I messed up and now nouveau doesn't work. Product: xorg Version: git Platform: x86 (IA32) OS/Version: Linux (All) Status: NEW Severity: critical Priority: medium Component: Driver/nouveau AssignedTo: nouveau at lists.freedesktop.org
2012 Jul 04
0
[PATCH] Add xwayland support (v2)
...wl_screen) + xwl_screen_post_damage(pNv->xwl_screen); } static Bool @@ -406,6 +466,9 @@ NVCreateScreenResources(ScreenPtr pScreen) return FALSE; pScreen->CreateScreenResources = NVCreateScreenResources; + if (pNv->xwl_screen) + xwl_screen_init(pNv->xwl_screen, pScreen); + drmmode_fbcon_copy(pScreen); if (!NVEnterVT(VT_FUNC_ARGS(0))) return FALSE; @@ -418,6 +481,25 @@ NVCreateScreenResources(ScreenPtr pScreen) return TRUE; } +static int nouveau_create_window_buffer(struct xwl_window *xwl_window, + PixmapPtr pixmap) +{ + uint32_t name; + struct nouveau_bo *bo; + + bo = nou...
2012 Feb 15
11
[Patches][nouveau/ddx]: Improvements to bufferswap implementation and timestamping
Hi, here a set of patches against the nouveau-ddx. This is an extended and revised set, based on Francisco Jerez feedback from autumn last year. [1/9] Makes pageflipping work again on X-Server 1.12rc. It apparently stopped working somewhere around Xorg 1.11+. [2/9] Implements handling of pageflip completion events from the kernel. Francisco Jerez argument against including it was that the