diff options
author | seshendra Gadagottu <sgadagottu@nvidia.com> | 2016-11-16 13:05:23 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2016-12-20 18:15:13 -0500 |
commit | d301c02246b95214b13ee7ac8eeceb34acd0899a (patch) | |
tree | 734e2cc0976f24c29f2e5fa2a322969145db9e12 /drivers/gpu/nvgpu/gk20a/channel_gk20a.h | |
parent | 92fe0007496fd42983a6849b4f8dd5bc7d124834 (diff) |
gpu: nvgpu: copy data into channel context header
If channel context has separate context header then
copy required info into context header instead of
main context header.
JIRA GV11B-21
Change-Id: I5e0bdde132fb83956fd6ac473148ad4de498e830
Signed-off-by: seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: http://git-master/r/1229243
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/channel_gk20a.h')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/channel_gk20a.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h index ba9f332d..ed0b04ee 100644 --- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h | |||
@@ -59,6 +59,7 @@ struct channel_ctx_gk20a { | |||
59 | u64 global_ctx_buffer_va[NR_GLOBAL_CTX_BUF_VA]; | 59 | u64 global_ctx_buffer_va[NR_GLOBAL_CTX_BUF_VA]; |
60 | u64 global_ctx_buffer_size[NR_GLOBAL_CTX_BUF_VA]; | 60 | u64 global_ctx_buffer_size[NR_GLOBAL_CTX_BUF_VA]; |
61 | bool global_ctx_buffer_mapped; | 61 | bool global_ctx_buffer_mapped; |
62 | struct ctx_header_desc ctx_header; | ||
62 | }; | 63 | }; |
63 | 64 | ||
64 | struct channel_gk20a_job { | 65 | struct channel_gk20a_job { |