summaryrefslogblamecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/platform_gk20a_tegra.h
blob: 1aa7c1e3f7ee4be421866f7400e86c61d51726d3 (plain) (tree)
1
2
3
4
  

                                 
                                                                     










                                                                            

                                      
 

              
 
                                                    
                                                      

      
/*
 * GK20A Platform (SoC) Interface
 *
 * Copyright (c) 2014-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_PLATFORM_GK20A_TEGRA_H_
#define _NVGPU_PLATFORM_GK20A_TEGRA_H_

struct device;
struct gk20a;

void gk20a_tegra_init_secure_alloc(struct gk20a *g);
int gk20a_tegra_secure_page_alloc(struct device *dev);

#endif