Displaying 20 results from an estimated 37 matches for "errorf".
Did you mean:
  error
  
2020 Apr 30
2
[PATCH] drm/nouveau/dispnv04: Remove dead code
...if (dev->overlayAdaptor && drm->client.device.info.family >= NV_DEVICE_INFO_V0_CELSIUS)
-			/* This reportedly works around some video overlay bandwidth problems */
-			horizTotal += 2;
-#endif
 	}
 
 	if (mode->flags & DRM_MODE_FLAG_INTERLACE)
 		vertTotal |= 1;
 
-#if 0
-	ErrorF("horizDisplay: 0x%X \n", horizDisplay);
-	ErrorF("horizStart: 0x%X \n", horizStart);
-	ErrorF("horizEnd: 0x%X \n", horizEnd);
-	ErrorF("horizTotal: 0x%X \n", horizTotal);
-	ErrorF("horizBlankStart: 0x%X \n", horizBlankStart);
-	ErrorF("horizBla...
2020 Apr 30
0
[PATCH] drm/nouveau/dispnv04: Remove dead code
.../* This reportedly works around some video overlay bandwidth problems */
> -                       horizTotal += 2;
> -#endif
>         }
>
>         if (mode->flags & DRM_MODE_FLAG_INTERLACE)
>                 vertTotal |= 1;
>
> -#if 0
> -       ErrorF("horizDisplay: 0x%X \n", horizDisplay);
> -       ErrorF("horizStart: 0x%X \n", horizStart);
> -       ErrorF("horizEnd: 0x%X \n", horizEnd);
> -       ErrorF("horizTotal: 0x%X \n", horizTotal);
> -       ErrorF("horizBlankStart: 0x%X \n"...
2020 May 01
1
[PATCH] drm/nouveau/dispnv04: Remove dead code
...ound some video overlay bandwidth problems */
> > -                       horizTotal += 2;
> > -#endif
> >         }
> >
> >         if (mode->flags & DRM_MODE_FLAG_INTERLACE)
> >                 vertTotal |= 1;
> >
> > -#if 0
> > -       ErrorF("horizDisplay: 0x%X \n", horizDisplay);
> > -       ErrorF("horizStart: 0x%X \n", horizStart);
> > -       ErrorF("horizEnd: 0x%X \n", horizEnd);
> > -       ErrorF("horizTotal: 0x%X \n", horizTotal);
> > -       ErrorF("horizBlan...
2020 Mar 24
1
[PATCH libnbd v3] Add Go language bindings (golang) (RHBZ#1814538).
This feature is roughly finished now, although it needs a few more
tests and some examples.
It's pretty much up to par with all the other bindings, but it lacks a
completely safe AIO buffer.  It won't stop you from freeing the buffer
too early) because golang's GC inexplicably lacks a way to declare a
root from C.  I can probably do it with a global variable and ref
counting on the
2010 Apr 20
1
[PATCH] nv30/exa : cleanup from nv40 exa
.../ { 1, 1, SF(ONE_MINUS_DST_ALPHA), DF(ONE_MINUS_SRC_ALPHA) },
+/* Add         */ { 0, 0, SF(                ONE), DF(                ONE) }
 };
 
 static nv_pict_op_t *
@@ -230,24 +198,6 @@ NV30_GetPictOpRec(int op)
 {
 	if (op >= PictOpSaturate)
 		return NULL;
-#if 0
-	switch(op)
-	{
-		case 0:ErrorF("Op Clear\n");break;
-		case 1:ErrorF("Op Src\n");break;
-		case 2:ErrorF("Op Dst\n");break;
-		case 3:ErrorF("Op Over\n");break;
-		case 4:ErrorF("Op OverReverse\n");break;
-		case 5:ErrorF("Op In\n");break;
-		case 6:ErrorF("Op InRe...
2010 Oct 25
7
[PATCH 0/6] Ocfs2-tools: Add a new tool 'o2info'.
Now it's a good time to introduce the new tool 'o2info' since kernel
part of OCFS2_IOC_INFO ioctl has been pulld upstream by linus.
The following 6 patches have already got sunil's SOBs, and now they're
trying to attract more reviewers before it goes to central repo with
a modification of getting manual pages being introduced.
2013 Jul 22
0
[RFC PATCH] Support running nested in a Mir compositor
...amp;& !NVHasMirSupport(dev->pdev))
+		return FALSE;
+
 	if (!NVHasKMS(dev->pdev))
 		return FALSE;
 
@@ -424,9 +449,11 @@ NVEnterVT(VT_FUNC_ARGS_DECL)
 
 	xf86DrvMsg(pScrn->scrnIndex, X_INFO, "NVEnterVT is called.\n");
 
-	ret = drmSetMaster(pNv->dev->fd);
-	if (ret)
-		ErrorF("Unable to get master: %s\n", strerror(errno));
+	if (!xorgMir) {
+		ret = drmSetMaster(pNv->dev->fd);
+		if (ret)
+			ErrorF("Unable to get master: %s\n", strerror(errno));
+	}
 
 	if (XF86_CRTC_CONFIG_PTR(pScrn)->num_crtc && !xf86SetDesiredModes(pScrn))
 		ret...
2009 Aug 27
0
[PATCH] nv: refuse to load if there's a kernel driver bound to the device already
...80,12 @@ NVPciProbe(DriverPtr drv, int entity, struct pci_device *dev, intptr_t data)
                       NVGetPCIXpressChip(dev) : dev->vendor_id << 16 | dev->device_id;
     const char *name = xf86TokenToString(NVKnownChipsets, id);
 
+    if (pci_device_has_kernel_driver(dev)) {
+	ErrorF("The PCI device has a kernel module claiming it.\n");
+	ErrorF("This driver cannot operate until it has been unloaded\n");
+	return FALSE;
+    }
+
     if(dev->vendor_id == PCI_VENDOR_NVIDIA && !name &&
        !NVIsSupported(id) && !NVIsG80(id)) {...
2010 Feb 09
1
[PATCH] Remove some UMS leftovers.
...me(int scrnIndex, int x, int y, int flags)
 /*
  * This is called when VT switching back to the X server.  Its job is
  * to reinitialise the video mode.
- *
- * We may wish to unmap video/MMIO memory too.
  */
 
 /* Mandatory */
@@ -333,9 +331,6 @@ NVEnterVT(int scrnIndex, int flags)
 	if (ret)
 		ErrorF("Unable to get master: %d\n", ret);
 
-	if (!pNv->NoAccel)
-		NVAccelCommonInit(pScrn);
-
 	pNv->allow_dpms = FALSE;
 	if (!xf86SetDesiredModes(pScrn))
 		return FALSE;
@@ -350,8 +345,6 @@ NVEnterVT(int scrnIndex, int flags)
 /*
  * This is called when VT switching away from the X s...
2010 Feb 17
2
[LLVMdev] Kaleidoscope toy4 failure seg fault on llvm::ExecutionEngine::getTargetData (this=0x0)
...[CurTok];
  if (TokPrec <= 0) return -1;
  return TokPrec;
}
/// Error* - These are little helper functions for error handling.
ExprAST *Error(const char *Str) { fprintf(stderr, "Error: %s\n", Str);return 0;}
PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; }
FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; }
static ExprAST *ParseExpression();
/// identifierexpr
///   ::= identifier
///   ::= identifier '(' expression* ')'
static ExprAST *ParseIdentifierExpr() {
  std::string IdName = IdentifierStr;
  getNextToken();  // eat identifier.
  if...
2010 Feb 17
0
[LLVMdev] Kaleidoscope toy4 failure seg fault on llvm::ExecutionEngine::getTargetData (this=0x0)
...n -1;
>  return TokPrec;
> }
>
> /// Error* - These are little helper functions for error handling.
> ExprAST *Error(const char *Str) { fprintf(stderr, "Error: %s\n",
> Str);return 0;}
> PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; }
> FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; }
>
> static ExprAST *ParseExpression();
>
> /// identifierexpr
> ///   ::= identifier
> ///   ::= identifier '(' expression* ')'
> static ExprAST *ParseIdentifierExpr() {
>  std::string IdName = IdentifierStr;
>
&g...
2010 Feb 17
1
[LLVMdev] Kaleidoscope toy4 failure seg fault on llvm::ExecutionEngine::getTargetData (this=0x0)
...>> }
>>
>> /// Error* - These are little helper functions for error handling.
>> ExprAST *Error(const char *Str) { fprintf(stderr, "Error: %s\n",
>> Str);return 0;}
>> PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; }
>> FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; }
>>
>> static ExprAST *ParseExpression();
>>
>> /// identifierexpr
>> ///   ::= identifier
>> ///   ::= identifier '(' expression* ')'
>> static ExprAST *ParseIdentifierExpr() {
>>  std::string...
2010 May 22
18
[Bug 28212] New: image corruption
https://bugs.freedesktop.org/show_bug.cgi?id=28212
           Summary: image corruption
           Product: xorg
           Version: git
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Driver/nouveau
        AssignedTo: nouveau at lists.freedesktop.org
        ReportedBy: d.okias
2016 Jan 13
0
[PATCH] HAS_DIRTYTRACKING_ROTATION also supports multiple CRTCs
...704,7 @@ drmmode_set_scanout_pixmap(xf86CrtcPtr crtc, PixmapPtr ppix)
 			if (max_height < iter->mode.VDisplay)
 				max_height = iter->mode.VDisplay;
 		}
-#ifndef HAS_DIRTYTRACKING2
+#if !defined(HAS_DIRTYTRACKING_ROTATION) && !defined(HAS_DIRTYTRACKING2)
 	if (iter != crtc) {
 		ErrorF("Cannot do multiple crtcs without X server dirty tracking 2 interface\n");
 		return FALSE;
-- 
2.4.10
2010 Feb 10
0
[PATCH] Revert "kms: work around some bong hits with dpms"
...e->fd, koutput->props[i]);
 		if (props && (props->flags && DRM_MODE_PROP_ENUM)) {
diff --git a/src/nv_driver.c b/src/nv_driver.c
index 3908347..7149759 100644
--- a/src/nv_driver.c
+++ b/src/nv_driver.c
@@ -331,10 +331,8 @@ NVEnterVT(int scrnIndex, int flags)
 	if (ret)
 		ErrorF("Unable to get master: %d\n", ret);
 
-	pNv->allow_dpms = FALSE;
 	if (!xf86SetDesiredModes(pScrn))
 		return FALSE;
-	pNv->allow_dpms = TRUE;
 
 	if (pNv->overlayAdaptor && pNv->Architecture != NV_ARCH_04)
 		NV10WriteOverlayParameters(pScrn);
diff --git a/src/nv_type...
2013 Mar 29
2
[Bug 62916] New: NVEnterTV fails on hybrid cards
...heck for the connected
screen before setting mode, but I don't know how to do that, since this is my
first time to look at nouveau code.
--- nv_driver-orig.c    2013-03-29 17:19:34.876953461 -0400
+++ nv_driver.c    2013-03-29 17:20:15.810287942 -0400
@@ -407,8 +407,7 @@
     if (ret)
         ErrorF("Unable to get master: %s\n", strerror(errno));
-    if (!xf86SetDesiredModes(pScrn))
-        return FALSE;
+    xf86SetDesiredModes(pScrn);
     if (pNv->overlayAdaptor && pNv->Architecture != NV_ARCH_04)
         NV10WriteOverlayParameters(pScrn);
-- 
You are receiving...
2020 Mar 17
0
[PATCH libnbd v2 3/3] golang: Add straightforward bindings, without callbacks.
...License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+package libnbd
+
+import "testing"
+
+func Test200ConnectCommand (t *testing.T) {
+	h, err := Create ()
+	if err != nil {
+		t.Errorf ("could not create handle: %s", err)
+	}
+        _, err = h.Connect_command ([]string{
+            "nbdkit", "-s", "--exit-with-parent", "-v", "null",
+        })
+        if err != nil {
+		t.Errorf ("could not connect: %s", e...
2007 Aug 04
0
[ANNOUNCE] xf86-video-ati 6.6.193
...Clean up PortInfo to CRTC mapping
Matthieu Herrb (1):
       Fix build without XF86DRI
Michel D?nzer (7):
       radeon: Suppress debugging output by default.
       radeon: HW cursor cleanup.
       radeon: Provide new DRI texOffsetStart hook when available with EXA.
       radeon: Fix some more ErrorFs when setting mode.
       radeon: Don't loop indefinitely if no mode matches detected panel size.
       radeon: Fix panel size detection from registers with stretched
mode programmed.
       radeon: Fully zero-initialize info->CRT2pScrn->monitor.
Tormod Volden (1):
       RADEON: limit...
2012 Jul 04
0
[PATCH] Add xwayland support (v2)
...entity_num);
@@ -333,7 +379,11 @@ NVEnterVT(VT_FUNC_ARGS_DECL)
 
 	xf86DrvMsg(pScrn->scrnIndex, X_INFO, "NVEnterVT is called.\n");
 
-	ret = drmSetMaster(pNv->dev->fd);
+	if (pNv->xwl_screen) {
+		ret = 0;
+	} else {
+		ret = drmSetMaster(pNv->dev->fd);
+	}
 	if (ret)
 		ErrorF("Unable to get master: %s\n", strerror(errno));
 
@@ -361,7 +411,11 @@ NVLeaveVT(VT_FUNC_ARGS_DECL)
 
 	xf86DrvMsg(pScrn->scrnIndex, X_INFO, "NVLeaveVT is called.\n");
 
-	ret = drmDropMaster(pNv->dev->fd);
+	if (pNv->xwl_screen) {
+		ret = 0;
+	} else {
+		ret = drm...
2015 Jun 16
0
[ANNOUNCE] xorg-server 1.17.2
...yr: Fix compile when debugging is enabled
      Xephyr: Fix screen image draw for the non-Glamor & non-XHSM case
      Xephyr: Fix broken image when endianess of client machine and host-Xserver differ
Emil Velikov (2):
      randr: remove chatty error messages
      randr: use randr: prefix in ErrorF()
Hans de Goede (1):
      Re-enable non serverfd input devices immediately on vtenter
Jason Gerecke (2):
      xfree86: Return NULL from xf86CompatOutput if no compat_output is defined
      dix: Do not allow device transform to be set on valuatorless devices
Jon TURNEY (9):
      ephyr: Avoid...