summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_falcon_gv100.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_falcon_gv100.h')
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_falcon_gv100.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_falcon_gv100.h b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_falcon_gv100.h
index 122956bb..3492d68c 100644
--- a/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_falcon_gv100.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/hw/gv100/hw_falcon_gv100.h
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2017-2018, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * Permission is hereby granted, free of charge, to any person obtaining a 4 * Permission is hereby granted, free of charge, to any person obtaining a
5 * copy of this software and associated documentation files (the "Software"), 5 * copy of this software and associated documentation files (the "Software"),
@@ -356,6 +356,10 @@ static inline u32 falcon_falcon_imemc_aincw_f(u32 v)
356{ 356{
357 return (v & 0x1U) << 24U; 357 return (v & 0x1U) << 24U;
358} 358}
359static inline u32 falcon_falcon_imemc_secure_f(u32 v)
360{
361 return (v & 0x1U) << 28U;
362}
359static inline u32 falcon_falcon_imemd_r(u32 i) 363static inline u32 falcon_falcon_imemd_r(u32 i)
360{ 364{
361 return 0x00000184U + i*16U; 365 return 0x00000184U + i*16U;