Lines Matching defs:omap_state

41 	struct omap_plane_state *omap_state = to_omap_plane_state(state);
43 return !!omap_state->r_overlay;
209 struct omap_plane_state *omap_state = to_omap_plane_state(new_plane_state);
254 omap_overlay_release(state, omap_state->overlay);
255 omap_overlay_release(state, omap_state->r_overlay);
256 omap_state->overlay = NULL;
257 omap_state->r_overlay = NULL;
313 if (!omap_state->overlay || (caps & ~omap_state->overlay->caps)) {
317 if (!dispc_ovl_color_mode_supported(priv->dispc, omap_state->overlay->id,
326 if ((new_r_hw_overlay && !omap_state->r_overlay) ||
327 (!new_r_hw_overlay && omap_state->r_overlay))
331 struct omap_hw_overlay *old_ovl = omap_state->overlay;
332 struct omap_hw_overlay *old_r_ovl = omap_state->r_overlay;
343 omap_state->overlay = NULL;
344 omap_state->r_overlay = NULL;
348 omap_state->overlay = new_ovl;
350 omap_state->r_overlay = new_r_ovl;
352 omap_state->r_overlay = NULL;
355 DBG("plane: %s overlay_id: %d", plane->name, omap_state->overlay->id);
357 if (omap_state->r_overlay)
358 DBG("plane: %s r_overlay_id: %d", plane->name, omap_state->r_overlay->id);
408 struct omap_plane_state *omap_state;
413 omap_state = kzalloc(sizeof(*omap_state), GFP_KERNEL);
414 if (!omap_state)
417 __drm_atomic_helper_plane_reset(plane, &omap_state->base);
445 struct omap_plane_state *omap_state = to_omap_plane_state(state);
447 if (omap_state->overlay)
449 omap_state->overlay->name,
450 omap_state->overlay->caps);
453 if (omap_state->r_overlay)
455 omap_state->r_overlay->name,
456 omap_state->r_overlay->caps);