gma500: GEM and GEM glue
authorAlan Cox <alan@linux.intel.com>
Thu, 3 Nov 2011 18:20:58 +0000 (18:20 +0000)
committerDave Airlie <airlied@redhat.com>
Wed, 16 Nov 2011 11:22:36 +0000 (11:22 +0000)
commite32681d66dd33a7792a3f1a1e3ea0eb0c415f895
tree2c8b091cc0e31c1b1c523eaafddcfff6e7e4c5e3
parent3abcf41fb1fc6f127ff98d3bae75db7f8f575e47
gma500: GEM and GEM glue

The driver uses GEM along with a couple of small bits of wrapping of its
own. The only real oddity here is the support for using the 'stolen' memory
rather than wasting several MB.

We use a simple resource manager as we don't need to manage our space
intensively at all as we only do 2D work. We also have a GTT which is
entirely GPU facing so in the Cedarview case are not even allocating from
host address space.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/gma500/gem.c [new file with mode: 0644]
drivers/gpu/drm/gma500/gem_glue.c [new file with mode: 0644]
drivers/gpu/drm/gma500/gem_glue.h [new file with mode: 0644]