struct drm_connector_helper_funcs
Prev | Modeset Helper Functions Reference | Next

## Name

struct drm_connector_helper_funcs — helper operations for connectors

## Synopsis

    struct drm_connector_helper_funcs {
      int (* get_modes) (struct drm_connector *connector);
      enum drm_mode_status (* mode_valid) (struct drm_connector *connector,struct drm_display_mode *mode);
      struct drm_encoder *(* best_encoder) (struct drm_connector *connector);
      struct drm_encoder *(* atomic_best_encoder) (struct drm_connector *connector,struct drm_connector_state *connector_state);
    };

## Members

get_modes

  get mode list for this connector

mode_valid

  is this mode valid on the given connector? (optional)

best_encoder

  return the preferred encoder for this connector

atomic_best_encoder

  atomic version of `best_encoder`

## Description

The helper operations are called by the mid-layer CRTC helper.

Prev | Up | Next
struct drm_encoder_helper_funcs | Home | drm_helper_move_panel_connectors_to_head