Lines Matching refs:rotation

326 			       unsigned int rotation)  in skl_plane_max_width()  argument
364 unsigned int rotation) in glk_plane_max_width() argument
392 unsigned int rotation) in icl_plane_min_width() argument
432 unsigned int rotation) in xe3_plane_max_width() argument
442 unsigned int rotation) in icl_hdr_plane_max_width() argument
452 unsigned int rotation) in icl_sdr_plane_max_width() argument
459 unsigned int rotation) in skl_plane_max_height() argument
466 unsigned int rotation) in icl_plane_max_height() argument
474 unsigned int rotation, in plane_max_stride() argument
481 if (drm_rotation_90_or_270(rotation)) in plane_max_stride()
490 unsigned int rotation) in adl_plane_max_stride() argument
496 modifier, rotation, in adl_plane_max_stride()
503 unsigned int rotation) in skl_plane_max_stride() argument
509 modifier, rotation, in skl_plane_max_stride()
757 int color_plane, unsigned int rotation) in skl_plane_stride_mult() argument
765 else if (drm_rotation_90_or_270(rotation)) in skl_plane_stride_mult()
775 unsigned int rotation = plane_state->hw.rotation; in skl_plane_stride() local
781 return stride / skl_plane_stride_mult(fb, color_plane, rotation); in skl_plane_stride()
1174 unsigned int rotation = plane_state->hw.rotation; in skl_plane_ctl() local
1193 plane_ctl |= skl_plane_ctl_rotate(rotation & DRM_MODE_ROTATE_MASK); in skl_plane_ctl()
1196 plane_ctl |= icl_plane_ctl_flip(rotation & in skl_plane_ctl()
1721 unsigned int rotation = plane_state->hw.rotation; in skl_plane_check_fb() local
1726 if (rotation & ~(DRM_MODE_ROTATE_0 | DRM_MODE_ROTATE_180) && in skl_plane_check_fb()
1730 plane->base.base.id, plane->base.name, rotation); in skl_plane_check_fb()
1734 if (rotation & DRM_MODE_REFLECT_X && in skl_plane_check_fb()
1745 if (rotation & DRM_MODE_REFLECT_X && in skl_plane_check_fb()
1754 if (drm_rotation_90_or_270(rotation)) { in skl_plane_check_fb()
1851 unsigned int rotation = plane_state->hw.rotation; in skl_plane_check_nv12_rotation() local
1857 (rotation == DRM_MODE_ROTATE_270 || in skl_plane_check_nv12_rotation()
1858 rotation == (DRM_MODE_REFLECT_X | DRM_MODE_ROTATE_90))) { in skl_plane_check_nv12_rotation()
1887 unsigned int rotation) in intel_plane_min_width() argument
1890 return plane->min_width(fb, color_plane, rotation); in intel_plane_min_width()
1898 unsigned int rotation) in intel_plane_max_width() argument
1901 return plane->max_width(fb, color_plane, rotation); in intel_plane_max_width()
1909 unsigned int rotation) in intel_plane_max_height() argument
1912 return plane->max_height(fb, color_plane, rotation); in intel_plane_max_height()
2020 unsigned int rotation = plane_state->hw.rotation; in skl_check_main_surface() local
2025 int min_width = intel_plane_min_width(plane, fb, 0, rotation); in skl_check_main_surface()
2026 int max_width = intel_plane_max_width(plane, fb, 0, rotation); in skl_check_main_surface()
2027 int max_height = intel_plane_max_height(plane, fb, 0, rotation); in skl_check_main_surface()
2093 unsigned int rotation = plane_state->hw.rotation; in skl_check_nv12_aux_surface() local
2097 int max_width = intel_plane_max_width(plane, fb, uv_plane, rotation); in skl_check_nv12_aux_surface()
2098 int max_height = intel_plane_max_height(plane, fb, uv_plane, rotation); in skl_check_nv12_aux_surface()
2277 unsigned int rotation = plane_state->hw.rotation; in make_damage_viewport_relative() local
2288 if (drm_rotation_90_or_270(rotation)) { in make_damage_viewport_relative()
3102 plane_config->rotation = DRM_MODE_ROTATE_0; in skl_get_initial_plane_config()
3105 plane_config->rotation = DRM_MODE_ROTATE_270; in skl_get_initial_plane_config()
3108 plane_config->rotation = DRM_MODE_ROTATE_180; in skl_get_initial_plane_config()
3111 plane_config->rotation = DRM_MODE_ROTATE_90; in skl_get_initial_plane_config()
3116 plane_config->rotation |= DRM_MODE_REFLECT_X; in skl_get_initial_plane_config()
3119 if (drm_rotation_90_or_270(plane_config->rotation)) in skl_get_initial_plane_config()