Lines Matching full:rotation
326 unsigned int rotation)
364 unsigned int rotation)
392 unsigned int rotation)
432 unsigned int rotation)
442 unsigned int rotation)
452 unsigned int rotation)
459 unsigned int rotation)
466 unsigned int rotation)
474 unsigned int rotation,
481 if (drm_rotation_90_or_270(rotation))
490 unsigned int rotation)
496 modifier, rotation,
503 unsigned int rotation)
509 modifier, rotation,
757 int color_plane, unsigned int rotation)
765 else if (drm_rotation_90_or_270(rotation))
775 unsigned int rotation = plane_state->hw.rotation;
781 return stride / skl_plane_stride_mult(fb, color_plane, rotation);
1099 * while i915 HW rotation is clockwise, that's why this swapping.
1174 unsigned int rotation = plane_state->hw.rotation;
1193 plane_ctl |= skl_plane_ctl_rotate(rotation & DRM_MODE_ROTATE_MASK);
1196 plane_ctl |= icl_plane_ctl_flip(rotation &
1721 unsigned int rotation = plane_state->hw.rotation;
1726 if (rotation & ~(DRM_MODE_ROTATE_0 | DRM_MODE_ROTATE_180) &&
1729 "[PLANE:%d:%s] RC support only with 0/180 degree rotation (%x)\n",
1730 plane->base.base.id, plane->base.name, rotation);
1734 if (rotation & DRM_MODE_REFLECT_X &&
1745 if (rotation & DRM_MODE_REFLECT_X &&
1754 if (drm_rotation_90_or_270(rotation)) {
1851 unsigned int rotation = plane_state->hw.rotation;
1857 (rotation == DRM_MODE_ROTATE_270 ||
1858 rotation == (DRM_MODE_REFLECT_X | DRM_MODE_ROTATE_90))) {
1887 unsigned int rotation)
1890 return plane->min_width(fb, color_plane, rotation);
1898 unsigned int rotation)
1901 return plane->max_width(fb, color_plane, rotation);
1909 unsigned int rotation)
1912 return plane->max_height(fb, color_plane, rotation);
2020 unsigned int rotation = plane_state->hw.rotation;
2025 int min_width = intel_plane_min_width(plane, fb, 0, rotation);
2026 int max_width = intel_plane_max_width(plane, fb, 0, rotation);
2027 int max_height = intel_plane_max_height(plane, fb, 0, rotation);
2093 unsigned int rotation = plane_state->hw.rotation;
2097 int max_width = intel_plane_max_width(plane, fb, uv_plane, rotation);
2098 int max_height = intel_plane_max_height(plane, fb, uv_plane, rotation);
2277 unsigned int rotation = plane_state->hw.rotation;
2288 if (drm_rotation_90_or_270(rotation)) {
3101 * while i915 HW rotation is clockwise, that's why this swapping.
3105 plane_config->rotation = DRM_MODE_ROTATE_0;
3108 plane_config->rotation = DRM_MODE_ROTATE_270;
3111 plane_config->rotation = DRM_MODE_ROTATE_180;
3114 plane_config->rotation = DRM_MODE_ROTATE_90;
3119 plane_config->rotation |= DRM_MODE_REFLECT_X;
3121 /* 90/270 degree rotation would require extra work */
3122 if (drm_rotation_90_or_270(plane_config->rotation))