mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 02:22:34 +03:00
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:
committed by
mobile promotions
parent
3bd9d5764c
commit
b88c9ad793
@@ -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"
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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"
|
||||
|
||||
20
drivers/gpu/nvgpu/include/nvgpu/circ_buf.h
Normal file
20
drivers/gpu/nvgpu/include/nvgpu/circ_buf.h
Normal 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
|
||||
Reference in New Issue
Block a user