From: Rob Clark <rob@ti.com>
To: dri-devel@lists.freedesktop.org
Cc: Rob Clark <rob@ti.com>
Subject: [PATCH 0/3] RFC: Common functions for GEM offset creation
Date: Mon, 18 Jul 2011 19:20:56 -0500 [thread overview]
Message-ID: <cover.1311034363.git.rob@ti.com> (raw)
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
next reply other threads:[~2011-07-19 0:21 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-19 0:20 Rob Clark [this message]
2011-07-19 0:20 ` [PATCH 1/3] drm/gem: add functions for mmap offset creation 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1311034363.git.rob@ti.com \
--to=rob@ti.com \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox