Lines Matching refs:new_plane_state
26 struct drm_plane_state *new_plane_state = drm_atomic_get_new_plane_state(state, in tidss_plane_atomic_check() local
39 if (!new_plane_state->crtc) { in tidss_plane_atomic_check()
45 new_plane_state->visible = false; in tidss_plane_atomic_check()
50 new_plane_state->crtc); in tidss_plane_atomic_check()
54 ret = drm_atomic_helper_check_plane_state(new_plane_state, crtc_state, in tidss_plane_atomic_check()
72 finfo = drm_format_info(new_plane_state->fb->format->format); in tidss_plane_atomic_check()
74 if ((new_plane_state->src_x >> 16) % finfo->hsub != 0) { in tidss_plane_atomic_check()
77 __func__, (new_plane_state->src_x >> 16), finfo->hsub); in tidss_plane_atomic_check()
81 if ((new_plane_state->src_y >> 16) % finfo->vsub != 0) { in tidss_plane_atomic_check()
84 __func__, (new_plane_state->src_y >> 16), finfo->vsub); in tidss_plane_atomic_check()
88 if ((new_plane_state->src_w >> 16) % finfo->hsub != 0) { in tidss_plane_atomic_check()
91 __func__, (new_plane_state->src_w >> 16), in tidss_plane_atomic_check()
96 if (!new_plane_state->visible) in tidss_plane_atomic_check()
99 hw_videoport = to_tidss_crtc(new_plane_state->crtc)->hw_videoport; in tidss_plane_atomic_check()
101 ret = dispc_plane_check(tidss->dispc, hw_plane, new_plane_state, in tidss_plane_atomic_check()