Lines Matching refs:rect
320 struct drm_rect *rect) in drm_atomic_helper_damage_iter_next() argument
325 *rect = iter->plane_src; in drm_atomic_helper_damage_iter_next()
331 *rect = iter->clips[iter->curr_clip]; in drm_atomic_helper_damage_iter_next()
334 if (drm_rect_intersect(rect, &iter->plane_src)) { in drm_atomic_helper_damage_iter_next()
361 struct drm_rect *rect) in drm_atomic_helper_damage_merged() argument
367 rect->x1 = INT_MAX; in drm_atomic_helper_damage_merged()
368 rect->y1 = INT_MAX; in drm_atomic_helper_damage_merged()
369 rect->x2 = 0; in drm_atomic_helper_damage_merged()
370 rect->y2 = 0; in drm_atomic_helper_damage_merged()
374 rect->x1 = min(rect->x1, clip.x1); in drm_atomic_helper_damage_merged()
375 rect->y1 = min(rect->y1, clip.y1); in drm_atomic_helper_damage_merged()
376 rect->x2 = max(rect->x2, clip.x2); in drm_atomic_helper_damage_merged()
377 rect->y2 = max(rect->y2, clip.y2); in drm_atomic_helper_damage_merged()