summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/nvgpu_gpuid_t18x.h
blob: fe027fb0117b3d8b25ea611b9cdd4e10a59e9330 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
 * NVIDIA GPU ID functions, definitions.
 *
 * Copyright (c) 2014, 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_GPUID_T18X_H_
#define _NVGPU_GPUID_T18X_H_

#define NVGPU_GPUID_GP10B \
	GK20A_GPUID(NVGPU_GPU_ARCH_GP100, NVGPU_GPU_IMPL_GP10B)

#define NVGPU_COMPAT_TEGRA_GP10B "nvidia,tegra186-gp10b"
#define NVGPU_COMPAT_GENERIC_GP10B "nvidia,generic-gp10b"

#define TEGRA_18x_GPUID NVGPU_GPUID_GP10B
#define TEGRA_18x_GPUID_HAL gp10b_init_hal
#define TEGRA_18x_GPU_COMPAT_TEGRA NVGPU_COMPAT_TEGRA_GP10B
#define TEGRA_18x_GPU_COMPAT_GENERIC NVGPU_COMPAT_GENERIC_GP10B
struct gpu_ops;
extern int gp10b_init_hal(struct gpu_ops *);
#endif