summaryrefslogtreecommitdiff
path: root/linux-core/drm_gem.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2008-07-26 08:56:23 +1000
committerDave Airlie <airlied@linux.ie>2008-07-26 08:56:23 +1000
commitdf9871064e8b564d9ae2e56d561b64434fd004af (patch)
tree828b84ad7b50d78815ba53c0d833217ac0580e2b /linux-core/drm_gem.c
parent31da9492a4129f5255e949836c51e9dfbfb270c4 (diff)
radeon: add initial atombios modesetting and GEM -> TTM translation layer.
This is an initial import of the atom bios parser with modesetting support for r500 hw using atombios. It also includes a simple memory manager layer that translates a radeon GEM style interface onto TTM internally. So far this memory manager has only been used for pinned object allocation for the DDX to test modesetting.
Diffstat (limited to 'linux-core/drm_gem.c')
-rw-r--r--linux-core/drm_gem.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/linux-core/drm_gem.c b/linux-core/drm_gem.c
index 434155b3..05320376 100644
--- a/linux-core/drm_gem.c
+++ b/linux-core/drm_gem.c
@@ -100,7 +100,6 @@ drm_gem_object_alloc(struct drm_device *dev, size_t size)
kfree(obj);
return NULL;
}
-
kref_init(&obj->refcount);
kref_init(&obj->handlecount);
obj->size = size;