summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/channel_gk20a.h
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2014-12-08 07:07:39 -0500
committerDan Willemsen <dwillemsen@nvidia.com>2015-03-18 15:12:27 -0400
commit5477d0f4c226847fe030ad00425e00206118b0d6 (patch)
treef9009dd92f5e4096a75ca126f177c52f77778fde /drivers/gpu/nvgpu/gk20a/channel_gk20a.h
parent69bb5e156944d5df715d6bb388fd1c97fe458f18 (diff)
gpu: nvgpu: Generic mem_desc & allocation
Make mem_desc a generic container for buffers. Add functions for allocating and mapping buffers to an address space which store their data in mem_desc. Change-Id: I031643442c6fd41f5e7222fe9b7bfcaf9b784db5 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/660908 GVS: Gerrit_Virtual_Submit Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/channel_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/channel_gk20a.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h
index 263ca291..c60afb97 100644
--- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.h
@@ -59,7 +59,6 @@ struct fence {
59/* contexts associated with a channel */ 59/* contexts associated with a channel */
60struct channel_ctx_gk20a { 60struct channel_ctx_gk20a {
61 struct gr_ctx_desc *gr_ctx; 61 struct gr_ctx_desc *gr_ctx;
62 struct pm_ctx_desc pm_ctx;
63 struct patch_desc patch_ctx; 62 struct patch_desc patch_ctx;
64 struct zcull_ctx_desc zcull_ctx; 63 struct zcull_ctx_desc zcull_ctx;
65 u64 global_ctx_buffer_va[NR_GLOBAL_CTX_BUF_VA]; 64 u64 global_ctx_buffer_va[NR_GLOBAL_CTX_BUF_VA];