Commit 4b5d048a authored by Laura Abbott's avatar Laura Abbott Committed by Bryan Huntsman
Browse files

gpu: ion: Add O_DSYNC flag to generated file



Ion uses the O_DSYNC flag of a file to indicate an uncached mapping.
When generating a file for mmaping, the new file needs to have the
same O_DSYNC flag as the parent (the file of the ioctl open call)
to indicate if the mapping should be cached or uncached.

Signed-off-by: default avatarLaura Abbott <lauraa@codeaurora.org>
parent 6425f69b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment