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/core/engine/graph/gk20a.c | |
parent | drm/gf100-/gr: remove some broken ltc bashing, for now (diff) | |
download | linux-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 'drivers/gpu/drm/nouveau/core/engine/graph/gk20a.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/core/engine/graph/gk20a.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/core/engine/graph/gk20a.c b/drivers/gpu/drm/nouveau/core/engine/graph/gk20a.c index 2420251ebc67..7d0abe9f3fe7 100644 --- a/drivers/gpu/drm/nouveau/core/engine/graph/gk20a.c +++ b/drivers/gpu/drm/nouveau/core/engine/graph/gk20a.c @@ -27,8 +27,8 @@ static struct nouveau_oclass gk20a_graph_sclass[] = { { 0x902d, &nouveau_object_ofuncs }, { 0xa040, &nouveau_object_ofuncs }, - { KEPLER_C, &nvc0_fermi_ofuncs }, - { 0xa0c0, &nouveau_object_ofuncs }, + { KEPLER_C, &nvc0_fermi_ofuncs, nvc0_graph_9097_omthds }, + { KEPLER_COMPUTE_A, &nouveau_object_ofuncs, nvc0_graph_90c0_omthds }, {} }; |