Lines Matching refs:drm_rects
2386 struct drm_rect *drm_rects; in vmw_kms_update_layout_ioctl() local
2410 drm_rects = (struct drm_rect *)rects; in vmw_kms_update_layout_ioctl()
2423 drm_rects[i].x1 = curr_rect.x; in vmw_kms_update_layout_ioctl()
2424 drm_rects[i].y1 = curr_rect.y; in vmw_kms_update_layout_ioctl()
2425 drm_rects[i].x2 = curr_rect.x + curr_rect.w; in vmw_kms_update_layout_ioctl()
2426 drm_rects[i].y2 = curr_rect.y + curr_rect.h; in vmw_kms_update_layout_ioctl()
2435 if (drm_rects[i].x1 < 0 || drm_rects[i].y1 < 0 || in vmw_kms_update_layout_ioctl()
2436 drm_rects[i].x2 > mode_config->max_width || in vmw_kms_update_layout_ioctl()
2437 drm_rects[i].y2 > mode_config->max_height) { in vmw_kms_update_layout_ioctl()
2444 ret = vmw_kms_check_display_memory(dev, arg->num_outputs, drm_rects); in vmw_kms_update_layout_ioctl()
2447 vmw_du_update_layout(dev_priv, arg->num_outputs, drm_rects); in vmw_kms_update_layout_ioctl()