Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/doc: Clarify connector overview

There was a bit of mix-up between initialization and registering.

v2: Review from Gustavo.

Reviewed-by: Gustavo Padovan <gustavo.padovan@collabora.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170125062657.19270-7-daniel.vetter@ffwll.ch
Link: http://patchwork.freedesktop.org/patch/msgid/20170125062657.19270-8-daniel.vetter@ffwll.ch

+4 -5
+4 -5
drivers/gpu/drm/drm_connector.c
··· 40 40 * 41 41 * KMS driver must create, initialize, register and attach at a &struct 42 42 * drm_connector for each such sink. The instance is created as other KMS 43 - * objects and initialized by setting the following fields. 44 - * 45 - * The connector is then registered with a call to drm_connector_init() with a 46 - * pointer to the connector functions and a connector type, and exposed through 47 - * sysfs with a call to drm_connector_register(). 43 + * objects and initialized by setting the following fields. The connector is 44 + * initialized with a call to drm_connector_init() with a pointer to the 45 + * &struct drm_connector_funcs and a connector type, and then exposed to 46 + * userspace with a call to drm_connector_register(). 48 47 * 49 48 * Connectors must be attached to an encoder to be used. For devices that map 50 49 * connectors to encoders 1:1, the connector should be attached at