Lines Matching defs:state
22 struct drm_plane_state *state)
35 if (!state->crtc) {
40 state->visible = false;
44 crtc_state = drm_atomic_get_crtc_state(state->state, state->crtc);
48 ret = drm_atomic_helper_check_plane_state(state, crtc_state, 0,
65 finfo = drm_format_info(state->fb->format->format);
67 if ((state->src_x >> 16) % finfo->hsub != 0) {
70 __func__, (state->src_x >> 16), finfo->hsub);
74 if ((state->src_y >> 16) % finfo->vsub != 0) {
77 __func__, (state->src_y >> 16), finfo->vsub);
81 if ((state->src_w >> 16) % finfo->hsub != 0) {
84 __func__, (state->src_w >> 16), finfo->hsub);
88 if (!state->visible)
91 hw_videoport = to_tidss_crtc(state->crtc)->hw_videoport;
93 ret = dispc_plane_check(tidss->dispc, hw_plane, state, hw_videoport);
106 struct drm_plane_state *state = plane->state;
112 if (!state->visible) {
117 hw_videoport = to_tidss_crtc(state->crtc)->hw_videoport;
120 state, hw_videoport);