Lines Matching defs:state
74 struct drm_plane_state *state)
78 if (!state->crtc)
81 crtc_state = drm_atomic_get_crtc_state(state->state, state->crtc);
90 return drm_atomic_helper_check_plane_state(state, crtc_state,
132 struct drm_plane_state *state = plane->state;
133 struct drm_rect dest = drm_plane_state_dest(state);
135 struct drm_framebuffer *fb = state->fb;
248 if (state->crtc->mode.flags & DRM_MODE_FLAG_INTERLACE) {
258 src_w = fixed16_to_int(state->src_w);
259 src_h = fixed16_to_int(state->src_h);
260 dst_w = state->crtc_w;
261 dst_h = state->crtc_h;
270 if (state->crtc->mode.flags & DRM_MODE_FLAG_INTERLACE) {
279 if (state->crtc->mode.flags & DRM_MODE_FLAG_INTERLACE)
311 if (state->crtc->mode.flags & DRM_MODE_FLAG_INTERLACE)
346 ((fixed16_to_int(state->src.x2) - 1) << 16) |
347 fixed16_to_int(state->src.x1);
349 ((fixed16_to_int(state->src.y2) - 1) << 16) |
350 fixed16_to_int(state->src.y1);