Lines Matching full:rotation
327 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 icl_hdr_plane_max_width() argument
444 unsigned int rotation) in icl_sdr_plane_max_width() argument
451 unsigned int rotation) in skl_plane_max_height() argument
458 unsigned int rotation) in icl_plane_max_height() argument
466 unsigned int rotation) in skl_plane_max_stride() argument
493 if (drm_rotation_90_or_270(rotation)) in skl_plane_max_stride()
592 int color_plane, unsigned int rotation) in skl_plane_stride_mult() argument
600 else if (drm_rotation_90_or_270(rotation)) in skl_plane_stride_mult()
610 unsigned int rotation = plane_state->hw.rotation; in skl_plane_stride() local
616 return stride / skl_plane_stride_mult(fb, color_plane, rotation); in skl_plane_stride()
841 * while i915 HW rotation is clockwise, thats why this swapping. in skl_plane_ctl_rotate()
917 unsigned int rotation = plane_state->hw.rotation; in skl_plane_ctl() local
936 plane_ctl |= skl_plane_ctl_rotate(rotation & DRM_MODE_ROTATE_MASK); in skl_plane_ctl()
939 plane_ctl |= icl_plane_ctl_flip(rotation & in skl_plane_ctl()
1422 unsigned int rotation = plane_state->hw.rotation; in skl_plane_check_fb() local
1427 if (rotation & ~(DRM_MODE_ROTATE_0 | DRM_MODE_ROTATE_180) && in skl_plane_check_fb()
1430 "RC support only with 0/180 degree rotation (%x)\n", in skl_plane_check_fb()
1431 rotation); in skl_plane_check_fb()
1435 if (rotation & DRM_MODE_REFLECT_X && in skl_plane_check_fb()
1442 if (drm_rotation_90_or_270(rotation)) { in skl_plane_check_fb()
1534 unsigned int rotation = plane_state->hw.rotation; in skl_plane_check_nv12_rotation() local
1540 (rotation == DRM_MODE_ROTATE_270 || in skl_plane_check_nv12_rotation()
1541 rotation == (DRM_MODE_REFLECT_X | DRM_MODE_ROTATE_90))) { in skl_plane_check_nv12_rotation()
1568 unsigned int rotation) in intel_plane_min_width() argument
1571 return plane->min_width(fb, color_plane, rotation); in intel_plane_min_width()
1579 unsigned int rotation) in intel_plane_max_width() argument
1582 return plane->max_width(fb, color_plane, rotation); in intel_plane_max_width()
1590 unsigned int rotation) in intel_plane_max_height() argument
1593 return plane->max_height(fb, color_plane, rotation); in intel_plane_max_height()
1700 const unsigned int rotation = plane_state->hw.rotation; in skl_check_main_surface() local
1705 const int min_width = intel_plane_min_width(plane, fb, 0, rotation); in skl_check_main_surface()
1706 const int max_width = intel_plane_max_width(plane, fb, 0, rotation); in skl_check_main_surface()
1707 const int max_height = intel_plane_max_height(plane, fb, 0, rotation); in skl_check_main_surface()
1771 unsigned int rotation = plane_state->hw.rotation; in skl_check_nv12_aux_surface() local
1775 int max_width = intel_plane_max_width(plane, fb, uv_plane, rotation); in skl_check_nv12_aux_surface()
1776 int max_height = intel_plane_max_height(plane, fb, uv_plane, rotation); in skl_check_nv12_aux_surface()
2572 * while i915 HW rotation is clockwise, thats why this swapping. in skl_get_initial_plane_config()
2576 plane_config->rotation = DRM_MODE_ROTATE_0; in skl_get_initial_plane_config()
2579 plane_config->rotation = DRM_MODE_ROTATE_270; in skl_get_initial_plane_config()
2582 plane_config->rotation = DRM_MODE_ROTATE_180; in skl_get_initial_plane_config()
2585 plane_config->rotation = DRM_MODE_ROTATE_90; in skl_get_initial_plane_config()
2590 plane_config->rotation |= DRM_MODE_REFLECT_X; in skl_get_initial_plane_config()
2592 /* 90/270 degree rotation would require extra work */ in skl_get_initial_plane_config()
2593 if (drm_rotation_90_or_270(plane_config->rotation)) in skl_get_initial_plane_config()