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()
1084 struct ingenic_drm_private_state *private_state; in ingenic_drm_bind() local1384 private_state = kzalloc(sizeof(*private_state), GFP_KERNEL); in ingenic_drm_bind()1385 if (!private_state) { in ingenic_drm_bind()1390 drm_atomic_private_obj_init(drm, &priv->private_obj, &private_state->base, in ingenic_drm_bind()1409 kfree(private_state); in ingenic_drm_bind()