diff options
author | Deepak Nibade <dnibade@nvidia.com> | 2018-06-07 15:18:12 -0400 |
---|---|---|
committer | Tejal Kudav <tkudav@nvidia.com> | 2018-06-14 09:44:08 -0400 |
commit | 0e4768f1e653cb3a134e0b226f655c08a40d63e4 (patch) | |
tree | 8e8c1d24e44c10a73298ab4c8a1289603b91d2d8 /drivers/gpu/nvgpu | |
parent | 43c340de5429c7e50db20dfd46344bfe3c4119ac (diff) |
gpu: nvgpu: support additional global context buffer
Increase NR_GLOBAL_CTX_BUF from 8 to 9 and increase NR_GLOBAL_CTX_BUF_VA
from 5 to 6 to accomodate a new global context buffer
Jira NVGPUT-27
Change-Id: I21fe4357f19db7f5647741d9ce932460868a856d
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1743363
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>
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gr_gk20a.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.h b/drivers/gpu/nvgpu/gk20a/gr_gk20a.h index 32bd41f2..d25c845c 100644 --- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.h | |||
@@ -79,7 +79,7 @@ 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 | NR_GLOBAL_CTX_BUF = 8 | 82 | NR_GLOBAL_CTX_BUF = 9 |
83 | }; | 83 | }; |
84 | 84 | ||
85 | /* either ATTRIBUTE or ATTRIBUTE_VPR maps to ATTRIBUTE_VA */ | 85 | /* either ATTRIBUTE or ATTRIBUTE_VPR maps to ATTRIBUTE_VA */ |
@@ -89,7 +89,7 @@ enum /*global_ctx_buffer_va */ { | |||
89 | ATTRIBUTE_VA = 2, | 89 | ATTRIBUTE_VA = 2, |
90 | GOLDEN_CTX_VA = 3, | 90 | GOLDEN_CTX_VA = 3, |
91 | PRIV_ACCESS_MAP_VA = 4, | 91 | PRIV_ACCESS_MAP_VA = 4, |
92 | NR_GLOBAL_CTX_BUF_VA = 5 | 92 | NR_GLOBAL_CTX_BUF_VA = 6 |
93 | }; | 93 | }; |
94 | 94 | ||
95 | enum { | 95 | enum { |