summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_ctxsw_prog_gp10b.h
diff options
context:
space:
mode:
authorPeter Boonstoppel <pboonstoppel@nvidia.com>2017-02-08 17:44:55 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2017-02-14 17:54:41 -0500
commit4fb3161ba3bb1c8481b1ca426a44aa4ee3ad744e (patch)
treec194f52cf2874a66a384ac8d407e0f25efdd4ab8 /drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_ctxsw_prog_gp10b.h
parent28b0d6cfa80086d7c437bbddc77777d1dafa260c (diff)
gpu: nvgpu: Pull latest gp10b headers
HWCL 38000754 Bug 1819874 Change-Id: Ic28bd2abee4caac83c2d21b035a64558d72aa0fa Signed-off-by: Peter Boonstoppel <pboonstoppel@nvidia.com> Reviewed-on: http://git-master/r/1301674 Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_ctxsw_prog_gp10b.h')
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_ctxsw_prog_gp10b.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_ctxsw_prog_gp10b.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_ctxsw_prog_gp10b.h
index eef9a96f..9048f230 100644
--- a/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_ctxsw_prog_gp10b.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gp10b/hw_ctxsw_prog_gp10b.h
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2014-2016, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2014-2017, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * This program is free software; you can redistribute it and/or modify it 4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms and conditions of the GNU General Public License, 5 * under the terms and conditions of the GNU General Public License,
@@ -258,6 +258,14 @@ static inline u32 ctxsw_prog_main_image_misc_options_verif_features_disabled_f(v
258{ 258{
259 return 0x0; 259 return 0x0;
260} 260}
261static inline u32 ctxsw_prog_main_image_pmu_options_o(void)
262{
263 return 0x00000070;
264}
265static inline u32 ctxsw_prog_main_image_pmu_options_boost_clock_frequencies_f(u32 v)
266{
267 return (v & 0x1) << 0;
268}
261static inline u32 ctxsw_prog_main_image_graphics_preemption_options_o(void) 269static inline u32 ctxsw_prog_main_image_graphics_preemption_options_o(void)
262{ 270{
263 return 0x00000080; 271 return 0x00000080;