3 * NVIDIA Corporation <www.nvidia.com>
5 * SPDX-License-Identifier: GPL-2.0+
8 #ifndef __ASM_ARCH_TEGRA_GPU_H
9 #define __ASM_ARCH_TEGRA_GPU_H
11 #if defined(CONFIG_TEGRA_GPU)
13 void tegra_gpu_config(void);
15 #else /* CONFIG_TEGRA_GPU */
17 static inline void tegra_gpu_config(void)
21 #endif /* CONFIG_TEGRA_GPU */
23 #if defined(CONFIG_OF_LIBFDT)
25 int tegra_gpu_enable_node(void *blob, const char *gpupath);
27 #else /* CONFIG_OF_LIBFDT */
29 static inline int tegra_gpu_enable_node(void *blob, const char *compat)
34 #endif /* CONFIG_OF_LIBFDT */
36 #endif /* __ASM_ARCH_TEGRA_GPU_H */