summaryrefslogtreecommitdiff
path: root/nvif
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:26:59 +1000
commit4eec45eb1a292a02973f7ad1925b907526512984 (patch)
tree051e03e6446fcdad43dba5331d043b45a7937c45 /nvif
parent92e467afda2e85cabb831741e981b39aa24ded77 (diff)
downloadnouveau-4eec45eb1a292a02973f7ad1925b907526512984.tar.gz
gr/gf100-: 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 'nvif')
-rw-r--r--nvif/class.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/nvif/class.h b/nvif/class.h
index 73bf1269c..cc81e0e5f 100644
--- a/nvif/class.h
+++ b/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