Lines Matching defs:state
142 struct drm_atomic_state *state)
144 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state,
162 crtc_state = drm_atomic_get_existing_crtc_state(state,
217 struct drm_plane_state *state = plane->state;
219 struct drm_framebuffer *fb = state->fb;
228 fb->pitches[0] * (state->src.y1 >> 16) +
229 format->char_per_block[0] * (state->src.x1 >> 16);
235 fb->pitches[0] * (state->src.y1 >> 16) +
236 2 * format->char_per_block[0] * (state->src.x1 >> 17);
241 (((fb->pitches[1] >> 1) * (state->src.y1 >> 17) +
242 (state->src.x1 >> 17)) << 1);
248 static bool dcss_plane_needs_setup(struct drm_plane_state *state,
251 struct drm_framebuffer *fb = state->fb;
254 return state->crtc_x != old_state->crtc_x ||
255 state->crtc_y != old_state->crtc_y ||
256 state->crtc_w != old_state->crtc_w ||
257 state->crtc_h != old_state->crtc_h ||
258 state->src_x != old_state->src_x ||
259 state->src_y != old_state->src_y ||
260 state->src_w != old_state->src_w ||
261 state->src_h != old_state->src_h ||
264 state->rotation != old_state->rotation ||
265 state->scaling_filter != old_state->scaling_filter;
269 struct drm_atomic_state *state)
271 struct drm_plane_state *old_state = drm_atomic_get_old_plane_state(state,
273 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state,
288 crtc_state = new_state->crtc->state;
297 src = plane->state->src;
298 dst = plane->state->dst;
354 struct drm_atomic_state *state)