diff options
author | Aingara Paramakuru <aparamakuru@nvidia.com> | 2014-12-11 11:06:24 -0500 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-04-04 18:06:07 -0400 |
commit | 7e9b9c0b3ea832d9f372663c81e526a70fb65f92 (patch) | |
tree | a9de2e533bc486baaf520c9d7351a89d8a23ccfd /drivers/gpu/nvgpu/vgpu/debug_vgpu.c | |
parent | 58233492fca7de69121722b6b2e89d500fcb6761 (diff) |
gpu: nvgpu: move debug dump to HAL
Move the debug dump to HAL and add a stub for vgpu.
Bug 1595164
Change-Id: Ifdcdd8a8caca7a41919dad075fee1c87032f53b0
Signed-off-by: Aingara Paramakuru <aparamakuru@nvidia.com>
Reviewed-on: http://git-master/r/662722
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/debug_vgpu.c')
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/debug_vgpu.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/debug_vgpu.c b/drivers/gpu/nvgpu/vgpu/debug_vgpu.c new file mode 100644 index 00000000..d48ab944 --- /dev/null +++ b/drivers/gpu/nvgpu/vgpu/debug_vgpu.c | |||
@@ -0,0 +1,25 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2015 NVIDIA Corporation. All rights reserved. | ||
3 | * | ||
4 | * This software is licensed under the terms of the GNU General Public | ||
5 | * License version 2, as published by the Free Software Foundation, and | ||
6 | * may be copied, distributed, and modified under those terms. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | */ | ||
14 | |||
15 | #include "vgpu/vgpu.h" | ||
16 | |||
17 | static void vgpu_debug_show_dump(struct gk20a *g, struct gk20a_debug_output *o) | ||
18 | { | ||
19 | /* debug dump not supported */ | ||
20 | } | ||
21 | |||
22 | void vgpu_init_debug_ops(struct gpu_ops *gops) | ||
23 | { | ||
24 | gops->debug.show_dump = vgpu_debug_show_dump; | ||
25 | } | ||