Lines Matching defs:rotation
326 unsigned int rotation)
365 unsigned int rotation)
393 unsigned int rotation)
433 unsigned int rotation)
443 unsigned int rotation)
450 unsigned int rotation)
457 unsigned int rotation)
465 unsigned int rotation)
492 if (drm_rotation_90_or_270(rotation))
591 int color_plane, unsigned int rotation)
599 else if (drm_rotation_90_or_270(rotation))
609 unsigned int rotation = plane_state->hw.rotation;
615 return stride / skl_plane_stride_mult(fb, color_plane, rotation);
828 * while i915 HW rotation is clockwise, thats why this swapping.
904 unsigned int rotation = plane_state->hw.rotation;
923 plane_ctl |= skl_plane_ctl_rotate(rotation & DRM_MODE_ROTATE_MASK);
926 plane_ctl |= icl_plane_ctl_flip(rotation &
1349 unsigned int rotation = plane_state->hw.rotation;
1354 if (rotation & ~(DRM_MODE_ROTATE_0 | DRM_MODE_ROTATE_180) &&
1357 "RC support only with 0/180 degree rotation (%x)\n",
1358 rotation);
1362 if (rotation & DRM_MODE_REFLECT_X &&
1369 if (drm_rotation_90_or_270(rotation)) {
1461 unsigned int rotation = plane_state->hw.rotation;
1467 (rotation == DRM_MODE_ROTATE_270 ||
1468 rotation == (DRM_MODE_REFLECT_X | DRM_MODE_ROTATE_90))) {
1495 unsigned int rotation)
1498 return plane->min_width(fb, color_plane, rotation);
1506 unsigned int rotation)
1509 return plane->max_width(fb, color_plane, rotation);
1517 unsigned int rotation)
1520 return plane->max_height(fb, color_plane, rotation);
1627 const unsigned int rotation = plane_state->hw.rotation;
1632 const int min_width = intel_plane_min_width(plane, fb, 0, rotation);
1633 const int max_width = intel_plane_max_width(plane, fb, 0, rotation);
1634 const int max_height = intel_plane_max_height(plane, fb, 0, rotation);
1698 unsigned int rotation = plane_state->hw.rotation;
1702 int max_width = intel_plane_max_width(plane, fb, uv_plane, rotation);
1703 int max_height = intel_plane_max_height(plane, fb, uv_plane, rotation);
2505 * while i915 HW rotation is clockwise, thats why this swapping.
2509 plane_config->rotation = DRM_MODE_ROTATE_0;
2512 plane_config->rotation = DRM_MODE_ROTATE_270;
2515 plane_config->rotation = DRM_MODE_ROTATE_180;
2518 plane_config->rotation = DRM_MODE_ROTATE_90;
2523 plane_config->rotation |= DRM_MODE_REFLECT_X;
2525 /* 90/270 degree rotation would require extra work */
2526 if (drm_rotation_90_or_270(plane_config->rotation))