From c8d17e9167dec4282c04bbb6581ea1de5fbf9ac2 Mon Sep 17 00:00:00 2001 From: Deepak Nibade Date: Tue, 5 Apr 2016 18:49:24 +0530 Subject: gpu: nvgpu: remove submit lock Remove submit lock since we have moved to use more fine-grained locks Remove API check_gp_put() since we cannot call it in submit path due to latencies and we cannot call it in gk20a_channel_clean_up_jobs() anymore since it will fail there without the lock Bug 200187553 Change-Id: I05b9fa95c9009000e13232d8fa567336eeee11c6 Signed-off-by: Deepak Nibade Reviewed-on: http://git-master/r/1120411 Reviewed-by: Terje Bergstrom Tested-by: Terje Bergstrom --- drivers/gpu/nvgpu/gk20a/channel_gk20a.h | 1 - 1 file changed, 1 deletion(-) (limited to 'drivers/gpu/nvgpu/gk20a/channel_gk20a.h') diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h index 74c920e4..fbf1ad9e 100644 --- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h @@ -120,7 +120,6 @@ struct channel_gk20a { struct list_head jobs; struct mutex jobs_lock; - struct mutex submit_lock; struct vm_gk20a *vm; -- cgit v1.2.2