summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Koƛcielnicki <koriakin@0x04.net>2010-03-17 00:58:47 +0000
committerBen Skeggs <bskeggs@redhat.com>2010-04-09 10:11:20 +1000
commit0dd8c3f093e3d0cab2cc967f9620b41a125f1f56 (patch)
tree75cc51ada00eb665eec8b5e6580c03b001451233
parent95beb690170e6ce918fe53c73a0fcc7cf64d704a (diff)
downloadlinux-3.10-0dd8c3f093e3d0cab2cc967f9620b41a125f1f56.tar.gz
linux-3.10-0dd8c3f093e3d0cab2cc967f9620b41a125f1f56.tar.bz2
linux-3.10-0dd8c3f093e3d0cab2cc967f9620b41a125f1f56.zip
drm/nv50: Fix NEWCTX_DONE flag number
Signed-off-by: Marcin Koƛcielnicki <koriakin@0x04.net> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
-rw-r--r--drivers/gpu/drm/nouveau/nv50_grctx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/nouveau/nv50_grctx.c b/drivers/gpu/drm/nouveau/nv50_grctx.c
index 546b31949a3..3c3cc4606a0 100644
--- a/drivers/gpu/drm/nouveau/nv50_grctx.c
+++ b/drivers/gpu/drm/nouveau/nv50_grctx.c
@@ -55,12 +55,12 @@
#define CP_FLAG_AUTO_LOAD ((2 * 32) + 5)
#define CP_FLAG_AUTO_LOAD_NOT_PENDING 0
#define CP_FLAG_AUTO_LOAD_PENDING 1
+#define CP_FLAG_NEWCTX ((2 * 32) + 10)
+#define CP_FLAG_NEWCTX_BUSY 0
+#define CP_FLAG_NEWCTX_DONE 1
#define CP_FLAG_XFER ((2 * 32) + 11)
#define CP_FLAG_XFER_IDLE 0
#define CP_FLAG_XFER_BUSY 1
-#define CP_FLAG_NEWCTX ((2 * 32) + 12)
-#define CP_FLAG_NEWCTX_BUSY 0
-#define CP_FLAG_NEWCTX_DONE 1
#define CP_FLAG_ALWAYS ((2 * 32) + 13)
#define CP_FLAG_ALWAYS_FALSE 0
#define CP_FLAG_ALWAYS_TRUE 1