diff options
author | Jianxin Xiong <jianxin.xiong@intel.com> | 2020-10-14 09:16:01 -0700 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2020-10-15 23:15:43 +0200 |
commit | ac80cd17a615e472e3dcff0a5446a58540e64e6d (patch) | |
tree | 44d8ef5a2d724ef5e835c3344717d21a36265a49 /drivers/gpu/drm/vkms | |
parent | 73b62cdb93b68d7e2c1d373c6a411bc00c53e702 (diff) | |
download | linux-ac80cd17a615e472e3dcff0a5446a58540e64e6d.tar.bz2 |
dma-buf: Clarify that dma-buf sg lists are page aligned
The dma-buf API have been used under the assumption that the sg lists
returned from dma_buf_map_attachment() are fully page aligned. Lots of
stuff can break otherwise all over the place. Clarify this in the
documentation and add a check when DMA API debug is enabled.
Signed-off-by: Jianxin Xiong <jianxin.xiong@intel.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/1602692161-107096-1-git-send-email-jianxin.xiong@intel.com
Diffstat (limited to 'drivers/gpu/drm/vkms')
0 files changed, 0 insertions, 0 deletions