diff options
| author | Barry Song <[email protected]> | 2024-06-06 02:02:13 +0000 |
|---|---|---|
| committer | Sumit Semwal <[email protected]> | 2024-06-19 14:35:34 +0000 |
| commit | b9578c49456340ca4d3c7ddbaca054ffc2b51bc1 (patch) | |
| tree | b3dd77097824f0144bb38247c5c40ccd83a7f189 /drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c | |
| parent | drm/panfrost: Add support for Mali on the MT8188 SoC (diff) | |
| download | kernel-b9578c49456340ca4d3c7ddbaca054ffc2b51bc1.tar.gz kernel-b9578c49456340ca4d3c7ddbaca054ffc2b51bc1.zip | |
dma-buf/heaps: Correct the types of fd_flags and heap_flags
dma_heap_allocation_data defines the UAPI as follows:
struct dma_heap_allocation_data {
__u64 len;
__u32 fd;
__u32 fd_flags;
__u64 heap_flags;
};
But dma heaps are casting both fd_flags and heap_flags into
unsigned long. This patch makes dma heaps - cma heap and
system heap have consistent types with UAPI.
Signed-off-by: Barry Song <[email protected]>
Acked-by: John Stultz <[email protected]>
Reviewed-by: Carlos Llamas <[email protected]>
Signed-off-by: Sumit Semwal <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/mxgpu_vi.c')
0 files changed, 0 insertions, 0 deletions
