Lines Matching refs:rotation
210 unsigned int rotation, in intel_adjust_aligned_offset() argument
226 if (drm_rotation_90_or_270(rotation)) { in intel_adjust_aligned_offset()
256 state->hw.rotation, in intel_plane_adjust_aligned_offset()
280 unsigned int rotation, in intel_compute_aligned_offset() argument
293 if (drm_rotation_90_or_270(rotation)) { in intel_compute_aligned_offset()
337 unsigned int rotation = state->hw.rotation; in intel_plane_compute_aligned_offset() local
347 pitch, rotation, alignment); in intel_plane_compute_aligned_offset()
499 …atic int intel_fb_pitch(const struct intel_framebuffer *fb, int color_plane, unsigned int rotation) in intel_fb_pitch() argument
501 if (drm_rotation_90_or_270(rotation)) in intel_fb_pitch()
513 unsigned int rotation = plane_state->hw.rotation; in intel_plane_needs_remap() local
530 stride = intel_fb_pitch(fb, 0, rotation); in intel_plane_needs_remap()
532 fb->base.modifier, rotation); in intel_plane_needs_remap()
854 unsigned int rotation = plane_state->hw.rotation; in intel_plane_remap_gtt() local
861 drm_rotation_90_or_270(rotation) ? I915_GGTT_VIEW_ROTATED : in intel_plane_remap_gtt()
876 if (drm_rotation_90_or_270(rotation)) in intel_plane_remap_gtt()
911 void intel_fb_fill_view(const struct intel_framebuffer *fb, unsigned int rotation, in intel_fb_fill_view() argument
914 if (drm_rotation_90_or_270(rotation)) in intel_fb_fill_view()
926 unsigned int rotation = plane_state->hw.rotation; in intel_plane_check_stride() local
942 fb->modifier, rotation); in intel_plane_check_stride()
958 unsigned int rotation = plane_state->hw.rotation; in intel_plane_compute_gtt() local
975 intel_fb_fill_view(fb, rotation, &plane_state->view); in intel_plane_compute_gtt()
978 if (drm_rotation_90_or_270(rotation)) in intel_plane_compute_gtt()