From 76b78b6fdcb0bbed72645aaa85de6013e2b135c3 Mon Sep 17 00:00:00 2001 From: Alex Waterman Date: Tue, 7 Feb 2017 16:29:51 -0800 Subject: gpu: nvgpu: Remove nvgpu_gpuid_t18x.h Remove nvgpu_gpuid_t18x.h since this file is now visible. Migrate the relevant definitions and defines into their expected places and make the code use the real defines. No longer is hiding t18x specific stuff necessary. Bug 1799159 Change-Id: I47fa2392e46fdb7aacc70aeb0cc8c3f5ca0dc22f Signed-off-by: Alex Waterman Reviewed-on: http://git-master/r/1300976 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/nvgpu_gpuid_t18x.h | 45 ------------------------------------ 1 file changed, 45 deletions(-) delete mode 100644 drivers/gpu/nvgpu/nvgpu_gpuid_t18x.h (limited to 'drivers/gpu/nvgpu/nvgpu_gpuid_t18x.h') diff --git a/drivers/gpu/nvgpu/nvgpu_gpuid_t18x.h b/drivers/gpu/nvgpu/nvgpu_gpuid_t18x.h deleted file mode 100644 index 84da4b96..00000000 --- a/drivers/gpu/nvgpu/nvgpu_gpuid_t18x.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * NVIDIA GPU ID functions, definitions. - * - * Copyright (c) 2014-2016, 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_GPUID_GP104 \ - GK20A_GPUID(NVGPU_GPU_ARCH_GP100, NVGPU_GPU_IMPL_GP104) -#define NVGPU_GPUID_GP106 \ - GK20A_GPUID(NVGPU_GPU_ARCH_GP100, NVGPU_GPU_IMPL_GP106) - -#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 -#define TEGRA_18x_GPUID2 NVGPU_GPUID_GP104 -#define TEGRA_18x_GPUID2_HAL gp106_init_hal -#define TEGRA_18x_GPUID3 NVGPU_GPUID_GP106 -#define TEGRA_18x_GPUID3_HAL gp106_init_hal -struct gpu_ops; -extern int gp10b_init_hal(struct gk20a *); -extern int gp106_init_hal(struct gk20a *); -extern struct gk20a_platform t18x_gpu_tegra_platform; - -#ifdef CONFIG_TEGRA_GR_VIRTUALIZATION -#define TEGRA_18x_GPUID_VGPU_HAL vgpu_gp10b_init_hal -extern int vgpu_gp10b_init_hal(struct gk20a *); -#endif -#endif -- cgit v1.2.2