Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/vc4/
Dvc4_kms.c106 struct vc4_ctm_state *ctm_state = to_vc4_ctm_state(state); in vc4_ctm_destroy_state() local
108 kfree(ctm_state); in vc4_ctm_destroy_state()
125 struct vc4_ctm_state *ctm_state; in vc4_ctm_obj_init() local
129 ctm_state = kzalloc(sizeof(*ctm_state), GFP_KERNEL); in vc4_ctm_obj_init()
130 if (!ctm_state) in vc4_ctm_obj_init()
133 drm_atomic_private_obj_init(&vc4->base, &vc4->ctm_manager, &ctm_state->base, in vc4_ctm_obj_init()
162 struct vc4_ctm_state *ctm_state = to_vc4_ctm_state(vc4->ctm_manager.state); in vc4_ctm_commit() local
163 struct drm_color_ctm *ctm = ctm_state->ctm; in vc4_ctm_commit()
165 if (ctm_state->fifo) { in vc4_ctm_commit()
190 VC4_SET_FIELD(ctm_state->fifo, SCALER_OLEDOFFS_DISPFIFO)); in vc4_ctm_commit()
[all …]