Lines Matching full:rotation
136 * direction_for_rotation() - Get the correct reading direction for a given rotation
138 * @rotation: Rotation to analyze. It correspond the field @frame_info.rotation.
140 * This function will use the @rotation setting of a source plane to compute the reading
145 static enum pixel_read_direction direction_for_rotation(unsigned int rotation) in direction_for_rotation() argument
160 drm_rect_rotate_inv(&tmp_a, 1, 1, rotation); in direction_for_rotation()
161 drm_rect_rotate_inv(&tmp_b, 1, 1, rotation); in direction_for_rotation()
175 WARN_ONCE(true, "The inverse of the rotation gives an incorrect direction."); in direction_for_rotation()
300 * - Invert the rotation. This assumes that in blend_line()
301 * dst = drm_rect_rotate(src, rotation) (dst and src have the in blend_line()
309 current_plane->frame_info->rotation); in blend_line()
315 direction_for_rotation(current_plane->frame_info->rotation); in blend_line()
327 * Modify the starting point to take in account the rotation in blend_line()