summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp106/hw_pbdma_gp106.h
diff options
context:
space:
mode:
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;