diff options
Diffstat (limited to 'drivers/gpu/nvgpu/nvgpu_gpuid_t18x.h')
-rw-r--r-- | drivers/gpu/nvgpu/nvgpu_gpuid_t18x.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/nvgpu_gpuid_t18x.h b/drivers/gpu/nvgpu/nvgpu_gpuid_t18x.h index 59ecefee..96f02125 100644 --- a/drivers/gpu/nvgpu/nvgpu_gpuid_t18x.h +++ b/drivers/gpu/nvgpu/nvgpu_gpuid_t18x.h | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * NVIDIA GPU ID functions, definitions. | 2 | * NVIDIA GPU ID functions, definitions. |
3 | * | 3 | * |
4 | * Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved. | 4 | * Copyright (c) 2014-2015, NVIDIA CORPORATION. All rights reserved. |
5 | * | 5 | * |
6 | * This program is free software; you can redistribute it and/or modify it | 6 | * This program is free software; you can redistribute it and/or modify it |
7 | * under the terms and conditions of the GNU General Public License, | 7 | * under the terms and conditions of the GNU General Public License, |
@@ -28,4 +28,9 @@ | |||
28 | struct gpu_ops; | 28 | struct gpu_ops; |
29 | extern int gp10b_init_hal(struct gk20a *); | 29 | extern int gp10b_init_hal(struct gk20a *); |
30 | extern struct gk20a_platform t18x_gpu_tegra_platform; | 30 | extern struct gk20a_platform t18x_gpu_tegra_platform; |
31 | |||
32 | #ifdef CONFIG_TEGRA_GR_VIRTUALIZATION | ||
33 | #define TEGRA_18x_GPUID_VGPU_HAL vgpu_gp10b_init_hal | ||
34 | extern int vgpu_gp10b_init_hal(struct gk20a *); | ||
35 | #endif | ||
31 | #endif | 36 | #endif |