aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nvif/class.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2014-08-10 04:10:30 +1000
committerBen Skeggs <bskeggs@redhat.com>2014-08-10 05:28:17 +1000
commitd6bd380373cd72ee5431627c3a2d083d38511576 (patch)
tree20bb4119ecc0b257b66073d64d34c021ada13072 /drivers/gpu/drm/nouveau/nvif/class.h
parentdrm/gf100-/gr: remove some broken ltc bashing, for now (diff)
downloadlinux-dev-d6bd380373cd72ee5431627c3a2d083d38511576.tar.xz
linux-dev-d6bd380373cd72ee5431627c3a2d083d38511576.zip
drm/gf100-/gr: implement the proper SetShaderExceptions method
We have another version of it implemented in SW, however, that version isn't serialised with normal PGRAPH operation and can possibly clobber the enables for another context. This is the same method that's implemented by the NVIDIA binary driver. Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to '')
-rw-r--r--drivers/gpu/drm/nouveau/nvif/class.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nvif/class.h b/drivers/gpu/drm/nouveau/nvif/class.h
index 73bf1269c72e..cc81e0e5fd30 100644
--- a/drivers/gpu/drm/nouveau/nvif/class.h
+++ b/drivers/gpu/drm/nouveau/nvif/class.h
@@ -83,6 +83,14 @@
#define MAXWELL_A 0x0000b097
+#define FERMI_COMPUTE_A 0x000090c0
+#define FERMI_COMPUTE_B 0x000091c0
+
+#define KEPLER_COMPUTE_A 0x0000a0c0
+#define KEPLER_COMPUTE_B 0x0000a1c0
+
+#define MAXWELL_COMPUTE_A 0x0000b0c0
+
/*******************************************************************************
* client