On Mon, Sep 12, 2011 at 8:21 PM, Rob Clark rob.clark@linaro.org wrote:
From: Rob Clark rob@ti.com
In the process of adding GEM support for omapdrm 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. And the code for attach/detatch_pages was quite similar as well.
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
I've merged bits of this already,
.http://cgit.freedesktop.org/~airlied/linux/log/?h=drm-core-next
this is temporary -next home. care to rebase?
Dave.