summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp106/fb_gp106.c
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2016-08-26 13:18:16 -0400
committerDeepak Nibade <dnibade@nvidia.com>2016-12-27 04:56:49 -0500
commit3bccca16b88a9629ef4ae72c0b9314761ab033ca (patch)
treeabeada88898210306cec00a39ff091b22e1cc31e /drivers/gpu/nvgpu/gp106/fb_gp106.c
parentd2b67f1ad606733a63d8261e36068e5bd1f96cdc (diff)
gpu: nvgpu: gp106: Skip resetting FB
FB is enabled in devinit. Skip resetting it in GPU boot. Bug 1799537 Change-Id: I0748127f0962e7d6d2bf0ecece6773fdf9c35bc8 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/1208715 (cherry picked from commit ceafac52f5711bd987b746686f11b22807f74698) Reviewed-on: http://git-master/r/1227265 GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'drivers/gpu/nvgpu/gp106/fb_gp106.c')
-rw-r--r--drivers/gpu/nvgpu/gp106/fb_gp106.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp106/fb_gp106.c b/drivers/gpu/nvgpu/gp106/fb_gp106.c
new file mode 100644
index 00000000..1c5b3e0a
--- /dev/null
+++ b/drivers/gpu/nvgpu/gp106/fb_gp106.c
@@ -0,0 +1,25 @@
1/*
2 * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License,
6 * version 2, as published by the Free Software Foundation.
7 *
8 * This program is distributed in the hope it will be useful, but WITHOUT
9 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11 * more details.
12 */
13
14#include <linux/types.h>
15
16#include "gk20a/gk20a.h"
17#include "gp10b/fb_gp10b.h"
18
19void gp106_init_fb(struct gpu_ops *gops)
20{
21 gp10b_init_fb(gops);
22
23 gops->fb.init_fs_state = NULL;
24 gops->fb.reset = NULL;
25}