mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 01:50:07 +03:00
Initial cleanup process of gk20a.h Remove unused structs. Add more structs to avoid including gr_gk20a.h. This need more structs to be moved from gr_gk20a.h Remove including pramin.h/acr.h/falcon.h and sim.h Removed unused struct and netlist.h include from gr_gk20a.h JIRA NVGPU-3132 JIRA NVGPU-3079 Change-Id: I1e965dd572e8e45bb20fca73ea566a6411aeebc1 Signed-off-by: Vinod G <vinodg@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2094732 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-misra <svc-mobile-misra@nvidia.com> Reviewed-by: svc-misra-checker <svc-misra-checker@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
39 lines
1.5 KiB
C
39 lines
1.5 KiB
C
/*
|
|
* Copyright (c) 2011-2018, 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_COMMON_LINUX_MODULE_H__
|
|
#define __NVGPU_COMMON_LINUX_MODULE_H__
|
|
|
|
struct gk20a;
|
|
struct device;
|
|
struct platform_device;
|
|
struct nvgpu_os_linux;
|
|
|
|
int gk20a_pm_finalize_poweron(struct device *dev);
|
|
int nvgpu_finalize_poweron_linux(struct nvgpu_os_linux *l);
|
|
void gk20a_remove_support(struct gk20a *g);
|
|
void gk20a_driver_start_unload(struct gk20a *g);
|
|
int nvgpu_quiesce(struct gk20a *g);
|
|
int nvgpu_remove(struct device *dev, struct class *class);
|
|
int nvgpu_start_gpu_idle(struct gk20a *g);
|
|
int nvgpu_wait_for_gpu_idle(struct gk20a *g);
|
|
void nvgpu_free_irq(struct gk20a *g);
|
|
struct device_node *nvgpu_get_node(struct gk20a *g);
|
|
void __iomem *nvgpu_devm_ioremap_resource(struct platform_device *dev, int i,
|
|
struct resource **out);
|
|
void __iomem *nvgpu_devm_ioremap(struct device *dev, resource_size_t offset,
|
|
resource_size_t size);
|
|
u64 nvgpu_resource_addr(struct platform_device *dev, int i);
|
|
extern struct class nvgpu_class;
|
|
void gk20a_init_linux_characteristics(struct gk20a *g);
|
|
#endif
|