Lines Matching refs:omap_state

40 	struct omap_plane_state *omap_state = to_omap_plane_state(state);  in is_omap_plane_dual_overlay()  local
42 return !!omap_state->r_overlay; in is_omap_plane_dual_overlay()
208 struct omap_plane_state *omap_state = to_omap_plane_state(new_plane_state); in omap_plane_atomic_check() local
253 omap_overlay_release(state, omap_state->overlay); in omap_plane_atomic_check()
254 omap_overlay_release(state, omap_state->r_overlay); in omap_plane_atomic_check()
255 omap_state->overlay = NULL; in omap_plane_atomic_check()
256 omap_state->r_overlay = NULL; in omap_plane_atomic_check()
312 if (!omap_state->overlay || (caps & ~omap_state->overlay->caps)) { in omap_plane_atomic_check()
316 if (!dispc_ovl_color_mode_supported(priv->dispc, omap_state->overlay->id, in omap_plane_atomic_check()
325 if ((new_r_hw_overlay && !omap_state->r_overlay) || in omap_plane_atomic_check()
326 (!new_r_hw_overlay && omap_state->r_overlay)) in omap_plane_atomic_check()
330 struct omap_hw_overlay *old_ovl = omap_state->overlay; in omap_plane_atomic_check()
331 struct omap_hw_overlay *old_r_ovl = omap_state->r_overlay; in omap_plane_atomic_check()
342 omap_state->overlay = NULL; in omap_plane_atomic_check()
343 omap_state->r_overlay = NULL; in omap_plane_atomic_check()
347 omap_state->overlay = new_ovl; in omap_plane_atomic_check()
349 omap_state->r_overlay = new_r_ovl; in omap_plane_atomic_check()
351 omap_state->r_overlay = NULL; in omap_plane_atomic_check()
354 DBG("plane: %s overlay_id: %d", plane->name, omap_state->overlay->id); in omap_plane_atomic_check()
356 if (omap_state->r_overlay) in omap_plane_atomic_check()
357 DBG("plane: %s r_overlay_id: %d", plane->name, omap_state->r_overlay->id); in omap_plane_atomic_check()
407 struct omap_plane_state *omap_state; in omap_plane_reset() local
412 omap_state = kzalloc(sizeof(*omap_state), GFP_KERNEL); in omap_plane_reset()
413 if (!omap_state) in omap_plane_reset()
416 __drm_atomic_helper_plane_reset(plane, &omap_state->base); in omap_plane_reset()
444 struct omap_plane_state *omap_state = to_omap_plane_state(state); in omap_plane_atomic_print_state() local
446 if (omap_state->overlay) in omap_plane_atomic_print_state()
448 omap_state->overlay->name, in omap_plane_atomic_print_state()
449 omap_state->overlay->caps); in omap_plane_atomic_print_state()
452 if (omap_state->r_overlay) in omap_plane_atomic_print_state()
454 omap_state->r_overlay->name, in omap_plane_atomic_print_state()
455 omap_state->r_overlay->caps); in omap_plane_atomic_print_state()