Add helper function for finding the gma rec pointer

Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Allocate a cs bo for the entire driver

We don't need a command stream bo for every bo.

Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Add bo offset support

Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Add wrapping support of userspace buffer to libgma

Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Accelerate _put_image with a wrapped bo copy

Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Store width and height in allocated gma_bo

Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Add bo cache for wrapped bo's

This saves a lot of cache flushes when allocating and destroying buffer
objects. The size might need tweaking and we could potentially hog too
much mem, but right now the size seems to stay at around the framebuffer
size.

Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
We don't do composite so rip it out

Probably not worth doing composite so just remove it. We still need the
_check_composite() hook or UXA will fail.

Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Add parameter interface to libgma

Currently we only need _get() and not _put()

Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Ummm, where did gma_put_image go?

Better remove it from the uxa init

Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>