Searched refs:ipu_state (Results 1 – 3 of 3) sorted by relevance
332 struct ingenic_ipu_private_state *ipu_state; in ingenic_ipu_plane_atomic_update() local338 ipu_state = ingenic_ipu_get_new_priv_state(ipu, state); in ingenic_ipu_plane_atomic_update()339 if (WARN_ON(!ipu_state)) in ingenic_ipu_plane_atomic_update()514 upscaling_w = ipu_state->num_w > ipu_state->denom_w; in ingenic_ipu_plane_atomic_update()518 if (ipu_state->num_w != 1 || ipu_state->denom_w != 1) { in ingenic_ipu_plane_atomic_update()520 coef_index |= (ipu_state->denom_w - 1) << 16; in ingenic_ipu_plane_atomic_update()522 coef_index |= (ipu_state->num_w - 1) << 16; in ingenic_ipu_plane_atomic_update()526 upscaling_h = ipu_state->num_h > ipu_state->denom_h; in ingenic_ipu_plane_atomic_update()530 if (ipu_state->num_h != 1 || ipu_state->denom_h != 1) { in ingenic_ipu_plane_atomic_update()532 coef_index |= ipu_state->denom_h - 1; in ingenic_ipu_plane_atomic_update()[all …]
341 struct drm_plane_state *f1_state, *f0_state, *ipu_state = NULL; in ingenic_drm_crtc_atomic_check() local361 ipu_state = drm_atomic_get_plane_state(crtc_state->state, in ingenic_drm_crtc_atomic_check()363 if (IS_ERR(ipu_state)) in ingenic_drm_crtc_atomic_check()364 return PTR_ERR(ipu_state); in ingenic_drm_crtc_atomic_check()367 if (f1_state->fb && ipu_state->fb) { in ingenic_drm_crtc_atomic_check()375 !(ipu_state && ipu_state->fb); in ingenic_drm_crtc_atomic_check()
301 struct ipu_plane_state *ipu_state; in ipu_plane_state_reset() local304 ipu_state = to_ipu_plane_state(plane->state); in ipu_plane_state_reset()306 kfree(ipu_state); in ipu_plane_state_reset()310 ipu_state = kzalloc(sizeof(*ipu_state), GFP_KERNEL); in ipu_plane_state_reset()312 if (ipu_state) in ipu_plane_state_reset()313 __drm_atomic_helper_plane_reset(plane, &ipu_state->base); in ipu_plane_state_reset()334 struct ipu_plane_state *ipu_state = to_ipu_plane_state(state); in ipu_plane_destroy_state() local337 kfree(ipu_state); in ipu_plane_destroy_state()582 struct ipu_plane_state *ipu_state = to_ipu_plane_state(new_state); in ipu_plane_atomic_update() local629 if (ipu_state->use_pre) { in ipu_plane_atomic_update()[all …]