mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 01:50:07 +03:00
gpu: nvgpu: t23x: add TEGRA_234 chip id
Add TEGRA_234 as supported tegra chip id and add nvgpu_next platform data to supported platforms. JIRA NVGPU-4383 Change-Id: I07eb88ca5a7f18516291066267ee41c002dc46bb Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2258722 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Seema Khowala <seemaj@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Vinod Gopalakrishnakurup <vinodg@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Alex Waterman
parent
d1e6b80a6f
commit
17bcea0023
@@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* GK20A Graphics
|
* GK20A Graphics
|
||||||
*
|
*
|
||||||
* Copyright (c) 2011-2019, NVIDIA CORPORATION. All rights reserved.
|
* Copyright (c) 2011-2020, NVIDIA CORPORATION. All rights reserved.
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
* This program is free software; you can redistribute it and/or modify it
|
||||||
* under the terms and conditions of the GNU General Public License,
|
* under the terms and conditions of the GNU General Public License,
|
||||||
@@ -81,6 +81,10 @@
|
|||||||
#include "cde.h"
|
#include "cde.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(CONFIG_NVGPU_NEXT) && defined(CONFIG_NVGPU_NON_FUSA)
|
||||||
|
#include "nvgpu_next_gpuid.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#define CLASS_NAME "nvidia-gpu"
|
#define CLASS_NAME "nvidia-gpu"
|
||||||
/* TODO: Change to e.g. "nvidia-gpu%s" once we have symlinks in place. */
|
/* TODO: Change to e.g. "nvidia-gpu%s" once we have symlinks in place. */
|
||||||
|
|
||||||
@@ -707,8 +711,11 @@ static struct of_device_id tegra_gk20a_of_match[] = {
|
|||||||
{ .compatible = "nvidia,tegra124-gk20a-vgpu",
|
{ .compatible = "nvidia,tegra124-gk20a-vgpu",
|
||||||
.data = &vgpu_tegra_platform },
|
.data = &vgpu_tegra_platform },
|
||||||
#endif
|
#endif
|
||||||
|
#if defined(CONFIG_NVGPU_NEXT) && defined(CONFIG_NVGPU_NON_FUSA)
|
||||||
|
{ .compatible = NVGPU_NEXT_COMPATIBLE,
|
||||||
|
.data = &NVGPU_NEXT_PLATFORM},
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
{ },
|
{ },
|
||||||
};
|
};
|
||||||
MODULE_DEVICE_TABLE(of, tegra_gk20a_of_match);
|
MODULE_DEVICE_TABLE(of, tegra_gk20a_of_match);
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* GK20A Platform (SoC) Interface
|
* GK20A Platform (SoC) Interface
|
||||||
*
|
*
|
||||||
* Copyright (c) 2014-2019, NVIDIA CORPORATION. All rights reserved.
|
* Copyright (c) 2014-2020, NVIDIA CORPORATION. All rights reserved.
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify it
|
* This program is free software; you can redistribute it and/or modify it
|
||||||
* under the terms and conditions of the GNU General Public License,
|
* under the terms and conditions of the GNU General Public License,
|
||||||
@@ -62,6 +62,7 @@ enum tegra_chip_id {
|
|||||||
TEGRA_194,
|
TEGRA_194,
|
||||||
TEGRA_194_VGPU,
|
TEGRA_194_VGPU,
|
||||||
TEGRA_124_VGPU,
|
TEGRA_124_VGPU,
|
||||||
|
TEGRA_234,
|
||||||
};
|
};
|
||||||
|
|
||||||
struct gk20a_platform {
|
struct gk20a_platform {
|
||||||
|
|||||||
Reference in New Issue
Block a user