diff options
| author | Aaron Sierra <[email protected]> | 2018-10-12 20:35:03 +0000 |
|---|---|---|
| committer | Jon Mason <[email protected]> | 2018-11-01 01:20:05 +0000 |
| commit | fc5d1829f9bf3d8275322727c0e9a8baf268b7c6 (patch) | |
| tree | 882b53242929fc4cc4ff3736ac52fcc5de1f0782 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | ntb: ntb_transport: Mark expected switch fall-throughs (diff) | |
| download | kernel-fc5d1829f9bf3d8275322727c0e9a8baf268b7c6.tar.gz kernel-fc5d1829f9bf3d8275322727c0e9a8baf268b7c6.zip | |
NTB: transport: Try harder to alloc an aligned MW buffer
Be a little wasteful if the (likely CMA) message window buffer is not
suitably aligned after our first attempt; allocate a buffer twice as big
as we need and manually align our MW buffer within it.
This was needed on Intel Broadwell DE platforms with intel_iommu=off
Signed-off-by: Aaron Sierra <[email protected]>
Reviewed-by: Dave Jiang <[email protected]>
Signed-off-by: Jon Mason <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions
