Home
last modified time | relevance | path

Searched refs:drm_rects (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/drivers/gpu/drm/vmwgfx/
Dvmwgfx_kms.c2507 struct drm_rect *drm_rects; in vmw_kms_update_layout_ioctl() local
2533 drm_rects = (struct drm_rect *)rects; in vmw_kms_update_layout_ioctl()
2547 drm_rects[i].x1 = curr_rect.x; in vmw_kms_update_layout_ioctl()
2548 drm_rects[i].y1 = curr_rect.y; in vmw_kms_update_layout_ioctl()
2549 drm_rects[i].x2 = curr_rect.x + curr_rect.w; in vmw_kms_update_layout_ioctl()
2550 drm_rects[i].y2 = curr_rect.y + curr_rect.h; in vmw_kms_update_layout_ioctl()
2553 drm_rects[i].x1, drm_rects[i].y1, in vmw_kms_update_layout_ioctl()
2554 drm_rects[i].x2, drm_rects[i].y2); in vmw_kms_update_layout_ioctl()
2563 if (drm_rects[i].x1 < 0 || drm_rects[i].y1 < 0 || in vmw_kms_update_layout_ioctl()
2564 drm_rects[i].x2 > mode_config->max_width || in vmw_kms_update_layout_ioctl()
[all …]