Hardware 3D acceleration doesn't work anymore with the latest git kernel

Christian König christian.koenig at amd.com
Mon Nov 27 12:20:49 UTC 2017


Am 27.11.2017 um 13:02 schrieb Michel Dänzer:
> [SNIP]
> I thought I did above...
>
> Commit f7871fd19389c5f64f625a4389675d0740f0dfe4 made the radeon driver
> rely on ttm_populate_and_map_pages, which is implemented as:
>
> static inline int ttm_populate_and_map_pages(struct device *dev, struct ttm_dma_tt *tt)
> {
> 	return -ENOMEM;
> }
>
> when neither CONFIG_SWIOTLB nor CONFIG_INTEL_IOMMU is enabled.
> Previously, the driver worked fine without either of those enabled.
Ah! Sorry my fault. It looks like I incorrectly explained to Tom how to 
handle the config options.

Please take a look at the attached patch, it should fix the issue (going 
to send that one out separately once more).

Regards,
Christian.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-drm-ttm-fix-populate_and_map-functions-once-more.patch
Type: text/x-patch
Size: 3453 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20171127/db61dd88/attachment-0001.bin>


More information about the dri-devel mailing list