commit | 24b7c36cb072275d293b4976a5775ce02684a2ea | [log] [tgz] |
---|---|---|
author | Clarence Ip <cip@codeaurora.org> | Sun May 14 17:03:50 2017 -0400 |
committer | Clarence Ip <cip@codeaurora.org> | Sun May 21 21:23:24 2017 -0400 |
tree | ede3ae38fe8d0a765f1af40b274fa2046eff3e20 | |
parent | 618de0ab6ad299479d96f54381098a0836e0556c [diff] |
drm/msm: handle gem bo flags during dma buffer mapping This patch adds a new MSM_BO_KEEPATTRS flag on the internal msm gem object structure and propagates it to the msm_gem module's map_dma_buf callback. This allows gem objects to be created that specify the DMA_ATTR_IOMMU_USE_UPSTREAM_HINT attribute during buffer mappings. CRs-Fixed: 2048692 Change-Id: I0f38fae9e5e83846a64f47f9c5b0954dbc11b4e4 Signed-off-by: Clarence Ip <cip@codeaurora.org>