<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<div>
<div dir="auto">This is work in progress.
<div dir="auto"><br>
</div>
<div dir="auto">I published patches to enable DMA_buf P2P a few months ago, but now I'm waiting for the PCI subsystem to pick up core support for this.</div>
<div dir="auto"><br>
</div>
<div dir="auto">I can prepare you a branch based on current upstream kernel next week if you want to test this.</div>
<div dir="auto"><br>
</div>
<div dir="auto">Regards,</div>
<div dir="auto">Christian.</div>
</div>
<div class="x_gmail_extra"><br>
<div class="x_gmail_quote">Am 29.09.2018 09:01 schrieb Dirk Eibach <dirk.eibach@googlemail.com>:<br type="attribution">
</div>
</div>
</div>
<font size="2"><span style="font-size:11pt;">
<div class="PlainText">I want to access GPU VRAM via PCIe P2P access, like DirectGMA but with<br>
mainline drivers.<br>
I can acquire a dmabuf from the GPU and pass it to my PCIe<br>
framegrabber. But I don't see a way to get the PCIe bus address of the<br>
video memory which I need for the P2P transfer. Is there already any<br>
infrastructure in place for doing this? If not, what would be the<br>
right way to implement this? Add another callback to the dmabuf<br>
struct?<br>
<br>
Cheers<br>
Dirk<br>
</div>
</span></font>
</body>
</html>