aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nvif/class.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2014-08-09 14:10:30 -0400
committerBen Skeggs <bskeggs@redhat.com>2014-08-09 15:28:17 -0400
commitd6bd380373cd72ee5431627c3a2d083d38511576 (patch)
tree20bb4119ecc0b257b66073d64d34c021ada13072 /drivers/gpu/drm/nouveau/nvif/class.h
parente887377338ff1f04b4c56249f3947a642e4029bf (diff)
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 'drivers/gpu/drm/nouveau/nvif/class.h')
-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 @@
83 83
84#define MAXWELL_A 0x0000b097 84#define MAXWELL_A 0x0000b097
85 85
86#define FERMI_COMPUTE_A 0x000090c0
87#define FERMI_COMPUTE_B 0x000091c0
88
89#define KEPLER_COMPUTE_A 0x0000a0c0
90#define KEPLER_COMPUTE_B 0x0000a1c0
91
92#define MAXWELL_COMPUTE_A 0x0000b0c0
93
86 94
87/******************************************************************************* 95/*******************************************************************************
88 * client 96 * client