mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
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>
This commit is contained in:
committed by
Dan Willemsen
parent
58233492fc
commit
7e9b9c0b3e
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* GK20A Debug functionality
|
||||
*
|
||||
* Copyright (C) 2011-2014 NVIDIA CORPORATION. All rights reserved.
|
||||
* Copyright (C) 2011-2015 NVIDIA CORPORATION. All rights reserved.
|
||||
*
|
||||
* This software is licensed under the terms of the GNU General Public
|
||||
* License version 2, as published by the Free Software Foundation, and
|
||||
@@ -18,10 +18,20 @@
|
||||
#define _DEBUG_GK20A_H_
|
||||
|
||||
struct platform_device;
|
||||
struct gk20a;
|
||||
struct gpu_ops;
|
||||
|
||||
extern unsigned int gk20a_debug_trace_cmdbuf;
|
||||
|
||||
struct gk20a_debug_output {
|
||||
void (*fn)(void *ctx, const char *str, size_t len);
|
||||
void *ctx;
|
||||
char buf[256];
|
||||
};
|
||||
|
||||
void gk20a_debug_dump(struct platform_device *pdev);
|
||||
void gk20a_debug_show_dump(struct gk20a *g, struct gk20a_debug_output *o);
|
||||
void gk20a_debug_init(struct platform_device *pdev);
|
||||
void gk20a_init_debug_ops(struct gpu_ops *gops);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user