All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] RFC: Common functions for GEM offset creation
@ 2011-07-19  0:20 Rob Clark
  2011-07-19  0:20 ` [PATCH 1/3] drm/gem: add functions for mmap " Rob Clark
                   ` (7 more replies)
  0 siblings, 8 replies; 15+ messages in thread
From: Rob Clark @ 2011-07-19  0:20 UTC (permalink / raw)
  To: dri-devel; +Cc: Rob Clark

In the process of adding GEM support for OMAP DRM driver, I noticed that
I was adding code for creating/freeing mmap offsets which was virtually
identical to what was already duplicated in i915 and gma500 drivers.

Rather than duplicating the code a 3rd time, it seemed like a good idea
to move it to the GEM core.

Note that I don't actually have a way to test psb or i915, but the
changes seem straightforward enough.

--

For the curious, OMAP DRM driver is here:
  https://github.com/robclark/kernel-omap4/commits/linux-omap-3.0-drm

I'll send patches when it's dependencies are merged and it is slightly
more than half baked ;-)

Rob Clark (3):
  drm/gem: add functions for mmap offset creation
  drm/i915: use common functions for mmap offset creation
  drm/gma500: use common functions for mmap offset creation

 drivers/gpu/drm/drm_gem.c        |   88 ++++++++++++++++++++++++++++++++++++++
 drivers/gpu/drm/i915/i915_gem.c  |   85 +-----------------------------------
 drivers/staging/gma500/psb_gem.c |   63 +--------------------------
 include/drm/drmP.h               |    3 +
 4 files changed, 95 insertions(+), 144 deletions(-)

-- 
1.7.4.1

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

end of thread, other threads:[~2011-08-10 12:35 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-19  0:20 [PATCH 0/3] RFC: Common functions for GEM offset creation Rob Clark
2011-07-19  0:20 ` [PATCH 1/3] drm/gem: add functions for mmap " Rob Clark
2011-07-19  0:20 ` [PATCH 2/3] drm/i915: use common " Rob Clark
2011-07-19  0:20 ` [PATCH 3/3] drm/gma500: " Rob Clark
2011-07-19  8:57 ` [PATCH 0/3] RFC: Common functions for GEM " Alan Cox
2011-07-19 13:01   ` Rob Clark
2011-07-19 16:00     ` Alan Cox
2011-07-19  9:33 ` Chris Wilson
2011-07-19 13:12   ` Rob Clark
2011-08-04 11:20     ` Rob Clark
2011-08-04 16:06       ` Daniel Vetter
2011-08-04 17:07 ` [PATCH 1/9] drm/gem: add functions for mmap " Rob Clark
2011-08-04 17:07 ` [PATCH 2/9] drm/i915: use common " Rob Clark
2011-08-04 17:07 ` [PATCH 3/9] drm/gma500: " Rob Clark
2011-08-10 12:39   ` Alan Cox

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.