drm_plane_from_index(9) find the registered plane at an index

SYNOPSIS

struct drm_plane * drm_plane_from_index(struct drm_device * dev, int idx);

ARGUMENTS

dev

DRM device

idx

index of registered plane to find for

DESCRIPTION

Given a plane index, return the registered plane from DRM device's list of planes with matching index.

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