summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/gk20a.h
diff options
context:
space:
mode:
authorDavid Nieto <dmartineznie@nvidia.com>2016-10-07 19:25:40 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2016-12-09 23:24:06 -0500
commit71ecc8f660503eed4a094b1b1531e8e92a6de0bb (patch)
treeb3068e70928273a41248587b0c052a15495056b5 /drivers/gpu/nvgpu/gk20a/gk20a.h
parent8cfcf181f1e9b03324e4bb04450de154fdf9834d (diff)
nvgpu: gpu: arbiter for vf switch management
JIRA DNVGPU-143 (1) Added conversion routines in ctrl_gk20a.c to do conversions between Hz and MHZ (2) Use new api to prevent corruption of requests is multiple threads on same session commit simultaneously Change-Id: I87875e593d2cc90647d5c4f60a4e293ed3ea6b83 Signed-off-by: David Nieto <dmartineznie@nvidia.com> Reviewed-on: http://git-master/r/1239460 Reviewed-by: Thomas Fleury <tfleury@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/1267152 Reviewed-by: Automatic_Commit_Validation_User
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/gk20a.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h
index 3d55304b..564026a4 100644
--- a/drivers/gpu/nvgpu/gk20a/gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/gk20a.h
@@ -636,9 +636,9 @@ struct gpu_ops {
636 struct { 636 struct {
637 u32 (*get_arbiter_clk_domains)(struct gk20a *g); 637 u32 (*get_arbiter_clk_domains)(struct gk20a *g);
638 int (*get_arbiter_clk_range)(struct gk20a *g, u32 api_domain, 638 int (*get_arbiter_clk_range)(struct gk20a *g, u32 api_domain,
639 u64 *min_hz, u64 *max_hz); 639 u16 *min_mhz, u16 *max_mhz);
640 int (*get_arbiter_clk_default)(struct gk20a *g, u32 api_domain, 640 int (*get_arbiter_clk_default)(struct gk20a *g, u32 api_domain,
641 u64 *default_hz); 641 u16 *default_mhz);
642 } clk_arb; 642 } clk_arb;
643 bool privsecurity; 643 bool privsecurity;
644 bool securegpccs; 644 bool securegpccs;