diff options
Diffstat (limited to 'drivers/gpu/nvgpu/nvgpu_gpuid.h')
-rw-r--r-- | drivers/gpu/nvgpu/nvgpu_gpuid.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/drivers/gpu/nvgpu/nvgpu_gpuid.h b/drivers/gpu/nvgpu/nvgpu_gpuid.h deleted file mode 100644 index 391d286e..00000000 --- a/drivers/gpu/nvgpu/nvgpu_gpuid.h +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | /* | ||
2 | * NVIDIA GPU ID functions, definitions. | ||
3 | * | ||
4 | * Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved. | ||
5 | * | ||
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, | ||
8 | * version 2, as published by the Free Software Foundation. | ||
9 | * | ||
10 | * This program is distributed in the hope it will be useful, but WITHOUT | ||
11 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
12 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
13 | * more details. | ||
14 | */ | ||
15 | #ifndef _NVGPU_GPUID_H_ | ||
16 | #define _NVGPU_GPUID_H_ | ||
17 | |||
18 | #define NVGPU_GPU_ARCHITECTURE_SHIFT 4 | ||
19 | |||
20 | /* constructs unique and compact GPUID from nvgpu_gpu_characteristics | ||
21 | * arch/impl fields */ | ||
22 | #define NVGPU_GPUID(arch, impl) ((u32) ((arch) | (impl))) | ||
23 | |||
24 | #define NVGPU_GPUID_GK20A \ | ||
25 | NVGPU_GPUID(NVGPU_GPU_ARCH_GK100, NVGPU_GPU_IMPL_GK20A) | ||
26 | |||
27 | #define NVGPU_GPUID_GM20B \ | ||
28 | NVGPU_GPUID(NVGPU_GPU_ARCH_GM200, NVGPU_GPU_IMPL_GM20B) | ||
29 | |||
30 | #endif /* _NVGPU_GPU_ID_H_ */ | ||