diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/mm_gk20a.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h index b3564409..6ccb6ab1 100644 --- a/drivers/gpu/nvgpu/gk20a/mm_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/mm_gk20a.h | |||
@@ -223,9 +223,9 @@ struct page_directory_gk20a { | |||
223 | struct priv_cmd_queue { | 223 | struct priv_cmd_queue { |
224 | struct priv_cmd_queue_mem_desc mem; | 224 | struct priv_cmd_queue_mem_desc mem; |
225 | u64 base_gpuva; /* gpu_va base */ | 225 | u64 base_gpuva; /* gpu_va base */ |
226 | u16 size; /* num of entries in words */ | 226 | u32 size; /* num of entries in words */ |
227 | u16 put; /* put for priv cmd queue */ | 227 | u32 put; /* put for priv cmd queue */ |
228 | u16 get; /* get for priv cmd queue */ | 228 | u32 get; /* get for priv cmd queue */ |
229 | struct list_head free; /* list of pre-allocated free entries */ | 229 | struct list_head free; /* list of pre-allocated free entries */ |
230 | struct list_head head; /* list of used entries */ | 230 | struct list_head head; /* list of used entries */ |
231 | }; | 231 | }; |
@@ -233,8 +233,8 @@ struct priv_cmd_queue { | |||
233 | struct priv_cmd_entry { | 233 | struct priv_cmd_entry { |
234 | u32 *ptr; | 234 | u32 *ptr; |
235 | u64 gva; | 235 | u64 gva; |
236 | u16 get; /* start of entry in queue */ | 236 | u32 get; /* start of entry in queue */ |
237 | u16 size; /* in words */ | 237 | u32 size; /* in words */ |
238 | u32 gp_get; /* gp_get when submitting last priv cmd */ | 238 | u32 gp_get; /* gp_get when submitting last priv cmd */ |
239 | u32 gp_put; /* gp_put when submitting last priv cmd */ | 239 | u32 gp_put; /* gp_put when submitting last priv cmd */ |
240 | u32 gp_wrap; /* wrap when submitting last priv cmd */ | 240 | u32 gp_wrap; /* wrap when submitting last priv cmd */ |