diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2019-08-05 17:01:04 +0300 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-08-06 09:21:53 +0300 |
commit | 0e580c6d7d2f2d490add0fcf70c5b7ec2300e636 (patch) | |
tree | 1517c49098b1222c7483ed972bd2d54433213058 /drivers/gpu/drm/vboxvideo | |
parent | 8eb8833e7ed362977c021116d2f34451a7009ca3 (diff) | |
download | linux-0e580c6d7d2f2d490add0fcf70c5b7ec2300e636.tar.xz |
drm/vram: use embedded gem object
Drop drm_gem_object from drm_gem_vram_object, use the
ttm_buffer_object.base instead.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: http://patchwork.freedesktop.org/patch/msgid/20190805140119.7337-3-kraxel@redhat.com
Diffstat (limited to 'drivers/gpu/drm/vboxvideo')
-rw-r--r-- | drivers/gpu/drm/vboxvideo/vbox_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/vboxvideo/vbox_main.c b/drivers/gpu/drm/vboxvideo/vbox_main.c index 18693e2bf72a..02fa8277ff1e 100644 --- a/drivers/gpu/drm/vboxvideo/vbox_main.c +++ b/drivers/gpu/drm/vboxvideo/vbox_main.c @@ -292,7 +292,7 @@ int vbox_gem_create(struct vbox_private *vbox, return ret; } - *obj = &gbo->gem; + *obj = &gbo->bo.base; return 0; } |