summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/cde_gk20a.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/cde_gk20a.h')
-rw-r--r--drivers/gpu/nvgpu/gk20a/cde_gk20a.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/cde_gk20a.h b/drivers/gpu/nvgpu/gk20a/cde_gk20a.h
index 16d6b4ef..8cdba938 100644
--- a/drivers/gpu/nvgpu/gk20a/cde_gk20a.h
+++ b/drivers/gpu/nvgpu/gk20a/cde_gk20a.h
@@ -67,8 +67,8 @@ struct gk20a_cde_hdr_replace {
67 u32 source_buf; 67 u32 source_buf;
68 s32 shift; 68 s32 shift;
69 u32 type; 69 u32 type;
70 s64 target_byte_offset; 70 u64 target_byte_offset;
71 s64 source_byte_offset; 71 u64 source_byte_offset;
72 u64 mask; 72 u64 mask;
73}; 73};
74 74
@@ -113,7 +113,7 @@ struct gk20a_cde_hdr_param {
113 s32 shift; 113 s32 shift;
114 u32 type; 114 u32 type;
115 s64 data_offset; 115 s64 data_offset;
116 s64 target_byte_offset; 116 u64 target_byte_offset;
117 u64 mask; 117 u64 mask;
118}; 118};
119 119
@@ -223,11 +223,11 @@ struct gk20a_cde_ctx {
223 223
224 /* buf converter configuration */ 224 /* buf converter configuration */
225 struct mem_desc mem[MAX_CDE_BUFS]; 225 struct mem_desc mem[MAX_CDE_BUFS];
226 int num_bufs; 226 unsigned int num_bufs;
227 227
228 /* buffer patching params (where should patching be done) */ 228 /* buffer patching params (where should patching be done) */
229 struct gk20a_cde_hdr_param params[MAX_CDE_PARAMS]; 229 struct gk20a_cde_hdr_param params[MAX_CDE_PARAMS];
230 int num_params; 230 unsigned int num_params;
231 231
232 /* storage for user space parameter values */ 232 /* storage for user space parameter values */
233 u32 user_param_values[MAX_CDE_USER_PARAMS]; 233 u32 user_param_values[MAX_CDE_USER_PARAMS];