From b6b7da610853b0efc0890027aaf0eb29eb7c7545 Mon Sep 17 00:00:00 2001 From: Mahantesh Kumbar Date: Mon, 30 May 2016 21:47:04 +0530 Subject: gpu: nvgpu: PMU support for gm204/gm206 Adding PMU modules to boot & comunicate with PMU F/W JIRA DNVGPU-11 Change-Id: I5afc9209f70fc13376268f9c94daef6b75527c71 Signed-off-by: Mahantesh Kumbar Reviewed-on: http://git-master/r/1156028 GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom Tested-by: Terje Bergstrom --- drivers/gpu/nvgpu/gm206/pmu_gm206.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 drivers/gpu/nvgpu/gm206/pmu_gm206.h (limited to 'drivers/gpu/nvgpu/gm206/pmu_gm206.h') diff --git a/drivers/gpu/nvgpu/gm206/pmu_gm206.h b/drivers/gpu/nvgpu/gm206/pmu_gm206.h new file mode 100644 index 00000000..418f30ac --- /dev/null +++ b/drivers/gpu/nvgpu/gm206/pmu_gm206.h @@ -0,0 +1,22 @@ +/* + * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify it + * under the terms and conditions of the GNU General Public License, + * version 2, as published by the Free Software Foundation. + * + * This program is distributed in the hope 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. + */ + +#ifndef __PMU_GM206_H_ +#define __PMU_GM206_H_ + +void gm206_init_pmu_ops(struct gpu_ops *gops); +bool gm206_is_priv_load(u32 falcon_id); +bool gm206_is_lazy_bootstrap(u32 falcon_id); +int gm206_load_falcon_ucode(struct gk20a *g, u32 falconidmask); + +#endif /*__PMU_GM206_H_*/ -- cgit v1.2.2