diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-03-23 11:43:53 -0400 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-05-23 17:15:25 -0400 |
commit | fb64e1f1b9c2162f521dfe3956655accb911d6a7 (patch) | |
tree | 15236c00323c8d24102f5a1221f1b313d62bfac2 /drivers/gpu/nvgpu/gk20a/gk20a.c | |
parent | c25e1da93e09a421b8c2b91df720d4bc603db378 (diff) |
gpu: nvgpu: Add support for gm204 and gm206
Add support for chips gm204 and gm206. Adds also support for reading
VBIOS and booting devinit and pre-os images on PMU.
Change-Id: I4824b44245611e5379ace62793cc37158048f432
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: http://git-master/r/1120467
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ken Adams <kadams@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c index 3ae30e88..3ab26fb9 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gk20a.c | |||
@@ -792,6 +792,11 @@ int gk20a_pm_finalize_poweron(struct device *dev) | |||
792 | if (err) | 792 | if (err) |
793 | goto done; | 793 | goto done; |
794 | 794 | ||
795 | if (g->ops.bios.init) | ||
796 | err = g->ops.bios.init(g); | ||
797 | if (err) | ||
798 | goto done; | ||
799 | |||
795 | if (!tegra_platform_is_silicon()) | 800 | if (!tegra_platform_is_silicon()) |
796 | gk20a_writel(g, bus_intr_en_0_r(), 0x0); | 801 | gk20a_writel(g, bus_intr_en_0_r(), 0x0); |
797 | else | 802 | else |