diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2021-07-13 16:55:57 +0300 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2021-07-13 16:55:57 +0300 |
commit | 4db1cb1338d914dca6225dd2bb1de37991167843 (patch) | |
tree | 3452940ca67b4c0f3d9373ed50c224d18f8a12c0 /drivers/gpu/drm/qxl/qxl_ttm.c | |
parent | 1e7b5812f4890ad84058bbb6c4a5deddfb2c5b25 (diff) | |
parent | 34bd46bcf3de72cbffcdc42d3fa67e543d1c869b (diff) | |
download | linux-4db1cb1338d914dca6225dd2bb1de37991167843.tar.xz |
Merge remote-tracking branch 'drm-misc/drm-misc-next-fixes' into drm-misc-fixes
Picking up left-over patches in drm-misc-next-fixes.
Diffstat (limited to 'drivers/gpu/drm/qxl/qxl_ttm.c')
-rw-r--r-- | drivers/gpu/drm/qxl/qxl_ttm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/qxl/qxl_ttm.c b/drivers/gpu/drm/qxl/qxl_ttm.c index 19fd39d9a00c..37a1b6a6ad6d 100644 --- a/drivers/gpu/drm/qxl/qxl_ttm.c +++ b/drivers/gpu/drm/qxl/qxl_ttm.c @@ -127,7 +127,7 @@ static void qxl_bo_move_notify(struct ttm_buffer_object *bo, struct qxl_bo *qbo; struct qxl_device *qdev; - if (!qxl_ttm_bo_is_qxl_bo(bo)) + if (!qxl_ttm_bo_is_qxl_bo(bo) || !bo->resource) return; qbo = to_qxl_bo(bo); qdev = to_qxl(qbo->tbo.base.dev); |