summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/core/engine/graph/fuc/macros.fuc
diff options
context:
space:
mode:
authorMaarten Lankhorst <maarten.lankhorst@canonical.com>2013-07-04 00:04:30 (GMT)
committerBen Skeggs <bskeggs@redhat.com>2013-07-05 03:43:16 (GMT)
commit26410c679865bcfcbe18422ca1eb472cf12ea82d (patch)
treeb0224f02717df819d31f10d41f13666617fa3d43 /drivers/gpu/drm/nouveau/core/engine/graph/fuc/macros.fuc
parenta32b2ffb82b5a386a13fde40dc131f853636dcf5 (diff)
downloadlinux-fsl-qoriq-26410c679865bcfcbe18422ca1eb472cf12ea82d.tar.xz
drm/nvd7/gr: initial support
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/core/engine/graph/fuc/macros.fuc')
-rw-r--r--drivers/gpu/drm/nouveau/core/engine/graph/fuc/macros.fuc4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/core/engine/graph/fuc/macros.fuc b/drivers/gpu/drm/nouveau/core/engine/graph/fuc/macros.fuc
index 43a0b947..f73cf3e 100644
--- a/drivers/gpu/drm/nouveau/core/engine/graph/fuc/macros.fuc
+++ b/drivers/gpu/drm/nouveau/core/engine/graph/fuc/macros.fuc
@@ -24,6 +24,10 @@
#include "os.h"
+#define GF100 0xc0
+#define GF117 0xd7
+#define GK100 0xe0
+
#define mmctx_data(r,c) .b32 (((c - 1) << 26) | r)
#define queue_init .skip 72 // (2 * 4) + ((8 * 4) * 2)