Searched refs:private_state (Results 1 – 2 of 2) sorted by relevance
796 struct ingenic_ipu_private_state *private_state; in ingenic_ipu_bind() local890 private_state = kzalloc(sizeof(*private_state), GFP_KERNEL); in ingenic_ipu_bind()891 if (!private_state) { in ingenic_ipu_bind()896 drm_atomic_private_obj_init(drm, &ipu->private_obj, &private_state->base, in ingenic_ipu_bind()
1082 struct ingenic_drm_private_state *private_state; in ingenic_drm_bind() local1372 private_state = kzalloc(sizeof(*private_state), GFP_KERNEL); in ingenic_drm_bind()1373 if (!private_state) { in ingenic_drm_bind()1378 drm_atomic_private_obj_init(drm, &priv->private_obj, &private_state->base, in ingenic_drm_bind()1397 kfree(private_state); in ingenic_drm_bind()