diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-10-27 18:48:05 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-10-29 21:35:37 -0400 |
commit | cfba56d20e27cdc591f8a89236dd1423b12754d3 (patch) | |
tree | 075b0afc063454f7de27985940720599c28b93a0 | |
parent | afd1649cfcae97e873663586d55f9a4cfd671808 (diff) |
gpu: nvpgu: Define GPUIDs without referring to UAPI
Define GPUIDs without referring to constants defined in
<linux/uapi/nvgpu.h>.
JIRA NVGPU-259
Change-Id: I719ed5dd7e03c98f556d7932df132d9a39f25a9d
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1587282
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
-rw-r--r-- | drivers/gpu/nvgpu/nvgpu_gpuid_t19x.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/gpu/nvgpu/nvgpu_gpuid_t19x.h b/drivers/gpu/nvgpu/nvgpu_gpuid_t19x.h index 58f4fad1..8689a535 100644 --- a/drivers/gpu/nvgpu/nvgpu_gpuid_t19x.h +++ b/drivers/gpu/nvgpu/nvgpu_gpuid_t19x.h | |||
@@ -24,11 +24,8 @@ | |||
24 | #ifndef _NVGPU_GPUID_T19X_H_ | 24 | #ifndef _NVGPU_GPUID_T19X_H_ |
25 | #define _NVGPU_GPUID_T19X_H_ | 25 | #define _NVGPU_GPUID_T19X_H_ |
26 | 26 | ||
27 | #define NVGPU_GPUID_GV11B \ | 27 | #define NVGPU_GPUID_GV11B 0x0000015B |
28 | GK20A_GPUID(NVGPU_GPU_ARCH_GV110, NVGPU_GPU_IMPL_GV11B) | 28 | #define NVGPU_GPUID_GV100 0x00000140 |
29 | #define NVGPU_GPUID_GV100 \ | ||
30 | GK20A_GPUID(NVGPU_GPU_ARCH_GV100, NVGPU_GPU_IMPL_GV100) | ||
31 | |||
32 | 29 | ||
33 | #define NVGPU_COMPAT_TEGRA_GV11B "nvidia,gv11b" | 30 | #define NVGPU_COMPAT_TEGRA_GV11B "nvidia,gv11b" |
34 | #define NVGPU_COMPAT_GENERIC_GV11B "nvidia,generic-gv11b" | 31 | #define NVGPU_COMPAT_GENERIC_GV11B "nvidia,generic-gv11b" |