Lines Matching refs:new_state

46 				 struct drm_plane_state *new_state)  in omap_plane_prepare_fb()  argument
48 if (!new_state->fb) in omap_plane_prepare_fb()
51 drm_gem_plane_helper_prepare_fb(plane, new_state); in omap_plane_prepare_fb()
53 return omap_framebuffer_pin(new_state->fb); in omap_plane_prepare_fb()
67 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in omap_plane_atomic_update() local
78 new_omap_state = to_omap_plane_state(new_state); in omap_plane_atomic_update()
81 dual_ovl = is_omap_plane_dual_overlay(new_state); in omap_plane_atomic_update()
95 DBG("%s, crtc=%p fb=%p", plane->name, new_state->crtc, in omap_plane_atomic_update()
96 new_state->fb); in omap_plane_atomic_update()
101 info.global_alpha = new_state->alpha >> 8; in omap_plane_atomic_update()
102 info.zorder = new_state->normalized_zpos; in omap_plane_atomic_update()
103 if (new_state->pixel_blend_mode == DRM_MODE_BLEND_PREMULTI) in omap_plane_atomic_update()
107 info.color_encoding = new_state->color_encoding; in omap_plane_atomic_update()
108 info.color_range = new_state->color_range; in omap_plane_atomic_update()
113 omap_framebuffer_update_scanout(new_state->fb, new_state, &info, in omap_plane_atomic_update()
141 omap_crtc_timings(new_state->crtc), false, in omap_plane_atomic_update()
142 omap_crtc_channel(new_state->crtc)); in omap_plane_atomic_update()
154 omap_crtc_timings(new_state->crtc), false, in omap_plane_atomic_update()
155 omap_crtc_channel(new_state->crtc)); in omap_plane_atomic_update()
173 struct drm_plane_state *new_state = drm_atomic_get_new_plane_state(state, in omap_plane_atomic_disable() local
180 new_omap_state = to_omap_plane_state(new_state); in omap_plane_atomic_disable()
186 new_state->rotation = DRM_MODE_ROTATE_0; in omap_plane_atomic_disable()
187 new_state->zpos = plane->type == DRM_PLANE_TYPE_PRIMARY ? 0 : omap_plane->id; in omap_plane_atomic_disable()