summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp106/hw_pbdma_gp106.h
diff options
context:
space:
mode:
authorLakshmanan M <lm@nvidia.com>2016-06-22 06:37:46 -0400
committerDeepak Nibade <dnibade@nvidia.com>2016-12-27 04:56:17 -0500
commit528758f488a8f39c1306d8c17be4799273a94a5d (patch)
tree2d9f74b31ebafa53ada34720feb50ad9e09b78f4 /drivers/gpu/nvgpu/gp106/hw_pbdma_gp106.h
parentd4eb7f691ef14263377c0f33777b104e2b1a0c53 (diff)
gpu: nvgpu: Add interface for privileged channel allocation
Added interface for privileged channel allocation to execute the privileged method (ex. CE phys mode transfer). JIRA DNVGPU-53 Change-Id: I1606f8c9d10f29d5a10738b5110ce9f6a2bb428d Signed-off-by: Lakshmanan M <lm@nvidia.com> Reviewed-on: http://git-master/r/1169320 GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp106/hw_pbdma_gp106.h')
-rw-r--r--drivers/gpu/nvgpu/gp106/hw_pbdma_gp106.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp106/hw_pbdma_gp106.h b/drivers/gpu/nvgpu/gp106/hw_pbdma_gp106.h
index a5406672..1e299bae 100644
--- a/drivers/gpu/nvgpu/gp106/hw_pbdma_gp106.h
+++ b/drivers/gpu/nvgpu/gp106/hw_pbdma_gp106.h
@@ -322,6 +322,14 @@ static inline u32 pbdma_userd_hi_addr_f(u32 v)
322{ 322{
323 return (v & 0xff) << 0; 323 return (v & 0xff) << 0;
324} 324}
325static inline u32 pbdma_config_r(u32 i)
326{
327 return 0x000400f4 + i*8192;
328}
329static inline u32 pbdma_config_auth_level_privileged_f(void)
330{
331 return 0x100;
332}
325static inline u32 pbdma_hce_ctrl_r(u32 i) 333static inline u32 pbdma_hce_ctrl_r(u32 i)
326{ 334{
327 return 0x000400e4 + i*8192; 335 return 0x000400e4 + i*8192;