Lines Matching refs:crtcs
76 kfree(state->crtcs);
101 state->crtcs = kcalloc(dev->mode_config.num_crtc,
102 sizeof(*state->crtcs), GFP_KERNEL);
103 if (!state->crtcs)
181 struct drm_crtc *crtc = state->crtcs[i].ptr;
187 state->crtcs[i].state);
189 state->crtcs[i].ptr = NULL;
190 state->crtcs[i].state = NULL;
191 state->crtcs[i].old_state = NULL;
192 state->crtcs[i].new_state = NULL;
194 if (state->crtcs[i].commit) {
195 drm_crtc_commit_put(state->crtcs[i].commit);
196 state->crtcs[i].commit = NULL;
264 * per-object state for planes, CRTCs and connectors.
320 state->crtcs[index].state = crtc_state;
321 state->crtcs[index].old_state = crtc->state;
322 state->crtcs[index].new_state = crtc_state;
323 state->crtcs[index].ptr = crtc;
692 * planes or CRTCs, and so on) it makes sense to model these as independent
695 * helpers already provide for connectors, planes and CRTCs.