Lines Matching full:y1
59 static void set_plane_src(struct drm_plane_state *state, int x1, int y1, int x2, in set_plane_src() argument
63 state->src_y = y1; in set_plane_src()
65 state->src_h = y2 - y1; in set_plane_src()
68 state->src.y1 = y1; in set_plane_src()
73 static void set_damage_clip(struct drm_mode_rect *r, int x1, int y1, int x2, in set_damage_clip() argument
77 r->y1 = y1; in set_damage_clip()
96 int x1, int y1, int x2, int y2) in check_damage_clip() argument
102 * Round down x1/y1 and round up x2/y2. This is because damage is not in in check_damage_clip()
106 int src_y1 = state.src.y1 >> 16; in check_damage_clip()
110 if (x1 >= x2 || y1 >= y2) in check_damage_clip()
112 if (x1 < src_x1 || y1 < src_y1 || x2 > src_x2 || y2 > src_y2) in check_damage_clip()
114 if (r->x1 != x1 || r->y1 != y1 || r->x2 != x2 || r->y2 != y2) in check_damage_clip()
116 r->x1, r->y1, r->x2, r->y2, x1, y1, x2, y2); in check_damage_clip()