drm_connector_register_all(9) register all connectors

SYNOPSIS

int drm_connector_register_all(struct drm_device * dev);

ARGUMENTS

dev

drm device

DESCRIPTION

This function registers all connectors in sysfs and other places so that userspace can start to access them. Drivers can call it after calling drm_dev_register to complete the device registration, if they don't call drm_connector_register on each connector individually.

When a device is unplugged and should be removed from userspace access, call drm_connector_unregister_all, which is the inverse of this function.

RETURNS

Zero on success, error code on failure.

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