Lines Matching refs:kms
48 static int komeda_layer_obj_add(struct komeda_kms_dev *kms, in komeda_layer_obj_add() argument
58 drm_atomic_private_obj_init(&kms->base, &layer->base.obj, &st->base.obj, in komeda_layer_obj_add()
90 static int komeda_scaler_obj_add(struct komeda_kms_dev *kms, in komeda_scaler_obj_add() argument
100 drm_atomic_private_obj_init(&kms->base, in komeda_scaler_obj_add()
133 static int komeda_compiz_obj_add(struct komeda_kms_dev *kms, in komeda_compiz_obj_add() argument
143 drm_atomic_private_obj_init(&kms->base, &compiz->base.obj, &st->base.obj, in komeda_compiz_obj_add()
176 static int komeda_splitter_obj_add(struct komeda_kms_dev *kms, in komeda_splitter_obj_add() argument
186 drm_atomic_private_obj_init(&kms->base, in komeda_splitter_obj_add()
219 static int komeda_merger_obj_add(struct komeda_kms_dev *kms, in komeda_merger_obj_add() argument
229 drm_atomic_private_obj_init(&kms->base, in komeda_merger_obj_add()
263 static int komeda_improc_obj_add(struct komeda_kms_dev *kms, in komeda_improc_obj_add() argument
273 drm_atomic_private_obj_init(&kms->base, &improc->base.obj, &st->base.obj, in komeda_improc_obj_add()
306 static int komeda_timing_ctrlr_obj_add(struct komeda_kms_dev *kms, in komeda_timing_ctrlr_obj_add() argument
316 drm_atomic_private_obj_init(&kms->base, &ctrlr->base.obj, &st->base.obj, in komeda_timing_ctrlr_obj_add()
350 static int komeda_pipeline_obj_add(struct komeda_kms_dev *kms, in komeda_pipeline_obj_add() argument
360 drm_atomic_private_obj_init(&kms->base, &pipe->obj, &st->obj, in komeda_pipeline_obj_add()
366 int komeda_kms_add_private_objs(struct komeda_kms_dev *kms, in komeda_kms_add_private_objs() argument
375 err = komeda_pipeline_obj_add(kms, pipe); in komeda_kms_add_private_objs()
380 err = komeda_layer_obj_add(kms, pipe->layers[j]); in komeda_kms_add_private_objs()
386 err = komeda_layer_obj_add(kms, pipe->wb_layer); in komeda_kms_add_private_objs()
392 err = komeda_scaler_obj_add(kms, pipe->scalers[j]); in komeda_kms_add_private_objs()
397 err = komeda_compiz_obj_add(kms, pipe->compiz); in komeda_kms_add_private_objs()
402 err = komeda_splitter_obj_add(kms, pipe->splitter); in komeda_kms_add_private_objs()
408 err = komeda_merger_obj_add(kms, pipe->merger); in komeda_kms_add_private_objs()
413 err = komeda_improc_obj_add(kms, pipe->improc); in komeda_kms_add_private_objs()
417 err = komeda_timing_ctrlr_obj_add(kms, pipe->ctrlr); in komeda_kms_add_private_objs()
425 void komeda_kms_cleanup_private_objs(struct komeda_kms_dev *kms) in komeda_kms_cleanup_private_objs() argument
427 struct drm_mode_config *config = &kms->base.mode_config; in komeda_kms_cleanup_private_objs()