diff options
author | Dave Airlie <airlied@linux.ie> | 2006-04-05 07:12:00 +0000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2006-04-05 07:12:00 +0000 |
commit | 35e4756645891bfc85f25f1ab60c287eba9ef749 (patch) | |
tree | 1439ec1e9217bca3368397f4f7c704bfde0d7706 /src/i830_memory.c | |
parent | 6e5f9b026372eea295c390b18fc41f7018e0e797 (diff) |
Fix some argument inversions in xf86DrvMsg function calls
Diffstat (limited to 'src/i830_memory.c')
-rw-r--r-- | src/i830_memory.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/i830_memory.c b/src/i830_memory.c index 68626227..433aa47d 100644 --- a/src/i830_memory.c +++ b/src/i830_memory.c @@ -1511,7 +1511,7 @@ SetFence(ScrnInfoPtr pScrn, int nr, unsigned int start, unsigned int pitch, nr, start, pitch, size / 1024); if (nr < 0 || nr > 7) { - xf86DrvMsg(X_WARNING, pScrn->scrnIndex, + xf86DrvMsg(pScrn->scrnIndex, X_WARNING, "SetFence: fence %d out of range\n",nr); return; } @@ -1524,21 +1524,21 @@ SetFence(ScrnInfoPtr pScrn, int nr, unsigned int start, unsigned int pitch, fence_mask = ~I830_FENCE_START_MASK; if (start & fence_mask) { - xf86DrvMsg(X_WARNING, pScrn->scrnIndex, + xf86DrvMsg(pScrn->scrnIndex, X_WARNING, "SetFence: %d: start (0x%08x) is not %s aligned\n", nr, start, (IS_I9XX(pI830)) ? "1MB" : "512k"); return; } if (start % size) { - xf86DrvMsg(X_WARNING, pScrn->scrnIndex, + xf86DrvMsg(pScrn->scrnIndex, X_WARNING, "SetFence: %d: start (0x%08x) is not size (%dk) aligned\n", nr, start, size / 1024); return; } if (pitch & 127) { - xf86DrvMsg(X_WARNING, pScrn->scrnIndex, + xf86DrvMsg(pScrn->scrnIndex, X_WARNING, "SetFence: %d: pitch (%d) not a multiple of 128 bytes\n", nr, pitch); return; @@ -1570,7 +1570,7 @@ SetFence(ScrnInfoPtr pScrn, int nr, unsigned int start, unsigned int pitch, val |= I915G_FENCE_SIZE_64M; break; default: - xf86DrvMsg(X_WARNING, pScrn->scrnIndex, + xf86DrvMsg(pScrn->scrnIndex, X_WARNING, "SetFence: %d: illegal size (%d kByte)\n", nr, size / 1024); return; } @@ -1601,7 +1601,7 @@ SetFence(ScrnInfoPtr pScrn, int nr, unsigned int start, unsigned int pitch, val |= FENCE_SIZE_64M; break; default: - xf86DrvMsg(X_WARNING, pScrn->scrnIndex, + xf86DrvMsg(pScrn->scrnIndex, X_WARNING, "SetFence: %d: illegal size (%d kByte)\n", nr, size / 1024); return; } @@ -1635,7 +1635,7 @@ SetFence(ScrnInfoPtr pScrn, int nr, unsigned int start, unsigned int pitch, val |= FENCE_PITCH_64; break; default: - xf86DrvMsg(X_WARNING, pScrn->scrnIndex, + xf86DrvMsg(pScrn->scrnIndex, X_WARNING, "SetFence: %d: illegal pitch (%d)\n", nr, pitch); return; } |