Lines Matching full:rotation

319 			       unsigned int rotation)  in skl_plane_max_width()  argument
358 unsigned int rotation) in glk_plane_max_width() argument
386 unsigned int rotation) in icl_plane_min_width() argument
426 unsigned int rotation) in icl_hdr_plane_max_width() argument
436 unsigned int rotation) in icl_sdr_plane_max_width() argument
443 unsigned int rotation) in skl_plane_max_height() argument
450 unsigned int rotation) in icl_plane_max_height() argument
458 unsigned int rotation) in skl_plane_max_stride() argument
485 if (drm_rotation_90_or_270(rotation)) in skl_plane_max_stride()
584 int color_plane, unsigned int rotation) in skl_plane_stride_mult() argument
592 else if (drm_rotation_90_or_270(rotation)) in skl_plane_stride_mult()
602 unsigned int rotation = plane_state->hw.rotation; in skl_plane_stride() local
608 return stride / skl_plane_stride_mult(fb, color_plane, rotation); in skl_plane_stride()
813 * while i915 HW rotation is clockwise, thats why this swapping. in skl_plane_ctl_rotate()
889 unsigned int rotation = plane_state->hw.rotation; in skl_plane_ctl() local
908 plane_ctl |= skl_plane_ctl_rotate(rotation & DRM_MODE_ROTATE_MASK); in skl_plane_ctl()
911 plane_ctl |= icl_plane_ctl_flip(rotation & in skl_plane_ctl()
1332 unsigned int rotation = plane_state->hw.rotation; in skl_plane_check_fb() local
1337 if (rotation & ~(DRM_MODE_ROTATE_0 | DRM_MODE_ROTATE_180) && in skl_plane_check_fb()
1340 "RC support only with 0/180 degree rotation (%x)\n", in skl_plane_check_fb()
1341 rotation); in skl_plane_check_fb()
1345 if (rotation & DRM_MODE_REFLECT_X && in skl_plane_check_fb()
1352 if (drm_rotation_90_or_270(rotation)) { in skl_plane_check_fb()
1444 unsigned int rotation = plane_state->hw.rotation; in skl_plane_check_nv12_rotation() local
1450 (rotation == DRM_MODE_ROTATE_270 || in skl_plane_check_nv12_rotation()
1451 rotation == (DRM_MODE_REFLECT_X | DRM_MODE_ROTATE_90))) { in skl_plane_check_nv12_rotation()
1478 unsigned int rotation) in intel_plane_min_width() argument
1481 return plane->min_width(fb, color_plane, rotation); in intel_plane_min_width()
1489 unsigned int rotation) in intel_plane_max_width() argument
1492 return plane->max_width(fb, color_plane, rotation); in intel_plane_max_width()
1500 unsigned int rotation) in intel_plane_max_height() argument
1503 return plane->max_height(fb, color_plane, rotation); in intel_plane_max_height()
1610 const unsigned int rotation = plane_state->hw.rotation; in skl_check_main_surface() local
1615 const int min_width = intel_plane_min_width(plane, fb, 0, rotation); in skl_check_main_surface()
1616 const int max_width = intel_plane_max_width(plane, fb, 0, rotation); in skl_check_main_surface()
1617 const int max_height = intel_plane_max_height(plane, fb, 0, rotation); in skl_check_main_surface()
1681 unsigned int rotation = plane_state->hw.rotation; in skl_check_nv12_aux_surface() local
1685 int max_width = intel_plane_max_width(plane, fb, uv_plane, rotation); in skl_check_nv12_aux_surface()
1686 int max_height = intel_plane_max_height(plane, fb, uv_plane, rotation); in skl_check_nv12_aux_surface()
2472 * while i915 HW rotation is clockwise, thats why this swapping. in skl_get_initial_plane_config()
2476 plane_config->rotation = DRM_MODE_ROTATE_0; in skl_get_initial_plane_config()
2479 plane_config->rotation = DRM_MODE_ROTATE_270; in skl_get_initial_plane_config()
2482 plane_config->rotation = DRM_MODE_ROTATE_180; in skl_get_initial_plane_config()
2485 plane_config->rotation = DRM_MODE_ROTATE_90; in skl_get_initial_plane_config()
2490 plane_config->rotation |= DRM_MODE_REFLECT_X; in skl_get_initial_plane_config()
2492 /* 90/270 degree rotation would require extra work */ in skl_get_initial_plane_config()
2493 if (drm_rotation_90_or_270(plane_config->rotation)) in skl_get_initial_plane_config()