mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-25 02:52:51 +03:00
Fixed following sparse warnings: drivers/gpu/nvgpu/gv11b/gv11b.c:21:5: warning: symbol 'gv11b_init_gpu_characteristics' was not declared. Should it be static? drivers/gpu/nvgpu/gv11b/hal_gv11b.c:36:5: warning: symbol 'gv11b_init_hal' was not declared. Should it be static? drivers/gpu/nvgpu/gv11b/gr_gv11b.c:766:5: warning: symbol 'gr_gv11b_alloc_buffer' was not declared. Should it be static? Bug 200088648 Change-Id: I327f9d69bf1853727d74d2c125cfab54c2f0e5b0 Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-on: http://git-master/r/1128299 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Ken Adams <kadams@nvidia.com>
34 lines
923 B
C
34 lines
923 B
C
/*
|
|
* GV11B GPU GR
|
|
*
|
|
* Copyright (c) 2016, 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_GR_GV11B_H_
|
|
#define _NVGPU_GR_GV11B_H_
|
|
|
|
struct gpu_ops;
|
|
|
|
enum {
|
|
VOLTA_CHANNEL_GPFIFO_A = 0xC36F,
|
|
VOLTA_A = 0xC397,
|
|
VOLTA_COMPUTE_A = 0xC3C0,
|
|
VOLTA_DMA_COPY_A = 0xC3B5,
|
|
};
|
|
|
|
void gv11b_init_gr(struct gpu_ops *ops);
|
|
int gr_gv11b_alloc_buffer(struct vm_gk20a *vm, size_t size,
|
|
struct mem_desc *mem);
|
|
|
|
|
|
#endif
|