Lines Matching refs:state
893 * Enable the audio mixer by de-asserting the soft reset. The audio state is set to
1057 * @state: The plane state
1059 * Set the format for @layer based on @state->fb->format. The layer must be
1063 struct drm_plane_state *state)
1065 const struct drm_format_info *info = state->fb->format;
1092 * @state: The plane state
1100 struct drm_plane_state *state)
1106 unsigned int width = state->crtc_w / (i ? info->hsub : 1);
1107 unsigned int height = state->crtc_h / (i ? info->vsub : 1);
1112 paddr = drm_fb_cma_get_gem_addr(state->fb, state, i);
1116 dma->sgl.icg = state->fb->pitches[i] - dma->sgl.size;
1147 struct drm_plane_state *state)
1151 if (!state->crtc)
1154 crtc_state = drm_atomic_get_crtc_state(state->state, state->crtc);
1158 return drm_atomic_helper_check_plane_state(state, crtc_state,
1184 old_state->fb->format->format != plane->state->fb->format->format)
1189 * disabled state to any format), reconfigure the format. Disable the
1196 zynqmp_disp_layer_set_format(layer, plane->state);
1199 zynqmp_disp_layer_update(layer, plane->state);
1447 struct drm_display_mode *adjusted_mode = &crtc->state->adjusted_mode;
1482 * Disable the plane if active. The old plane state can be NULL in the
1486 old_plane_state = drm_atomic_get_old_plane_state(old_crtc_state->state,
1496 if (crtc->state->event) {
1497 drm_crtc_send_vblank_event(crtc, crtc->state->event);
1498 crtc->state->event = NULL;
1507 struct drm_crtc_state *state)
1509 return drm_atomic_add_affected_planes(state->state, crtc);
1523 if (crtc->state->event) {
1527 event = crtc->state->event;
1528 crtc->state->event = NULL;