Lines Matching full:rotation
361 unsigned int rotation) in skl_plane_max_width() argument
400 unsigned int rotation) in glk_plane_max_width() argument
428 unsigned int rotation) in icl_plane_min_width() argument
468 unsigned int rotation) in icl_plane_max_width() argument
475 unsigned int rotation) in skl_plane_max_height() argument
482 unsigned int rotation) in icl_plane_max_height() argument
490 unsigned int rotation) in skl_plane_max_stride() argument
517 if (drm_rotation_90_or_270(rotation)) in skl_plane_max_stride()
616 int color_plane, unsigned int rotation) in skl_plane_stride_mult() argument
624 else if (drm_rotation_90_or_270(rotation)) in skl_plane_stride_mult()
634 unsigned int rotation = plane_state->hw.rotation; in skl_plane_stride() local
640 return stride / skl_plane_stride_mult(fb, color_plane, rotation); in skl_plane_stride()
823 * while i915 HW rotation is clockwise, thats why this swapping. in skl_plane_ctl_rotate()
899 unsigned int rotation = plane_state->hw.rotation; in skl_plane_ctl() local
918 plane_ctl |= skl_plane_ctl_rotate(rotation & DRM_MODE_ROTATE_MASK); in skl_plane_ctl()
921 plane_ctl |= icl_plane_ctl_flip(rotation & in skl_plane_ctl()
1181 unsigned int rotation = plane_state->hw.rotation; in skl_plane_check_fb() local
1186 if (rotation & ~(DRM_MODE_ROTATE_0 | DRM_MODE_ROTATE_180) && in skl_plane_check_fb()
1189 "RC support only with 0/180 degree rotation (%x)\n", in skl_plane_check_fb()
1190 rotation); in skl_plane_check_fb()
1194 if (rotation & DRM_MODE_REFLECT_X && in skl_plane_check_fb()
1201 if (drm_rotation_90_or_270(rotation)) { in skl_plane_check_fb()
1297 unsigned int rotation = plane_state->hw.rotation; in skl_plane_check_nv12_rotation() local
1303 (rotation == DRM_MODE_ROTATE_270 || in skl_plane_check_nv12_rotation()
1304 rotation == (DRM_MODE_REFLECT_X | DRM_MODE_ROTATE_90))) { in skl_plane_check_nv12_rotation()
1331 unsigned int rotation) in intel_plane_min_width() argument
1334 return plane->min_width(fb, color_plane, rotation); in intel_plane_min_width()
1342 unsigned int rotation) in intel_plane_max_width() argument
1345 return plane->max_width(fb, color_plane, rotation); in intel_plane_max_width()
1353 unsigned int rotation) in intel_plane_max_height() argument
1356 return plane->max_height(fb, color_plane, rotation); in intel_plane_max_height()
1463 const unsigned int rotation = plane_state->hw.rotation; in skl_check_main_surface() local
1468 const int min_width = intel_plane_min_width(plane, fb, 0, rotation); in skl_check_main_surface()
1469 const int max_width = intel_plane_max_width(plane, fb, 0, rotation); in skl_check_main_surface()
1470 const int max_height = intel_plane_max_height(plane, fb, 0, rotation); in skl_check_main_surface()
1533 unsigned int rotation = plane_state->hw.rotation; in skl_check_nv12_aux_surface() local
1535 int max_width = intel_plane_max_width(plane, fb, uv_plane, rotation); in skl_check_nv12_aux_surface()
1536 int max_height = intel_plane_max_height(plane, fb, uv_plane, rotation); in skl_check_nv12_aux_surface()
2281 * while i915 HW rotation is clockwise, thats why this swapping. in skl_get_initial_plane_config()
2285 plane_config->rotation = DRM_MODE_ROTATE_0; in skl_get_initial_plane_config()
2288 plane_config->rotation = DRM_MODE_ROTATE_270; in skl_get_initial_plane_config()
2291 plane_config->rotation = DRM_MODE_ROTATE_180; in skl_get_initial_plane_config()
2294 plane_config->rotation = DRM_MODE_ROTATE_90; in skl_get_initial_plane_config()
2299 plane_config->rotation |= DRM_MODE_REFLECT_X; in skl_get_initial_plane_config()
2301 /* 90/270 degree rotation would require extra work */ in skl_get_initial_plane_config()
2302 if (drm_rotation_90_or_270(plane_config->rotation)) in skl_get_initial_plane_config()