[RFC PATCH 2/5] drivers/base: add a function to test peer to peer capability

Logan Gunthorpe logang at deltatee.com
Tue Jan 29 18:26:01 UTC 2019



On 2019-01-29 10:47 a.m., jglisse at redhat.com wrote:
> From: Jérôme Glisse <jglisse at redhat.com>
> 
> device_test_p2p() return true if two devices can peer to peer to
> each other. We add a generic function as different inter-connect
> can support peer to peer and we want to genericaly test this no
> matter what the inter-connect might be. However this version only
> support PCIE for now.

This doesn't appear to be used in any of the further patches; so it's
very confusing.

I'm not sure a struct device wrapper is really necessary...

Logan


More information about the dri-devel mailing list