From d608aa53ee338922cbd47ec144cd6efb36fd0295 Mon Sep 17 00:00:00 2001 From: Arto Merilainen Date: Thu, 3 Jul 2014 12:07:30 +0300 Subject: Revert "gpu: nvgpu: Dump offending push buffer fragment" Channel and gpfifo allocations are entirely separated from each other, however, the code here assumes that active channel means that the channel also has a gpfifo. This reverts commit a24602f094380539788696d1b1567a4f4d914b17 which added gpfifo dump. Changing debug dumping to be safe requires refactoring the channel release code to use proper locking. Bug 1530226 Change-Id: I2fb02542a17dd56a0a9ce732b327e34b85ade8b9 Signed-off-by: Arto Merilainen Reviewed-on: http://git-master/r/434038 Reviewed-by: Deepak Nibade Reviewed-by: Shridhar Rasal Reviewed-by: Bharat Nihalani --- drivers/gpu/nvgpu/gk20a/channel_gk20a.h | 2 -- 1 file changed, 2 deletions(-) (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 21949012..08bc06c2 100644 --- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h @@ -162,8 +162,6 @@ void gk20a_set_error_notifier(struct channel_gk20a *ch, __u32 error); void gk20a_channel_semaphore_wakeup(struct gk20a *g); int gk20a_channel_alloc_priv_cmdbuf(struct channel_gk20a *c, u32 size, struct priv_cmd_entry **entry); -int gk20a_find_from_priv_cmdbuf(struct channel_gk20a *c, - u64 addr, u32 **cpu_va); int gk20a_channel_suspend(struct gk20a *g); int gk20a_channel_resume(struct gk20a *g); -- cgit v1.2.2