Lines Matching refs:dumb_shadow_bo
342 if (qdev->primary_bo == qdev->dumb_shadow_bo) in qxl_crtc_update_monitors_config()
786 if (!qdev->dumb_shadow_bo || in qxl_calc_dumb_shadow()
787 qdev->dumb_shadow_bo->surf.width != surf->width || in qxl_calc_dumb_shadow()
788 qdev->dumb_shadow_bo->surf.height != surf->height) in qxl_calc_dumb_shadow()
800 if (!qdev->dumb_shadow_bo || in qxl_prepare_shadow()
801 qdev->dumb_shadow_bo->surf.width != surf.width || in qxl_prepare_shadow()
802 qdev->dumb_shadow_bo->surf.height != surf.height) { in qxl_prepare_shadow()
803 if (qdev->dumb_shadow_bo) { in qxl_prepare_shadow()
804 qxl_bo_unpin(qdev->dumb_shadow_bo); in qxl_prepare_shadow()
806 (&qdev->dumb_shadow_bo->tbo.base); in qxl_prepare_shadow()
807 qdev->dumb_shadow_bo = NULL; in qxl_prepare_shadow()
811 &surf, &qdev->dumb_shadow_bo); in qxl_prepare_shadow()
813 if (user_bo->shadow != qdev->dumb_shadow_bo) { in qxl_prepare_shadow()
820 drm_gem_object_get(&qdev->dumb_shadow_bo->tbo.base); in qxl_prepare_shadow()
821 user_bo->shadow = qdev->dumb_shadow_bo; in qxl_prepare_shadow()
1274 if (qdev->dumb_shadow_bo) { in qxl_modeset_fini()
1275 qxl_bo_unpin(qdev->dumb_shadow_bo); in qxl_modeset_fini()
1276 drm_gem_object_put(&qdev->dumb_shadow_bo->tbo.base); in qxl_modeset_fini()
1277 qdev->dumb_shadow_bo = NULL; in qxl_modeset_fini()