diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2019-08-05 17:01:05 +0300 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-08-06 09:21:54 +0300 |
commit | e0828d54c81cb111ead1a7c47a5ef1b319610a1d (patch) | |
tree | 828592e736348fc6de30c703b322fa5955b1e612 /drivers/gpu/drm/qxl/qxl_gem.c | |
parent | 0e580c6d7d2f2d490add0fcf70c5b7ec2300e636 (diff) | |
download | linux-e0828d54c81cb111ead1a7c47a5ef1b319610a1d.tar.xz |
drm/qxl: use embedded gem object
Drop drm_gem_object from qxl_bo, use the
ttm_buffer_object.base instead.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Christian König <christian.koenig@amd.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20190805140119.7337-4-kraxel@redhat.com
Diffstat (limited to 'drivers/gpu/drm/qxl/qxl_gem.c')
-rw-r--r-- | drivers/gpu/drm/qxl/qxl_gem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/qxl/qxl_gem.c b/drivers/gpu/drm/qxl/qxl_gem.c index 89e4f9a7249c..69f37db1027a 100644 --- a/drivers/gpu/drm/qxl/qxl_gem.c +++ b/drivers/gpu/drm/qxl/qxl_gem.c @@ -63,7 +63,7 @@ int qxl_gem_object_create(struct qxl_device *qdev, int size, size, initial_domain, alignment, r); return r; } - *obj = &qbo->gem_base; + *obj = &qbo->tbo.base; mutex_lock(&qdev->gem.mutex); list_add_tail(&qbo->list, &qdev->gem.objects); |