Lines Matching defs:state
37 void armada_drm_plane_calc(struct drm_plane_state *state, u32 addrs[2][3],
40 struct drm_framebuffer *fb = state->fb;
43 unsigned int x = state->src.x1 >> 16;
44 unsigned int y = state->src.y1 >> 16;
82 struct drm_atomic_state *state)
84 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state,
97 if (state)
98 crtc_state = drm_atomic_get_existing_crtc_state(state,
101 crtc_state = crtc->state;
137 struct drm_atomic_state *state)
139 struct drm_plane_state *old_state = drm_atomic_get_old_plane_state(state,
141 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state,
181 new_state->crtc->state->mode_changed) {
191 new_state->crtc->state->mode_changed) {
227 struct drm_atomic_state *state)
229 struct drm_plane_state *old_state = drm_atomic_get_old_plane_state(state,
266 if (plane->state)
267 __drm_atomic_helper_plane_destroy_state(plane->state);
268 kfree(plane->state);
278 if (WARN_ON(!plane->state))
281 st = kmemdup(plane->state, sizeof(*st), GFP_KERNEL);