Lines Matching refs:state
136 struct drm_plane_state *state,
146 info->pos_x = state->crtc_x;
147 info->pos_y = state->crtc_y;
148 info->out_width = state->crtc_w;
149 info->out_height = state->crtc_h;
150 info->width = state->src_w >> 16;
151 info->height = state->src_h >> 16;
154 if (drm_rotation_90_or_270(state->rotation))
157 x = state->src_x >> 16;
158 y = state->src_y >> 16;
161 u32 w = state->src_w >> 16;
162 u32 h = state->src_h >> 16;
164 orient = drm_rotation_to_tiler(state->rotation);
188 info->rotation = state->rotation ?: DRM_MODE_ROTATE_0;
192 switch (state->rotation & DRM_MODE_ROTATE_MASK) {
201 state->rotation);