intel_fbc_choose_crtc(9) select a CRTC to enable FBC on

SYNOPSIS

void intel_fbc_choose_crtc(struct drm_i915_private * dev_priv, struct drm_atomic_state * state);

ARGUMENTS

dev_priv

i915 device instance

state

the atomic state structure

DESCRIPTION

This function looks at the proposed state for CRTCs and planes, then chooses which pipe is going to have FBC by setting intel_crtc_state->enable_fbc to true.

Later, intel_fbc_enable is going to look for state->enable_fbc and then maybe enable FBC for the chosen CRTC. If it does, it will set dev_priv->fbc.crtc.

AUTHORS

Jesse Barnes <[email protected]>
Intel Corporation,         
        

Initial version

Laurent Pinchart <[email protected]>
Ideas on board SPRL,         
        

Driver internals

Daniel Vetter <[email protected]>
Intel Corporation,         
        

Contributions all over the place

Lukas Wunner <[email protected]>

vga_switcheroo documentation

COPYRIGHT