From 7e9b9c0b3ea832d9f372663c81e526a70fb65f92 Mon Sep 17 00:00:00 2001 From: Aingara Paramakuru Date: Thu, 11 Dec 2014 11:06:24 -0500 Subject: 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 Reviewed-on: http://git-master/r/662722 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Terje Bergstrom --- drivers/gpu/nvgpu/vgpu/debug_vgpu.c | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 drivers/gpu/nvgpu/vgpu/debug_vgpu.c (limited to 'drivers/gpu/nvgpu/vgpu/debug_vgpu.c') 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 @@ +/* + * Copyright (C) 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 + * may be copied, distributed, and modified under those terms. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + */ + +#include "vgpu/vgpu.h" + +static void vgpu_debug_show_dump(struct gk20a *g, struct gk20a_debug_output *o) +{ + /* debug dump not supported */ +} + +void vgpu_init_debug_ops(struct gpu_ops *gops) +{ + gops->debug.show_dump = vgpu_debug_show_dump; +} -- cgit v1.2.2