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_release.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_release.c')
-rw-r--r-- | drivers/gpu/drm/qxl/qxl_release.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/qxl/qxl_release.c b/drivers/gpu/drm/qxl/qxl_release.c index b805bfa87b68..0022e31ba910 100644 --- a/drivers/gpu/drm/qxl/qxl_release.c +++ b/drivers/gpu/drm/qxl/qxl_release.c @@ -243,7 +243,7 @@ static int qxl_release_validate_bo(struct qxl_bo *bo) return ret; /* allocate a surface for reserved + validated buffers */ - ret = qxl_bo_check_id(bo->gem_base.dev->dev_private, bo); + ret = qxl_bo_check_id(bo->tbo.base.dev->dev_private, bo); if (ret) return ret; return 0; |