drm/nv84: fix minor issues in PCRYPT implementation
authorBen Skeggs <bskeggs@redhat.com>
Mon, 15 Nov 2010 06:28:19 +0000 (16:28 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 3 Dec 2010 05:11:56 +0000 (15:11 +1000)
commit2cb3d3b6c64d37514fd8865748de66ff35a489af
treeeed04c2ceec953cc3f09712dcbfda6ce5ee44cbf
parent7b4808bb6ee63c9cc9c9be5a52f0c7babfc50659
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>
drivers/gpu/drm/nouveau/nouveau_state.c
drivers/gpu/drm/nouveau/nv84_crypt.c