drm/radeon: use embedded gem object

Drop drm_gem_object from radeon_bo, use the
ttm_buffer_object.base instead.

Build tested only.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20190805140119.7337-5-kraxel@redhat.com
This commit is contained in:
Gerd Hoffmann
2019-08-05 16:01:06 +02:00
parent e0828d54c8
commit ce77038fda
7 changed files with 15 additions and 16 deletions

View File

@@ -83,7 +83,7 @@ retry:
}
return r;
}
*obj = &robj->gem_base;
*obj = &robj->tbo.base;
robj->pid = task_pid_nr(current);
mutex_lock(&rdev->gem.mutex);