diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2010-11-15 16:28:19 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2010-12-03 15:11:56 +1000 |
commit | 2cb3d3b6c64d37514fd8865748de66ff35a489af (patch) | |
tree | eed04c2ceec953cc3f09712dcbfda6ce5ee44cbf /drivers/gpu/drm/nouveau/nouveau_state.c | |
parent | 7b4808bb6ee63c9cc9c9be5a52f0c7babfc50659 (diff) | |
download | blackbird-op-linux-2cb3d3b6c64d37514fd8865748de66ff35a489af.tar.gz blackbird-op-linux-2cb3d3b6c64d37514fd8865748de66ff35a489af.zip |
drm/nv84: fix minor issues in PCRYPT implementation
Fix running of destroy_context() when create_context() has never been
called for the channel, and fill in engine's tlb_flush() function pointer.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_state.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_state.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_state.c b/drivers/gpu/drm/nouveau/nouveau_state.c index b42e29d1935e..75e70022fbd3 100644 --- a/drivers/gpu/drm/nouveau/nouveau_state.c +++ b/drivers/gpu/drm/nouveau/nouveau_state.c @@ -437,6 +437,7 @@ static int nouveau_init_engine_ptrs(struct drm_device *dev) engine->crypt.takedown = nv84_crypt_fini; engine->crypt.create_context = nv84_crypt_create_context; engine->crypt.destroy_context = nv84_crypt_destroy_context; + engine->crypt.tlb_flush = nv84_crypt_tlb_flush; break; default: engine->crypt.init = nouveau_stub_init; |