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/gk20a/gk20a.h | |
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/gk20a/gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 4ddea431..9bb890ca 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * GK20A Graphics | 2 | * GK20A Graphics |
3 | * | 3 | * |
4 | * Copyright (c) 2011-2014, NVIDIA CORPORATION. All rights reserved. | 4 | * Copyright (c) 2011-2015, NVIDIA CORPORATION. All rights reserved. |
5 | * | 5 | * |
6 | * This program is free software; you can redistribute it and/or modify it | 6 | * This program is free software; you can redistribute it and/or modify it |
7 | * under the terms and conditions of the GNU General Public License, | 7 | * under the terms and conditions of the GNU General Public License, |
@@ -47,6 +47,7 @@ struct acr_gm20b; | |||
47 | #include "platform_gk20a.h" | 47 | #include "platform_gk20a.h" |
48 | #include "gm20b/acr_gm20b.h" | 48 | #include "gm20b/acr_gm20b.h" |
49 | #include "cde_gk20a.h" | 49 | #include "cde_gk20a.h" |
50 | #include "debug_gk20a.h" | ||
50 | 51 | ||
51 | struct cooling_device_gk20a { | 52 | struct cooling_device_gk20a { |
52 | struct thermal_cooling_device *gk20a_cooling_dev; | 53 | struct thermal_cooling_device *gk20a_cooling_dev; |
@@ -367,6 +368,10 @@ struct gpu_ops { | |||
367 | irqreturn_t (*isr_thread_nonstall)(struct gk20a *g); | 368 | irqreturn_t (*isr_thread_nonstall)(struct gk20a *g); |
368 | u32 intr_mask_restore[4]; | 369 | u32 intr_mask_restore[4]; |
369 | } mc; | 370 | } mc; |
371 | struct { | ||
372 | void (*show_dump)(struct gk20a *g, | ||
373 | struct gk20a_debug_output *o); | ||
374 | } debug; | ||
370 | }; | 375 | }; |
371 | 376 | ||
372 | struct gk20a { | 377 | struct gk20a { |