summaryrefslogtreecommitdiff
path: root/src/i810_memory.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2006-04-05 07:12:00 +0000
committerDave Airlie <airlied@linux.ie>2006-04-05 07:12:00 +0000
commit35e4756645891bfc85f25f1ab60c287eba9ef749 (patch)
tree1439ec1e9217bca3368397f4f7c704bfde0d7706 /src/i810_memory.c
parent6e5f9b026372eea295c390b18fc41f7018e0e797 (diff)
Fix some argument inversions in xf86DrvMsg function calls
Diffstat (limited to 'src/i810_memory.c')
-rw-r--r--src/i810_memory.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/i810_memory.c b/src/i810_memory.c
index 56199ce6..82d86eb2 100644
--- a/src/i810_memory.c
+++ b/src/i810_memory.c
@@ -264,7 +264,7 @@ I810SetTiledMemory(ScrnInfoPtr pScrn, int nr, unsigned int start,
CARD32 fence_mask = 0;
if (nr < 0 || nr > 7) {
- xf86DrvMsg(X_WARNING, pScrn->scrnIndex, "%s - fence %d out of range\n",
+ xf86DrvMsg(pScrn->scrnIndex, X_WARNING, "%s - fence %d out of range\n",
"I810SetTiledMemory", nr);
return;
}
@@ -274,21 +274,21 @@ I810SetTiledMemory(ScrnInfoPtr pScrn, int nr, unsigned int start,
fence_mask = ~FENCE_START_MASK;
if (start & fence_mask) {
- xf86DrvMsg(X_WARNING, pScrn->scrnIndex,
+ xf86DrvMsg(pScrn->scrnIndex, X_WARNING,
"%s %d: start (%x) is not 512k aligned\n",
"I810SetTiledMemory", nr, start);
return;
}
if (start % size) {
- xf86DrvMsg(X_WARNING, pScrn->scrnIndex,
+ xf86DrvMsg(pScrn->scrnIndex, X_WARNING,
"%s %d: start (%x) is not size (%x) aligned\n",
"I810SetTiledMemory", nr, start, size);
return;
}
if (pitch & 127) {
- xf86DrvMsg(X_WARNING, pScrn->scrnIndex,
+ xf86DrvMsg(pScrn->scrnIndex, X_WARNING,
"%s %d: pitch (%x) not a multiple of 128 bytes\n",
"I810SetTiledMemory", nr, pitch);
return;
@@ -319,7 +319,7 @@ I810SetTiledMemory(ScrnInfoPtr pScrn, int nr, unsigned int start,
val |= FENCE_SIZE_32M;
break;
default:
- xf86DrvMsg(X_WARNING, pScrn->scrnIndex,
+ xf86DrvMsg(pScrn->scrnIndex, X_WARNING,
"%s %d: illegal size (0x%x)\n", "I810SetTiledMemory", nr,
size);
return;
@@ -345,7 +345,7 @@ I810SetTiledMemory(ScrnInfoPtr pScrn, int nr, unsigned int start,
val |= FENCE_PITCH_32;
break;
default:
- xf86DrvMsg(X_WARNING, pScrn->scrnIndex,
+ xf86DrvMsg(pScrn->scrnIndex, X_WARNING,
"%s %d: illegal size (0x%x)\n", "I810SetTiledMemory", nr,
size);
return;