Home
last modified time | relevance | path

Searched refs:plane_state (Results 1 - 4 of 4) sorted by relevance

/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/
H A Ddrm_atomic_helper.c75 struct drm_plane_state *plane_state, struct drm_plane *plane) in drm_atomic_helper_plane_changed()
88 if (plane_state->crtc) { in drm_atomic_helper_plane_changed()
89 crtc_state = drm_atomic_get_new_crtc_state(state, plane_state->crtc); in drm_atomic_helper_plane_changed()
749 * @plane_state: plane state to check
768 int drm_atomic_helper_check_plane_state(struct drm_plane_state *plane_state, const struct drm_crtc_state *crtc_state, in drm_atomic_helper_check_plane_state() argument
771 struct drm_framebuffer *fb = plane_state->fb; in drm_atomic_helper_check_plane_state()
772 struct drm_rect *src = &plane_state->src; in drm_atomic_helper_check_plane_state()
773 struct drm_rect *dst = &plane_state->dst; in drm_atomic_helper_check_plane_state()
774 unsigned int rotation = plane_state->rotation; in drm_atomic_helper_check_plane_state()
778 WARN_ON(plane_state in drm_atomic_helper_check_plane_state()
74 drm_atomic_helper_plane_changed(struct drm_atomic_state *state, struct drm_plane_state *old_plane_state, struct drm_plane_state *plane_state, struct drm_plane *plane) drm_atomic_helper_plane_changed() argument
1758 struct drm_plane_state *plane_state; drm_atomic_helper_async_commit() local
2627 struct drm_plane_state *plane_state; drm_atomic_helper_cleanup_planes() local
2929 struct drm_plane_state *plane_state; drm_atomic_helper_update_plane() local
2982 struct drm_plane_state *plane_state; drm_atomic_helper_disable_plane() local
3087 struct drm_plane_state *plane_state; drm_atomic_helper_disable_all() local
3232 struct drm_plane_state *plane_state; drm_atomic_helper_duplicate_state() local
3406 struct drm_plane_state *plane_state; page_flip_common() local
[all...]
H A Ddrm_atomic_state_helper.c247 * @plane_state: atomic plane state, must not be NULL
250 * Initializes the newly allocated @plane_state with default
253 void __drm_atomic_helper_plane_state_reset(struct drm_plane_state *plane_state, struct drm_plane *plane) in __drm_atomic_helper_plane_state_reset() argument
255 plane_state->plane = plane; in __drm_atomic_helper_plane_state_reset()
256 plane_state->rotation = DRM_MODE_ROTATE_0; in __drm_atomic_helper_plane_state_reset()
258 plane_state->alpha = DRM_BLEND_ALPHA_OPAQUE; in __drm_atomic_helper_plane_state_reset()
259 plane_state->pixel_blend_mode = DRM_MODE_BLEND_PREMULTI; in __drm_atomic_helper_plane_state_reset()
266 * @plane_state: plane state to assign
268 * Initializes the newly allocated @plane_state and assigns it to
275 void __drm_atomic_helper_plane_reset(struct drm_plane *plane, struct drm_plane_state *plane_state) in __drm_atomic_helper_plane_reset() argument
[all...]
H A Ddrm_atomic_uapi.c154 * @plane_state: the plane whose incoming state to update
166 int drm_atomic_set_crtc_for_plane(struct drm_plane_state *plane_state, struct drm_crtc *crtc) in drm_atomic_set_crtc_for_plane() argument
168 struct drm_plane *plane = plane_state->plane; in drm_atomic_set_crtc_for_plane()
171 if (plane_state->crtc == crtc) { in drm_atomic_set_crtc_for_plane()
174 if (plane_state->crtc) { in drm_atomic_set_crtc_for_plane()
175 crtc_state = drm_atomic_get_crtc_state(plane_state->state, plane_state->crtc); in drm_atomic_set_crtc_for_plane()
183 plane_state->crtc = crtc; in drm_atomic_set_crtc_for_plane()
186 crtc_state = drm_atomic_get_crtc_state(plane_state->state, crtc); in drm_atomic_set_crtc_for_plane()
194 DRM_DEBUG_ATOMIC("Link [PLANE:%d:%s] state %p to [CRTC:%d:%s]\n", plane->base.id, plane->name, plane_state, in drm_atomic_set_crtc_for_plane()
214 drm_atomic_set_fb_for_plane(struct drm_plane_state *plane_state, struct drm_framebuffer *fb) drm_atomic_set_fb_for_plane() argument
253 drm_atomic_set_fence_for_plane(struct drm_plane_state *plane_state, struct dma_fence *fence) drm_atomic_set_fence_for_plane() argument
963 struct drm_plane_state *plane_state; drm_atomic_set_property() local
[all...]
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/rockchip/
H A Drockchip_drm_vop.c2019 struct drm_plane_state *plane_state; in rockchip_atomic_helper_update_plane() local
2029 plane_state = drm_atomic_get_plane_state(state, plane); in rockchip_atomic_helper_update_plane()
2030 if (IS_ERR(plane_state)) { in rockchip_atomic_helper_update_plane()
2031 ret = PTR_ERR(plane_state); in rockchip_atomic_helper_update_plane()
2035 vop_plane_state = to_vop_plane_state(plane_state); in rockchip_atomic_helper_update_plane()
2037 ret = drm_atomic_set_crtc_for_plane(plane_state, crtc); in rockchip_atomic_helper_update_plane()
2041 drm_atomic_set_fb_for_plane(plane_state, fb); in rockchip_atomic_helper_update_plane()
2042 plane_state->crtc_x = crtc_x; in rockchip_atomic_helper_update_plane()
2043 plane_state->crtc_y = crtc_y; in rockchip_atomic_helper_update_plane()
2044 plane_state in rockchip_atomic_helper_update_plane()
2077 struct drm_plane_state *plane_state; rockchip_atomic_helper_disable_plane() local
2167 struct vop_plane_state *plane_state = to_vop_plane_state(state); vop_atomic_plane_set_property() local
2197 struct vop_plane_state *plane_state = to_vop_plane_state(state); vop_atomic_plane_get_property() local
3161 struct vop_plane_state *plane_state; vop_afbdc_atomic_check() local
3327 struct vop_plane_state *plane_state; vop_crtc_atomic_check() local
[all...]

Completed in 10 milliseconds