gpu: nvgpu: Add wrapper nvgpu/circ_buf.h

Add wrapper header file nvgpu/circ_buf.h.
It #includes <linux/circ_buf.h> in Linux.

JIRA NVGPU-13

Change-Id: I58da6340a6f558cf5678ac6ce91f7fd7fd2dae7e
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/1466657
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
This commit is contained in:
Deepak Nibade
2017-04-20 16:08:47 +05:30
committed by mobile promotions
parent 3bd9d5764c
commit b88c9ad793
4 changed files with 22 additions and 3 deletions

View File

@@ -19,7 +19,6 @@
#include <linux/kthread.h>
#include <trace/events/gk20a.h>
#include <linux/dma-buf.h>
#include <linux/circ_buf.h>
#include <nvgpu/semaphore.h>
#include <nvgpu/timers.h>
@@ -29,6 +28,7 @@
#include <nvgpu/atomic.h>
#include <nvgpu/bug.h>
#include <nvgpu/list.h>
#include <nvgpu/circ_buf.h>
#include "gk20a.h"
#include "debug_gk20a.h"

View File

@@ -13,7 +13,6 @@
#include <asm/barrier.h>
#include <linux/kthread.h>
#include <linux/circ_buf.h>
#include <linux/wait.h>
#include <linux/ktime.h>
#include <linux/debugfs.h>

View File

@@ -13,13 +13,13 @@
#include <asm/barrier.h>
#include <linux/kthread.h>
#include <linux/circ_buf.h>
#include <linux/debugfs.h>
#include <nvgpu/kmem.h>
#include <nvgpu/dma.h>
#include <nvgpu/bug.h>
#include <nvgpu/hashtable.h>
#include <nvgpu/circ_buf.h>
#include "ctxsw_trace_gk20a.h"
#include "fecs_trace_gk20a.h"

View File

@@ -0,0 +1,20 @@
/*
* Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* This program is distributed in the hope it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*/
#ifndef __NVGPU_CIRC_BUF_H__
#define __NVGPU_CIRC_BUF_H__
#ifdef __KERNEL__
#include <linux/circ_buf.h>
#endif
#endif