Lines Matching defs:state
134 struct drm_plane_state *state, struct omap_overlay_info *info)
142 info->pos_x = state->crtc_x;
143 info->pos_y = state->crtc_y;
144 info->out_width = state->crtc_w;
145 info->out_height = state->crtc_h;
146 info->width = state->src_w >> 16;
147 info->height = state->src_h >> 16;
150 if (drm_rotation_90_or_270(state->rotation))
153 x = state->src_x >> 16;
154 y = state->src_y >> 16;
157 u32 w = state->src_w >> 16;
158 u32 h = state->src_h >> 16;
160 orient = drm_rotation_to_tiler(state->rotation);
184 info->rotation = state->rotation ?: DRM_MODE_ROTATE_0;
188 switch (state->rotation & DRM_MODE_ROTATE_MASK) {
197 state->rotation);