All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/3] Prime helpers
@ 2013-01-15 20:47 Aaron Plattner
  2013-01-15 20:47 ` [PATCH v3 1/3] drm: add prime helpers Aaron Plattner
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Aaron Plattner @ 2013-01-15 20:47 UTC (permalink / raw)
  To: dri-devel

This series adds helper functions that abstract the core parts of
.gem_prime_import and .gem_prime_export so that drivers don't have to worry
about the low-level details.  These helpers are optional.  A driver can use them
by plugging in drm_gem_prime_import and drm_gem_prime_export into the drm_driver
structure, or it can bypass them by plugging in its own functions.  The first
patch adds these helpers, and the later patches switch three drivers over to
using them.

This version of the series addresses concerns raised by Daniel Vetter, and to
leave the vmap locking and refcounting to the dma-buf core code.  It also drops
Exynos from the series since its driver diverged between when I first sent out
this series and now.

This series depends on commit 90b6e90cb03352a352015ca213ac9f4fab3308f3 of the
for-next branch of git://git.linaro.org/people/sumitsemwal/linux-dma-buf

Aaron Plattner (3):
  drm: add prime helpers
  drm/nouveau: use prime helpers
  drm/radeon: use prime helpers

 Documentation/DocBook/drm.tmpl          |   4 +
 drivers/gpu/drm/drm_prime.c             | 186 +++++++++++++++++++++++++++++++-
 drivers/gpu/drm/nouveau/nouveau_bo.h    |   1 -
 drivers/gpu/drm/nouveau/nouveau_drm.c   |   9 +-
 drivers/gpu/drm/nouveau/nouveau_gem.c   |   2 -
 drivers/gpu/drm/nouveau/nouveau_gem.h   |  10 +-
 drivers/gpu/drm/nouveau/nouveau_prime.c | 173 ++++-------------------------
 drivers/gpu/drm/radeon/radeon.h         |   1 -
 drivers/gpu/drm/radeon/radeon_drv.c     |  21 ++--
 drivers/gpu/drm/radeon/radeon_prime.c   | 170 ++++-------------------------
 include/drm/drmP.h                      |  12 +++
 11 files changed, 270 insertions(+), 319 deletions(-)

-- 
1.8.1.1

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

end of thread, other threads:[~2013-06-19  0:24 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-15 20:47 [PATCH v3 0/3] Prime helpers Aaron Plattner
2013-01-15 20:47 ` [PATCH v3 1/3] drm: add prime helpers Aaron Plattner
2013-01-16  9:50   ` Daniel Vetter
2013-01-16 23:36     ` Aaron Plattner
2013-01-17  8:40       ` Daniel Vetter
2013-01-29 16:59         ` Maarten Lankhorst
2013-04-12 14:58   ` Daniel Vetter
2013-04-12 15:13     ` Aaron Plattner
2013-04-12 18:53       ` Daniel Vetter
2013-06-18 23:08   ` Laurent Pinchart
2013-06-18 23:28     ` Aaron Plattner
2013-06-18 23:37       ` Laurent Pinchart
2013-06-19  0:24         ` Aaron Plattner
2013-01-15 20:47 ` [PATCH 2/3] drm/nouveau: use " Aaron Plattner
2013-01-15 20:47 ` [PATCH 3/3] drm/radeon: " Aaron Plattner

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.