diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gp106')
-rw-r--r-- | drivers/gpu/nvgpu/gp106/hw_pbdma_gp106.h | 8 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/gp106/hw_ram_gp106.h | 4 |
2 files changed, 12 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 | } |
325 | static inline u32 pbdma_config_r(u32 i) | ||
326 | { | ||
327 | return 0x000400f4 + i*8192; | ||
328 | } | ||
329 | static inline u32 pbdma_config_auth_level_privileged_f(void) | ||
330 | { | ||
331 | return 0x100; | ||
332 | } | ||
325 | static inline u32 pbdma_hce_ctrl_r(u32 i) | 333 | static inline u32 pbdma_hce_ctrl_r(u32 i) |
326 | { | 334 | { |
327 | return 0x000400e4 + i*8192; | 335 | return 0x000400e4 + i*8192; |
diff --git a/drivers/gpu/nvgpu/gp106/hw_ram_gp106.h b/drivers/gpu/nvgpu/gp106/hw_ram_gp106.h index b325affc..eb02ac28 100644 --- a/drivers/gpu/nvgpu/gp106/hw_ram_gp106.h +++ b/drivers/gpu/nvgpu/gp106/hw_ram_gp106.h | |||
@@ -370,6 +370,10 @@ static inline u32 ram_fc_chid_id_w(void) | |||
370 | { | 370 | { |
371 | return 0; | 371 | return 0; |
372 | } | 372 | } |
373 | static inline u32 ram_fc_config_w(void) | ||
374 | { | ||
375 | return 61; | ||
376 | } | ||
373 | static inline u32 ram_fc_runlist_timeslice_w(void) | 377 | static inline u32 ram_fc_runlist_timeslice_w(void) |
374 | { | 378 | { |
375 | return 62; | 379 | return 62; |