dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* GEM allocation for para-virtualized DRM driver
@ 2017-03-17 17:39 Oleksandr Andrushchenko
  2017-03-18 12:22 ` Rob Clark
  0 siblings, 1 reply; 15+ messages in thread
From: Oleksandr Andrushchenko @ 2017-03-17 17:39 UTC (permalink / raw)
  To: dri-devel

Hello,
I am writing a para-virtualized DRM driver for Xen hypervisor
and it now works with DRM CMA helpers, but I would also like
to make it work with non-contigous memory: virtual machine
that the driver runs in can't guarantee that CMA is actually
physically contigous (that is not a problem because of IPMMU
and other means, the only constraint I have is that I cannot mmap
with pgprot == noncached). So, I am planning to use *drm_gem_get_pages* +
*shmem_read_mapping_page_gfp* to allocate memory for GEM objects
(scanout buffers + dma-bufs shared with virtual GPU)

Do you think this is the right approach to take?

Thank you,

Oleksandr

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

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2017-03-21 15:12 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-17 17:39 GEM allocation for para-virtualized DRM driver Oleksandr Andrushchenko
2017-03-18 12:22 ` Rob Clark
2017-03-18 13:25   ` Oleksandr Andrushchenko
2017-03-18 14:06     ` Rob Clark
2017-03-18 14:44       ` Oleksandr Andrushchenko
2017-03-18 14:50         ` Rob Clark
2017-03-18 14:56           ` Oleksandr Andrushchenko
2017-03-20 17:18   ` Oleksandr Andrushchenko
2017-03-20 17:38     ` Rob Clark
2017-03-20 18:01       ` Oleksandr Andrushchenko
2017-03-20 18:17         ` Rob Clark
2017-03-20 18:25           ` Oleksandr Andrushchenko
2017-03-20 18:52             ` Rob Clark
2017-03-20 19:05               ` Oleksandr Andrushchenko
2017-03-21 15:12               ` Oleksandr Andrushchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).