nvhost_gpu: Don't over copy IoctlSubmitGpfifo.

pull/8/head
bunnei 7 years ago
parent 4fa3511a63
commit 0f834e2284

@ -147,7 +147,7 @@ u32 nvhost_gpu::SubmitGPFIFO(const std::vector<u8>& input, std::vector<u8>& outp
}
params.fence_out.id = 0;
params.fence_out.value = 0;
std::memcpy(output.data(), &params, output.size());
std::memcpy(output.data(), &params, sizeof(IoctlSubmitGpfifo));
return 0;
}

Loading…
Cancel
Save