Re: Question about iommu on x86_64 and radeon driver.
From: Daniel Haid
Date: Wed Jun 01 2011 - 17:58:15 EST
I have also found out the following. In
line 741 of drivers/gpu/drm/radeon/radeon_device.c
there is a comment "PCIE - can handle 40-bits." -
I have a PCIE card - and then need_dma32 is not set.
So if I read it correctly the ttm allocation
routines will allocate memory over 4GB.
But if PCIE can handle 40 bits, why does swiotlb
give out a bounce buffer to the radeon driver at all?
Shouldn't
(dma_capable(dev, dev_addr, size) && !swiotlb_force)
on line 672 of lib/swiotlb.c be true?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/