summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b/hw_pbdma_gp10b.h
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2014-10-27 03:47:25 -0400
committerDeepak Nibade <dnibade@nvidia.com>2016-12-27 04:52:02 -0500
commit07b7a534fa8d5e93420521fcb5e745acad386f00 (patch)
treef844c36ed9eea3731c5317cda19a1b7135e3e5b3 /drivers/gpu/nvgpu/gp10b/hw_pbdma_gp10b.h
parent1f3b9d851a0beb716596040f77b1431cc1fd8670 (diff)
gpu: nvgpu: Synchronize gp10b headers with gm20b
Added all registers added to gk20a and gm20b to gp10b. Remove gp10b trim registers, because they will not be accessed by CPU. Bug 1567274 Change-Id: Ib6be34ce3d55901bd7e1f30eea8e43725719a912 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/590312 GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/hw_pbdma_gp10b.h')
-rw-r--r--drivers/gpu/nvgpu/gp10b/hw_pbdma_gp10b.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/hw_pbdma_gp10b.h b/drivers/gpu/nvgpu/gp10b/hw_pbdma_gp10b.h
index 5720cde1..91429b47 100644
--- a/drivers/gpu/nvgpu/gp10b/hw_pbdma_gp10b.h
+++ b/drivers/gpu/nvgpu/gp10b/hw_pbdma_gp10b.h
@@ -174,6 +174,10 @@ static inline u32 pbdma_pb_header_type_inc_f(void)
174{ 174{
175 return 0x20000000; 175 return 0x20000000;
176} 176}
177static inline u32 pbdma_hdr_shadow_r(u32 i)
178{
179 return 0x00040118 + i*8192;
180}
177static inline u32 pbdma_subdevice_r(u32 i) 181static inline u32 pbdma_subdevice_r(u32 i)
178{ 182{
179 return 0x00040094 + i*8192; 183 return 0x00040094 + i*8192;
@@ -466,4 +470,20 @@ static inline u32 pbdma_syncpointb_syncpt_index_v(u32 r)
466{ 470{
467 return (r >> 8) & 0xfff; 471 return (r >> 8) & 0xfff;
468} 472}
473static inline u32 pbdma_runlist_timeslice_r(u32 i)
474{
475 return 0x000400f8 + i*8192;
476}
477static inline u32 pbdma_runlist_timeslice_timeout_128_f(void)
478{
479 return 0x80;
480}
481static inline u32 pbdma_runlist_timeslice_timescale_3_f(void)
482{
483 return 0x3000;
484}
485static inline u32 pbdma_runlist_timeslice_enable_true_f(void)
486{
487 return 0x10000000;
488}
469#endif 489#endif