From patchwork Wed Jan 25 06:26:48 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Vetter X-Patchwork-Id: 9536457 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4AA796042B for ; Wed, 25 Jan 2017 06:28:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 41D0D27D85 for ; Wed, 25 Jan 2017 06:28:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 36EA827D9B; Wed, 25 Jan 2017 06:28:48 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id DB0B127D85 for ; Wed, 25 Jan 2017 06:28:47 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 54F6E6E972; Wed, 25 Jan 2017 06:27:34 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm0-x243.google.com (mail-wm0-x243.google.com [IPv6:2a00:1450:400c:c09::243]) by gabe.freedesktop.org (Postfix) with ESMTPS id CB5DE6E929 for ; Wed, 25 Jan 2017 06:27:13 +0000 (UTC) Received: by mail-wm0-x243.google.com with SMTP id d140so40346448wmd.2 for ; Tue, 24 Jan 2017 22:27:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ws7hcPjA8UIOC5Vv1Z+agUkSybmsTna67URPotR7BLQ=; b=j4pgImg5jxAJgzKCGqGZjAx6HF1TVWXGIBWcnA52qxLlialtvcpVHI5Hf2rE8WCPp9 5f/ZjelIGJfTCsm19wEQiRCJrr7dlRyIVp/wj8mtXahEYCU5/mBVaxxmsMsCK2Pf3XKa OgADxsYjkA5HR6Xemyn3M0DyTSG3lgSISLOBU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ws7hcPjA8UIOC5Vv1Z+agUkSybmsTna67URPotR7BLQ=; b=lrLbB5vQPFZl4mzLdQgGlCFiz944o5hng+G7m3qhjxyjLGkgiYNq2gJrAcn8gD4sEj IkfzHwcLvw/xUGyAb7b0VMNC8MGL1R/hfy3+0qM0C6D3CleAIQY7va0kLHP+uvQVXPQU m4d0BQWfeXCap4M0GAzaISV57ZhOnmkclIc6eNVFJ1ACRExZjX8c1piZj6WfX4AFFzNE aDpdq4hx1BNst89JzKtQP3v2KD4Y+fJx1TA0NWLSfviat1g/0kqERWMpHsK3RgW3WEKY ajEZPwxNTm1MB/4sQ/EIjOKIkCV5EOQ7TTXsejUX6jhC8F4PxADk13sxren+x/bE5/38 +uNA== X-Gm-Message-State: AIkVDXLmfd96X5SGhVlU+CG36qTeNfpd57O4VjRCdBWbyzo6/S/evsNL2yLNrbIjQVSENA== X-Received: by 10.28.0.73 with SMTP id 70mr19706876wma.109.1485325632402; Tue, 24 Jan 2017 22:27:12 -0800 (PST) Received: from phenom.ffwll.local ([2a02:168:56c9:0:decc:6e78:7e96:b452]) by smtp.gmail.com with ESMTPSA id o42sm23252617wrb.18.2017.01.24.22.27.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Jan 2017 22:27:11 -0800 (PST) From: Daniel Vetter To: DRI Development Subject: [PATCH 06/15] drm/doc: Clarify connector overview Date: Wed, 25 Jan 2017 07:26:48 +0100 Message-Id: <20170125062657.19270-7-daniel.vetter@ffwll.ch> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170125062657.19270-1-daniel.vetter@ffwll.ch> References: <20170125062657.19270-1-daniel.vetter@ffwll.ch> Cc: Daniel Vetter , Intel Graphics Development , Daniel Vetter X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP There was a bit of mix-up between initialization and registering. Signed-off-by: Daniel Vetter Reviewed-by: Gustavo Padovan --- drivers/gpu/drm/drm_connector.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/drm_connector.c b/drivers/gpu/drm/drm_connector.c index dd720d4cb4f7..c75ab242f907 100644 --- a/drivers/gpu/drm/drm_connector.c +++ b/drivers/gpu/drm/drm_connector.c @@ -40,11 +40,10 @@ * * KMS driver must create, initialize, register and attach at a &struct * drm_connector for each such sink. The instance is created as other KMS - * objects and initialized by setting the following fields. - * - * The connector is then registered with a call to drm_connector_init() with a - * pointer to the connector functions and a connector type, and exposed through - * sysfs with a call to drm_connector_register(). + * objects and initialized by setting the following fields. The connector is + * initialized with a call to drm_connector_init() with a pointer to the + * connector functions and a connector type, and then exposed to userspace with + * a call to drm_connector_register(). * * Connectors must be attached to an encoder to be used. For devices that map * connectors to encoders 1:1, the connector should be attached at