All of lore.kernel.org
 help / color / mirror / Atom feed
* drm: Why shmem?
@ 2017-08-28 18:44 Noralf Trønnes
  2017-08-28 20:40 ` Eric Anholt
  2017-08-28 20:45 ` Daniel Vetter
  0 siblings, 2 replies; 9+ messages in thread
From: Noralf Trønnes @ 2017-08-28 18:44 UTC (permalink / raw)
  To: dri-devel

Hi,

Currently I'm using the cma library with tinydrm because it was so
simple to use even though I have to work around the fact that reads are
uncached. A bigger problem that I have become aware of, is that it
restricts the dma buffers it can import since they have to be continous.

So I looked to udl and it uses shmem. Fine, let's make a shmem gem
library similar to the cma library.

Now I have done so and have started to think about the DOC: section,
explaining what the library does. And I'm stuck, what's the benefit of
using shmem compared to just using alloc_page()?

Noralf.

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

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

end of thread, other threads:[~2017-09-16 22:10 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-28 18:44 drm: Why shmem? Noralf Trønnes
2017-08-28 20:40 ` Eric Anholt
2017-08-28 20:45 ` Daniel Vetter
2017-08-29 17:40   ` Eric Anholt
2017-08-30  7:40     ` Daniel Vetter
2017-09-14 23:40       ` Noralf Trønnes
2017-09-15  0:45         ` Eric Anholt
2017-09-15 14:38           ` Noralf Trønnes
2017-09-16 22:10             ` Eric Anholt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.