From 478e659ae466d870889bda8ccba008c6bd27399e Mon Sep 17 00:00:00 2001 From: Deepak Nibade Date: Mon, 4 Aug 2014 14:59:41 +0530 Subject: gpu: nvgpu: do not touch runlist during recovery Currently we clear the runlist and re-create it in scheduled work during fifo recovery process But we can post-pone this runlist re-generation for later time i.e. when channel is closed Hence, remove runlist locks and re-generation from handle_mmu_fault() methods. Instead of that, disable gr fifo access at start of recovery and re-enable it at end of recovery process. Also, delete scheduled work to re-create runlist. Re-enable EPLG and fifo access in finish_mmu_fault_handling() itself. bug 1470692 Change-Id: I705a6a5236734c7207a01d9a9fa9eca22bdbe7eb Signed-off-by: Deepak Nibade Reviewed-on: http://git-master/r/449225 Reviewed-by: Terje Bergstrom Tested-by: Terje Bergstrom --- drivers/gpu/nvgpu/gk20a/fifo_gk20a.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'drivers/gpu/nvgpu/gk20a/fifo_gk20a.h') diff --git a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h index e738b152..bed8a361 100644 --- a/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/fifo_gk20a.h @@ -138,8 +138,6 @@ struct fifo_gk20a { u32 mmu_fault_engines; bool deferred_reset_pending; struct mutex deferred_reset_mutex; - - struct work_struct fault_restore_thread; }; int gk20a_init_fifo_support(struct gk20a *g); -- cgit v1.2.2