Lines Matching defs:kencoders
1503 drmModeEncoderPtr *kencoders = NULL;
1548 kencoders = calloc(sizeof(drmModeEncoderPtr), koutput->count_encoders);
1549 if (!kencoders) {
1554 kencoders[i] = drmModeGetEncoder(mode->fd, koutput->encoders[i]);
1555 if (!kencoders[i])
1572 intel_output->mode_encoders = kencoders;
1586 output->possible_crtcs &= kencoders[i]->possible_crtcs;
1601 if (kencoders) {
1603 drmModeFreeEncoder(kencoders[i]);
1604 free(kencoders);