diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2018-06-15 20:58:13 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-06-18 18:45:19 -0400 |
commit | 3a9d8aebd6c8f982c9df1dd47a823b8b95483e90 (patch) | |
tree | bc5e562562fddc6e443131a2bbbb117b531978e8 | |
parent | 13ec687ae9c8c38279cb1a9226dbb3f64a7ec5b1 (diff) |
gpu: nvgpu: fix fecs trace buffer indexes
Index for global_ctx_buffer #8 and global_ctx_buffer_va #5 are reserved
Hence move FECS_TRACE_BUFFER to 9 and FECS_TRACE_BUFFER_VA to 6
Change-Id: I165842b6a68f67a8b357109988c87d4020c7b1ed
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1751500
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gr_gk20a.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.h b/drivers/gpu/nvgpu/gk20a/gr_gk20a.h index 66d3c22e..6cf3d69b 100644 --- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.h | |||
@@ -79,8 +79,9 @@ enum /* global_ctx_buffer */ { | |||
79 | ATTRIBUTE_VPR = 5, | 79 | ATTRIBUTE_VPR = 5, |
80 | GOLDEN_CTX = 6, | 80 | GOLDEN_CTX = 6, |
81 | PRIV_ACCESS_MAP = 7, | 81 | PRIV_ACCESS_MAP = 7, |
82 | FECS_TRACE_BUFFER = 8, | 82 | /* #8 is reserved */ |
83 | NR_GLOBAL_CTX_BUF = 9 | 83 | FECS_TRACE_BUFFER = 9, |
84 | NR_GLOBAL_CTX_BUF = 10 | ||
84 | }; | 85 | }; |
85 | 86 | ||
86 | /* either ATTRIBUTE or ATTRIBUTE_VPR maps to ATTRIBUTE_VA */ | 87 | /* either ATTRIBUTE or ATTRIBUTE_VPR maps to ATTRIBUTE_VA */ |
@@ -90,8 +91,9 @@ enum /*global_ctx_buffer_va */ { | |||
90 | ATTRIBUTE_VA = 2, | 91 | ATTRIBUTE_VA = 2, |
91 | GOLDEN_CTX_VA = 3, | 92 | GOLDEN_CTX_VA = 3, |
92 | PRIV_ACCESS_MAP_VA = 4, | 93 | PRIV_ACCESS_MAP_VA = 4, |
93 | FECS_TRACE_BUFFER_VA = 5, | 94 | /* #5 is reserved */ |
94 | NR_GLOBAL_CTX_BUF_VA = 6 | 95 | FECS_TRACE_BUFFER_VA = 6, |
96 | NR_GLOBAL_CTX_BUF_VA = 7 | ||
95 | }; | 97 | }; |
96 | 98 | ||
97 | enum { | 99 | enum { |