Home
last modified time | relevance | path

Searched refs:private_state (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/gpu/drm/ingenic/
H A Dingenic-ipu.c796 struct ingenic_ipu_private_state *private_state; in ingenic_ipu_bind() local
890 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()
H A Dingenic-drm-drv.c1082 struct ingenic_drm_private_state *private_state; in ingenic_drm_bind() local
1372 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()