diff options
author | Eric Anholt <[email protected]> | 2014-07-22 20:16:10 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2014-08-11 14:45:28 -0700 |
commit | 5e062cb2b4a44af7eb4ba38a8a8c3c506b22f0e2 (patch) | |
tree | e8a211ed99d44836eb429a6f3ba142d2e148ad6b /src/gallium/drivers/vc4/vc4_drm.h | |
parent | 2b16b3d75fa9350e358e80a4189d4f592c7394d4 (diff) |
vc4: Rename fields in the kernel interface.
I decided I didn't like "len" compared to "size", and I keep typing
shader_rec instead of shader_record[s] elsewhere, so make it consistent.
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_drm.h')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_drm.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gallium/drivers/vc4/vc4_drm.h b/src/gallium/drivers/vc4/vc4_drm.h index cc4c735d881..7d440742191 100644 --- a/src/gallium/drivers/vc4/vc4_drm.h +++ b/src/gallium/drivers/vc4/vc4_drm.h @@ -72,7 +72,7 @@ struct drm_vc4_submit_cl { * and an attribute count), so those BO indices into bo_handles are * just stored as uint32_ts before each shader record passed in. */ - void __user *shader_records; + void __user *shader_rec; /* Pointer to uniform data and texture handles for the textures * referenced by the shader. @@ -92,20 +92,20 @@ struct drm_vc4_submit_cl { void __user *bo_handles; /* Size in bytes of the binner command list. */ - uint32_t bin_cl_len; + uint32_t bin_cl_size; /* Size in bytes of the render command list */ - uint32_t render_cl_len; - /* Size in bytes of the list of shader records. */ - uint32_t shader_record_len; + uint32_t render_cl_size; + /* Size in bytes of the set of shader records. */ + uint32_t shader_rec_size; /* Number of shader records. * * This could just be computed from the contents of shader_records and * the address bits of references to them from the bin CL, but it * keeps the kernel from having to resize some allocations it makes. */ - uint32_t shader_record_count; - /** Size in bytes of the uniform state. */ - uint32_t uniforms_len; + uint32_t shader_rec_count; + /* Size in bytes of the uniform state. */ + uint32_t uniforms_size; /* Number of BO handles passed in (size is that times 4). */ uint32_t bo_handle_count; |