Lines Matching full:view
256 state->view.color_plane[color_plane].stride, in intel_plane_adjust_aligned_offset()
265 * to be already rotated to match the rotated GTT view, and
337 int pitch = state->view.color_plane[color_plane].stride; in intel_plane_compute_aligned_offset()
649 struct intel_fb_view *view) in calc_plane_remap_info() argument
652 struct intel_remapped_plane_info *remap_info = &view->gtt.remapped.plane[color_plane]; in calc_plane_remap_info()
653 struct i915_color_plane_view *color_plane_info = &view->color_plane[color_plane]; in calc_plane_remap_info()
665 if (view->gtt.type == I915_GGTT_VIEW_ROTATED) { in calc_plane_remap_info()
666 check_array_bounds(i915, view->gtt.rotated.plane, color_plane); in calc_plane_remap_info()
671 /* rotate the x/y offsets to match the GTT view */ in calc_plane_remap_info()
685 /* rotate the tile dimensions to match the GTT view */ in calc_plane_remap_info()
688 drm_WARN_ON(&i915->drm, view->gtt.type != I915_GGTT_VIEW_REMAPPED); in calc_plane_remap_info()
690 check_array_bounds(i915, view->gtt.remapped.plane, color_plane); in calc_plane_remap_info()
748 static void intel_fb_view_init(struct intel_fb_view *view, enum i915_ggtt_view_type view_type) in intel_fb_view_init() argument
750 memset(view, 0, sizeof(*view)); in intel_fb_view_init()
751 view->gtt.type = view_type; in intel_fb_view_init()
859 intel_fb_view_init(&plane_state->view, in intel_plane_remap_gtt()
874 /* Rotate src coordinates to match rotated GTT view */ in intel_plane_remap_gtt()
906 &plane_state->view); in intel_plane_remap_gtt()
911 struct intel_fb_view *view) in intel_fb_fill_view() argument
914 *view = fb->rotated_view; in intel_fb_fill_view()
916 *view = fb->remapped_view; in intel_fb_fill_view()
918 *view = fb->normal_view; in intel_fb_fill_view()
939 stride = plane_state->view.color_plane[0].stride; in intel_plane_check_stride()
974 intel_fb_fill_view(fb, rotation, &plane_state->view); in intel_plane_compute_gtt()
976 /* Rotate src coordinates to match rotated GTT view */ in intel_plane_compute_gtt()