On 24/08/17 02:43 AM, Christian König wrote:
The problem is here:
#if defined(CONFIG_SWIOTLB) || defined(CONFIG_INTEL_IOMMU)
....
extern int ttm_dma_populate(struct ttm_dma_tt *ttm_dma, struct device *dev); extern void ttm_dma_unpopulate(struct ttm_dma_tt *ttm_dma, struct device *dev);

We have forgotten to provide dummies for non SWIOTLB/IOMMU systems and xtensa doesn't seem to have this.

And BTW please drop the "extern" keyword here, that is the default for functions anyway.

The functions I added don't have extern. That being said I can write two patches one that adds dummy functions and one that removes the needless externs.

Cheers,
Tom
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to