Lines Matching full:rotation
328 unsigned int rotation) in skl_plane_max_width() argument
366 unsigned int rotation) in glk_plane_max_width() argument
394 unsigned int rotation) in icl_plane_min_width() argument
434 unsigned int rotation) in xe3_plane_max_width() argument
444 unsigned int rotation) in icl_hdr_plane_max_width() argument
454 unsigned int rotation) in icl_sdr_plane_max_width() argument
461 unsigned int rotation) in skl_plane_max_height() argument
468 unsigned int rotation) in icl_plane_max_height() argument
476 unsigned int rotation, in plane_max_stride() argument
483 if (drm_rotation_90_or_270(rotation)) in plane_max_stride()
492 unsigned int rotation) in adl_plane_max_stride() argument
498 modifier, rotation, in adl_plane_max_stride()
505 unsigned int rotation) in skl_plane_max_stride() argument
511 modifier, rotation, in skl_plane_max_stride()
680 int color_plane, unsigned int rotation) in skl_plane_stride_mult() argument
688 else if (drm_rotation_90_or_270(rotation)) in skl_plane_stride_mult()
698 unsigned int rotation = plane_state->hw.rotation; in skl_plane_stride() local
704 return stride / skl_plane_stride_mult(fb, color_plane, rotation); in skl_plane_stride()
1023 * while i915 HW rotation is clockwise, thats why this swapping. in skl_plane_ctl_rotate()
1099 unsigned int rotation = plane_state->hw.rotation; in skl_plane_ctl() local
1118 plane_ctl |= skl_plane_ctl_rotate(rotation & DRM_MODE_ROTATE_MASK); in skl_plane_ctl()
1121 plane_ctl |= icl_plane_ctl_flip(rotation & in skl_plane_ctl()
1639 unsigned int rotation = plane_state->hw.rotation; in skl_plane_check_fb() local
1644 if (rotation & ~(DRM_MODE_ROTATE_0 | DRM_MODE_ROTATE_180) && in skl_plane_check_fb()
1647 "RC support only with 0/180 degree rotation (%x)\n", in skl_plane_check_fb()
1648 rotation); in skl_plane_check_fb()
1652 if (rotation & DRM_MODE_REFLECT_X && in skl_plane_check_fb()
1662 if (rotation & DRM_MODE_REFLECT_X && in skl_plane_check_fb()
1670 if (drm_rotation_90_or_270(rotation)) { in skl_plane_check_fb()
1762 unsigned int rotation = plane_state->hw.rotation; in skl_plane_check_nv12_rotation() local
1768 (rotation == DRM_MODE_ROTATE_270 || in skl_plane_check_nv12_rotation()
1769 rotation == (DRM_MODE_REFLECT_X | DRM_MODE_ROTATE_90))) { in skl_plane_check_nv12_rotation()
1796 unsigned int rotation) in intel_plane_min_width() argument
1799 return plane->min_width(fb, color_plane, rotation); in intel_plane_min_width()
1807 unsigned int rotation) in intel_plane_max_width() argument
1810 return plane->max_width(fb, color_plane, rotation); in intel_plane_max_width()
1818 unsigned int rotation) in intel_plane_max_height() argument
1821 return plane->max_height(fb, color_plane, rotation); in intel_plane_max_height()
1928 unsigned int rotation = plane_state->hw.rotation; in skl_check_main_surface() local
1933 int min_width = intel_plane_min_width(plane, fb, 0, rotation); in skl_check_main_surface()
1934 int max_width = intel_plane_max_width(plane, fb, 0, rotation); in skl_check_main_surface()
1935 int max_height = intel_plane_max_height(plane, fb, 0, rotation); in skl_check_main_surface()
1999 unsigned int rotation = plane_state->hw.rotation; in skl_check_nv12_aux_surface() local
2003 int max_width = intel_plane_max_width(plane, fb, uv_plane, rotation); in skl_check_nv12_aux_surface()
2004 int max_height = intel_plane_max_height(plane, fb, uv_plane, rotation); in skl_check_nv12_aux_surface()
2884 * while i915 HW rotation is clockwise, thats why this swapping. in skl_get_initial_plane_config()
2888 plane_config->rotation = DRM_MODE_ROTATE_0; in skl_get_initial_plane_config()
2891 plane_config->rotation = DRM_MODE_ROTATE_270; in skl_get_initial_plane_config()
2894 plane_config->rotation = DRM_MODE_ROTATE_180; in skl_get_initial_plane_config()
2897 plane_config->rotation = DRM_MODE_ROTATE_90; in skl_get_initial_plane_config()
2902 plane_config->rotation |= DRM_MODE_REFLECT_X; in skl_get_initial_plane_config()
2904 /* 90/270 degree rotation would require extra work */ in skl_get_initial_plane_config()
2905 if (drm_rotation_90_or_270(plane_config->rotation)) in skl_get_initial_plane_config()