diff options
author | Thomas Hellstrom <thellstrom@vmware.com> | 2019-04-23 14:02:57 +0200 |
---|---|---|
committer | Thomas Hellstrom <thellstrom@vmware.com> | 2019-04-25 09:05:03 +0200 |
commit | 81103355b1e23345dbcdeccad59962a424da4a34 (patch) | |
tree | 3dc7d108affe3a79d42f21cffc0c2f863f57aa42 /net/dcb/dcbnl.c | |
parent | c2d311553855395764e2e5bf401d987ba65c2056 (diff) |
drm/vmwgfx: Fix dma API layer violation
Remove the check for IOMMU presence since it was considered a
layer violation.
This means we have no reliable way to destinguish between coherent
hardware IOMMU DMA address translations and incoherent SWIOTLB DMA
address translations, which we can't handle. So always presume the
former. This means that if anybody forces SWIOTLB without also setting
the vmw_force_coherent=1 vmwgfx option, driver operation will fail,
like it will on most other graphics drivers.
Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'net/dcb/dcbnl.c')
0 files changed, 0 insertions, 0 deletions