Commit 1cb5fc70 authored by Rob Clark's avatar Rob Clark
Browse files

freedreno: zero out unused field

Since realloc() doesn't zero-init.
Signed-off-by: default avatarRob Clark <>
parent 230389a0
......@@ -143,6 +143,7 @@ static struct drm_msm_gem_submit_cmd * get_cmd(struct fd_ringbuffer *ring,
cmd->submit_idx = bo2idx(ring, target_bo, FD_RELOC_READ);
cmd->submit_offset = submit_offset;
cmd->size = size;
cmd->pad = 0;
return cmd;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment