diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2014-08-10 04:10:30 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2014-08-10 05:28:17 +1000 |
commit | d6bd380373cd72ee5431627c3a2d083d38511576 (patch) | |
tree | 20bb4119ecc0b257b66073d64d34c021ada13072 /drivers/gpu/drm/nouveau/nvif | |
parent | e887377338ff1f04b4c56249f3947a642e4029bf (diff) | |
download | linux-next-d6bd380373cd72ee5431627c3a2d083d38511576.tar.gz |
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')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvif/class.h | 8 |
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 |