Lines Matching refs:state
410 if (!crtc->state->color_mgmt_changed || !crtc->state->gamma_lut)
413 lut = (struct drm_color_lut *)crtc->state->gamma_lut->data;
532 struct drm_display_mode *mode = &crtc->state->adjusted_mode;
636 struct drm_pending_vblank_event *event = crtc->state->event;
646 crtc->state->event = NULL;
719 struct drm_crtc_state *state = crtc->state;
723 if (state->enable)
757 struct drm_plane_state *state)
759 struct drm_framebuffer *fb = state->fb;
768 src_w = state->src_w >> 16;
769 src_h = state->src_h >> 16;
772 if (src_w != state->crtc_w || src_h != state->crtc_h) {
784 struct drm_plane_state *state = plane->state;
785 struct drm_framebuffer *fb = state->fb;
787 u32 x0 = state->crtc_x;
788 u32 x1 = state->crtc_x + state->crtc_w - 1;
789 u32 y0 = state->crtc_y;
790 u32 y1 = state->crtc_y + state->crtc_h - 1;
795 if (!state->crtc || !fb) {
801 src_x = state->src_x >> 16;
802 src_y = state->src_y >> 16;
803 src_w = state->src_w >> 16;
804 src_h = state->src_h >> 16;
809 state->crtc_w, state->crtc_h,
810 state->crtc_x, state->crtc_y);
869 paddr = (u32)drm_fb_cma_get_gem_addr(fb, state, 0);
908 const struct drm_plane_state *state)
910 struct drm_plane *plane = state->plane;
1075 /* Set to sleep state the pinctrl whatever type of encoder */
1099 * Set to default state the pinctrl only with DPI type.