Lines Matching refs:rotation
362 unsigned int rotation) in skl_plane_max_width() argument
401 unsigned int rotation) in glk_plane_max_width() argument
429 unsigned int rotation) in icl_plane_min_width() argument
469 unsigned int rotation) in icl_plane_max_width() argument
476 unsigned int rotation) in skl_plane_max_height() argument
483 unsigned int rotation) in icl_plane_max_height() argument
491 unsigned int rotation) in skl_plane_max_stride() argument
518 if (drm_rotation_90_or_270(rotation)) in skl_plane_max_stride()
617 int color_plane, unsigned int rotation) in skl_plane_stride_mult() argument
625 else if (drm_rotation_90_or_270(rotation)) in skl_plane_stride_mult()
635 unsigned int rotation = plane_state->hw.rotation; in skl_plane_stride() local
641 return stride / skl_plane_stride_mult(fb, color_plane, rotation); in skl_plane_stride()
901 unsigned int rotation = plane_state->hw.rotation; in skl_plane_ctl() local
920 plane_ctl |= skl_plane_ctl_rotate(rotation & DRM_MODE_ROTATE_MASK); in skl_plane_ctl()
923 plane_ctl |= icl_plane_ctl_flip(rotation & in skl_plane_ctl()
1229 unsigned int rotation = plane_state->hw.rotation; in skl_plane_check_fb() local
1234 if (rotation & ~(DRM_MODE_ROTATE_0 | DRM_MODE_ROTATE_180) && in skl_plane_check_fb()
1238 rotation); in skl_plane_check_fb()
1242 if (rotation & DRM_MODE_REFLECT_X && in skl_plane_check_fb()
1249 if (drm_rotation_90_or_270(rotation)) { in skl_plane_check_fb()
1345 unsigned int rotation = plane_state->hw.rotation; in skl_plane_check_nv12_rotation() local
1351 (rotation == DRM_MODE_ROTATE_270 || in skl_plane_check_nv12_rotation()
1352 rotation == (DRM_MODE_REFLECT_X | DRM_MODE_ROTATE_90))) { in skl_plane_check_nv12_rotation()
1379 unsigned int rotation) in intel_plane_min_width() argument
1382 return plane->min_width(fb, color_plane, rotation); in intel_plane_min_width()
1390 unsigned int rotation) in intel_plane_max_width() argument
1393 return plane->max_width(fb, color_plane, rotation); in intel_plane_max_width()
1401 unsigned int rotation) in intel_plane_max_height() argument
1404 return plane->max_height(fb, color_plane, rotation); in intel_plane_max_height()
1511 const unsigned int rotation = plane_state->hw.rotation; in skl_check_main_surface() local
1516 const int min_width = intel_plane_min_width(plane, fb, 0, rotation); in skl_check_main_surface()
1517 const int max_width = intel_plane_max_width(plane, fb, 0, rotation); in skl_check_main_surface()
1518 const int max_height = intel_plane_max_height(plane, fb, 0, rotation); in skl_check_main_surface()
1581 unsigned int rotation = plane_state->hw.rotation; in skl_check_nv12_aux_surface() local
1583 int max_width = intel_plane_max_width(plane, fb, uv_plane, rotation); in skl_check_nv12_aux_surface()
1584 int max_height = intel_plane_max_height(plane, fb, uv_plane, rotation); in skl_check_nv12_aux_surface()
2333 plane_config->rotation = DRM_MODE_ROTATE_0; in skl_get_initial_plane_config()
2336 plane_config->rotation = DRM_MODE_ROTATE_270; in skl_get_initial_plane_config()
2339 plane_config->rotation = DRM_MODE_ROTATE_180; in skl_get_initial_plane_config()
2342 plane_config->rotation = DRM_MODE_ROTATE_90; in skl_get_initial_plane_config()
2347 plane_config->rotation |= DRM_MODE_REFLECT_X; in skl_get_initial_plane_config()
2350 if (drm_rotation_90_or_270(plane_config->rotation)) in skl_get_initial_plane_config()