Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp2040638ybe; Sat, 14 Sep 2019 06:50:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqyvUTIG6G6aH5L96iBuFf4RIYDyNfWz7LWP876V2jhk1pHGrVz0JIpGoucUGcGPD+4l3NtC X-Received: by 2002:a17:906:4b41:: with SMTP id j1mr8231619ejv.162.1568469053734; Sat, 14 Sep 2019 06:50:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568469053; cv=none; d=google.com; s=arc-20160816; b=S3SVcf3uFmh9Bbx+YGSR2F9ivxTVTorRyNCNNDNLuQMMHObi7Liq5qcIujTTa9ejUR IZX5+AkAViWrbpTd7E3yNrropAWKvz6rcol/eYt3GLWBez4OFLfzpRa+poP//awo7rLP 2bws7Hj1xrhXy+eo6kXw0tFHVh09gd5U22Lx2lWlyF+hFyfDwqK0jCoeCrP761/DP5Al GR7pzb9S49BoiQYtAlh1IhFJ8qEFnf5rsF1SgLUJtTOA4tA6wh3JL8VT+c7UhrenKUJA j2WwTdLH2O16xZwsX6sFeZrBcwtslkJLZTKbddQq6M7nkFXDyTMe+vkbiuGRjKphtg6a 5zYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=koQhLrLNbyIrJBr+QLD5TXl2+XBO3DYEOTMgZgP8SQQ=; b=J4cErKd/1KqFuYw64HR73mNR5lN4GY3sVUTsZbk3KqYbktZMRDH0tWsflpb3aite4b XHksqLOfee8whxxv7NA0OnoyDKKJ2oehNz9vlAHnuxZavm5kZ+DKTbNzjUTcwkAuagqP kc0cGRBM1c0gHrih/AiG8SIsEoriXMv3/LaDnTXMYmiZqU1Xv3Lb84OYId5nqxceAs7l 2EFP5LUqiCrA1RKsh0FqAsYNT/ZgBEiTDJmfKeSquO7Reybm24VB8Woi7ima9/kqL0di seOx4Uvf78MVDZUEZhENoxv3oOf/XzPFqprHiTnqgEiJNi4P5DQt84cAg9m5h0k1/fzu ybtg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x3si18657246eda.285.2019.09.14.06.50.30; Sat, 14 Sep 2019 06:50:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404073AbfIMW1P (ORCPT + 99 others); Fri, 13 Sep 2019 18:27:15 -0400 Received: from mx1.redhat.com ([209.132.183.28]:34348 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404021AbfIMW1O (ORCPT ); Fri, 13 Sep 2019 18:27:14 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 0BDEA79704; Fri, 13 Sep 2019 22:27:14 +0000 (UTC) Received: from malachite.bss.redhat.com (dhcp-10-20-1-34.bss.redhat.com [10.20.1.34]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3A86A60BF1; Fri, 13 Sep 2019 22:27:13 +0000 (UTC) From: Lyude Paul To: dri-devel@lists.freedesktop.org Cc: Maarten Lankhorst , Maxime Ripard , Sean Paul , David Airlie , Daniel Vetter , linux-kernel@vger.kernel.org Subject: [PATCH 2/3] drm/encoder: Fix possible_crtcs documentation Date: Fri, 13 Sep 2019 18:27:02 -0400 Message-Id: <20190913222704.8241-3-lyude@redhat.com> In-Reply-To: <20190913222704.8241-1-lyude@redhat.com> References: <20190913222704.8241-1-lyude@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Fri, 13 Sep 2019 22:27:14 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Similar to possible_clones, we don't actually use possible_crtcs until the driver is registered with userspace. So, fix the documentation to indicate this. Signed-off-by: Lyude Paul --- include/drm/drm_encoder.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/drm/drm_encoder.h b/include/drm/drm_encoder.h index 81273b50b3f6..d65173d413b7 100644 --- a/include/drm/drm_encoder.h +++ b/include/drm/drm_encoder.h @@ -140,7 +140,7 @@ struct drm_encoder { * @possible_crtcs: Bitmask of potential CRTC bindings, using * drm_crtc_index() as the index into the bitfield. The driver must set * the bits for all &drm_crtc objects this encoder can be connected to - * before calling drm_encoder_init(). + * before calling drm_dev_register(). * * In reality almost every driver gets this wrong. * -- 2.21.0