Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3457326ybi; Tue, 18 Jun 2019 00:49:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqyvEaPQDmSgTMRd3YDuqwno5qOiEojchGkApvO9H8IHrc3OZ1d7q2XO0sEHjB2xH6+PgFMA X-Received: by 2002:a65:56c5:: with SMTP id w5mr1417701pgs.434.1560844178722; Tue, 18 Jun 2019 00:49:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560844178; cv=none; d=google.com; s=arc-20160816; b=N1klSHrme2tknmtsGLgv4O21VUp9zhBFoN+87Ksj00N0LxtTJmZeRQCvh6l1mc5fza /qJWImTeFiyuQnANkdRVEv4N4aWaxAERQMxuRnRERnPFcstdFpAJjCazdS4FxwcKeQt0 +k9R2q+ANuwdODLRmmee5uqRN8ysb3U44xcHcik6LhuB9Xwp3t+ihNVMYwQ9f1WkzDV6 WGRXk8fErDOxqCnHWIQ5rUii7iP4p0oBg822LiJY4GIny/OPWBcPiWtLyhjRSXwt2ziB CX6xAaVpxT1ntLQjtIsgX8yZF8JJzX0G5TdG73Tk9i4eBPSEZ/i6X1K8rioSvnGsAeib K10A== 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 :feedback-id:references:in-reply-to:message-id:subject:reply-to:cc :from:to:dkim-signature:date; bh=ROX6bjPyMCjURrFP35KVTXnHB9n+5ry9VMvQqgDRnxs=; b=H/e864aekd0shHq6hFvtgwDLn472a5MBIQmJPqgNaODTNHIZPWFpFhM4CZNXMCEgtn DsHHrBQY6RJV7jn4Ggx4gIp2fOiCuLKj/xJ1M1OJGCYOBzwVqqtVQdX30dVVbxV6MWuI 7c5b9v5r0F2/TcNh2vsJqYYtiADH2qNu/iZi71pAUX/CpFxSUlq6vQwS2XTVXW0PoOVs pl+eWV9amxOjZQMsfxLocUJStjTsZBYwSuBcX2Ok/ISeEyV25SYwvt+Pg1uz9roDMspt 7dnl1cFJhj1NEBKpT/4xctdNpSKsXHheDdPrMWxqnBBLXhI3ZZ9+q8VB195ONxiW3Z7b eqbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@emersion.fr header.s=protonmail header.b=A5W2o0Hx; 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=pass (p=NONE sp=NONE dis=NONE) header.from=emersion.fr Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w6si9668116pgs.103.2019.06.18.00.49.22; Tue, 18 Jun 2019 00:49:38 -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; dkim=pass header.i=@emersion.fr header.s=protonmail header.b=A5W2o0Hx; 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=pass (p=NONE sp=NONE dis=NONE) header.from=emersion.fr Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729308AbfFRHrl (ORCPT + 99 others); Tue, 18 Jun 2019 03:47:41 -0400 Received: from mail1.protonmail.ch ([185.70.40.18]:53008 "EHLO mail1.protonmail.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725934AbfFRHrj (ORCPT ); Tue, 18 Jun 2019 03:47:39 -0400 Date: Tue, 18 Jun 2019 05:18:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=emersion.fr; s=protonmail; t=1560835085; bh=ROX6bjPyMCjURrFP35KVTXnHB9n+5ry9VMvQqgDRnxs=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References: Feedback-ID:From; b=A5W2o0HxvP2s920wLWi3sSQvkYYoUu1v9V6xJZwg0tGUAIcxCec8MHDd5Yal57vnR uPZAIAwajPfNNDS1N4QayDL9CFvSyvAs64WDV9CRw4DtRGi4vg87uHf/2hqGUOr1Z8 yjnjFJUp70yORYIvnVHGveLvz4Vb83XIGODkYL5U= To: Rodrigo Siqueira From: Simon Ser Cc: Brian Starkey , Liviu Dudau , Haneen Mohammed , dri-devel , Linux Kernel Mailing List Reply-To: Simon Ser Subject: Re: [PATCH 1/2] drm/vkms: Use index instead of 0 in possible crtc Message-ID: In-Reply-To: <20190618021944.7ilhgaswme2a6amt@smtp.gmail.com> References: <20190607073957.GB21222@phenom.ffwll.local> <20190607150420.GI21222@phenom.ffwll.local> <20190618021944.7ilhgaswme2a6amt@smtp.gmail.com> Feedback-ID: FsVprHBOgyvh0T8bxcZ0CmvJCosWkwVUg658e_lOUQMnA9qynD8O1lGeniuBDfPSkDAUuhiKfOIXUZBfarMyvA==:Ext:ProtonMail MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=7.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.protonmail.ch Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tuesday, June 18, 2019 5:19 AM, Rodrigo Siqueira wrote: > I made the patch, but when I started to write the commit message, I just > realized that I did not understand why possible_crtcs should not be > equal zero. Why can we not use zero? Hi, possible_crtcs is a bitfield. If it's zero, it means the plane cannot be attached to any CRTC, which makes it rather useless. Thanks, Simon