1 /* SPDX-License-Identifier: GPL-2.0+ */
4 * NVIDIA Corporation <www.nvidia.com>
7 #ifndef __ASM_ARCH_TEGRA_GPU_H
8 #define __ASM_ARCH_TEGRA_GPU_H
10 #if defined(CONFIG_TEGRA_GPU)
12 void tegra_gpu_config(void);
14 #else /* CONFIG_TEGRA_GPU */
16 static inline void tegra_gpu_config(void)
20 #endif /* CONFIG_TEGRA_GPU */
22 #if defined(CONFIG_OF_LIBFDT)
24 int tegra_gpu_enable_node(void *blob, const char *gpupath);
26 #else /* CONFIG_OF_LIBFDT */
28 static inline int tegra_gpu_enable_node(void *blob, const char *compat)
33 #endif /* CONFIG_OF_LIBFDT */
35 #endif /* __ASM_ARCH_TEGRA_GPU_H */