Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4256471ybi; Tue, 18 Jun 2019 14:51:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqzl19QaWMMQtiops3TqU63damEnX+ssyWWbyr9LoOzQNV5DNXEq2E60xJROZwqA9sxlIt8B X-Received: by 2002:a63:151a:: with SMTP id v26mr4681887pgl.9.1560894715804; Tue, 18 Jun 2019 14:51:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560894715; cv=none; d=google.com; s=arc-20160816; b=P0PlLjE4Nf+PAb2rFdZkpNG0DFLThbMvjAYHwKfL/1opzPiGHXg4hXvF4LNHTZ2fgp 5/Q8cpwiHz3FZT2sN6ofSXJzFdcLiD6JjGfdO0RCPt1d347kyibj7BPLFHl8S9W2HKmU 4KAZctqWrMoaODxlF1wljPEKLqtLuH5jOi+Mw/DqHkc/VkW2x19yxzpWVG2sx+kfKHlm dAJiaEVTFXgb9p/1l6h++cqQYyBGsLarlsLnQVJmfIZpcJbhGcnloKcbhALLRHcnUUJg 0EMgKFuDF9PnoZbCFHtSYZZ+9WwYz7Wdhnkk1L2oQ8ysBwnsLUNXQ6XEdJl4wUNh/t9c 1NoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=PYYUQ3e7ONlVseVSNvQlJ7x1YpG18Xt9WTuVNuLCobA=; b=tScKaB/TA9Mk0Br0TmAgQIPChSVpasNKLLWrjtci+2SxnqUK/6NxsBbrIIn+JiIoZH 6Qk+m5ePIHK/8w/1AGWQwUXN6NDYfnBTO3ZvHPVNso/ctjg+GE+A5U9+8FaaN3WI08vt ASDAVWHQxiVAme0DjWzJRFSdTr9J6n0FopoWofHAL8ivJLOiPXMPRd65xyw1YEi4d6Hk gXcpWntYR0WIx9SfCYuSZ4qka+tjvhGg24UbMRut0jr8scSHBkbwoO/toGxvl8PbXHfc EcIKQ62LOYTHZ5z2qrQdatOBbr4yA1yhov0tkEx/E8V4C3ouSdft0/gzjiUppNakbVFH 8rkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qQhSpRvb; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t14si1218631pgh.128.2019.06.18.14.51.39; Tue, 18 Jun 2019 14:51:55 -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=@gmail.com header.s=20161025 header.b=qQhSpRvb; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730418AbfFRVv3 (ORCPT + 99 others); Tue, 18 Jun 2019 17:51:29 -0400 Received: from mail-ua1-f68.google.com ([209.85.222.68]:39747 "EHLO mail-ua1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729982AbfFRVv2 (ORCPT ); Tue, 18 Jun 2019 17:51:28 -0400 Received: by mail-ua1-f68.google.com with SMTP id j8so7633453uan.6 for ; Tue, 18 Jun 2019 14:51:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=PYYUQ3e7ONlVseVSNvQlJ7x1YpG18Xt9WTuVNuLCobA=; b=qQhSpRvb5Kvqh7fFh1aP152lsn2HY6VLkvsHO6s/bMzpVnI0c30FB7HrI8Vg7DnN5U Qa3bqSAgpQMP0SdAO38n9/WniD8wRYqi97LDsaL/QXHwZ2MCCLfPzGG0HrkKyO+G33HR splQ1lr4TiCc4MlvGm5HyNg+SLfdtLu1/fFh/BRg/T8EO6QpZ/SXrlbNVGvvtUr2ZE2p TMIArJMEjVyNuYsH0EWjZKHex7zgiRpxu5d8isiAzJ+3yn6m6k/QaMfvMhtCZrXGs3SO lhkBVKqg/Jz5YBcBIQdLmcdd2K7my3VetDLzrCMYwP8AiQw7iC1ALOVucH8O2vFSzgOt mUGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=PYYUQ3e7ONlVseVSNvQlJ7x1YpG18Xt9WTuVNuLCobA=; b=AhAgArY1Y+3kwLypa+/1KGmWd7EAmqjMUsdNemppyBLzABkzQ+s1D1thukuUZhE5Xy hgdxb6fO/0gbu5EHHGaZH4Msr3MvSeRgZBvjOHxP5n+UAngw2z9eS7JpI7mx4WvgsioJ v3ssMHG2II4wxfhkj6GSNy22rEZgRvumSKxCBRvENYYcZy8Hg+dAaOroNukubUAa8dLA Fg5piZqA86Hessp1PCO96Ocvhhv04wMHAYOzsNkYlX1gB8RJ5ZDLXKufjEP6Us/SJN8I qlw/qXnJ/z+8GUHCCfpefp/s3s7rGc/D9Gn8tugCSKi+6wIKzPkljiGhk+7NrCFgiFHw E7Tw== X-Gm-Message-State: APjAAAUTrI7rpXLM9bXMnf1g+wjk36pqTZvvWOj704e3uj69Fw+HlmTM g7CspVZkXcrPzXSDaDgQ2hNnT6VepXw6d28Hd4g= X-Received: by 2002:ab0:208c:: with SMTP id r12mr46741116uak.27.1560894687847; Tue, 18 Jun 2019 14:51:27 -0700 (PDT) MIME-Version: 1.0 References: <20190607073957.GB21222@phenom.ffwll.local> <20190607150420.GI21222@phenom.ffwll.local> <20190618021944.7ilhgaswme2a6amt@smtp.gmail.com> In-Reply-To: From: Rodrigo Siqueira Date: Tue, 18 Jun 2019 18:51:17 -0300 Message-ID: Subject: Re: [PATCH 1/2] drm/vkms: Use index instead of 0 in possible crtc To: Simon Ser Cc: Brian Starkey , Liviu Dudau , Haneen Mohammed , dri-devel , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 18, 2019 at 2:18 AM Simon Ser wrote: > > 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. Hi, Thank you very much for your explanation. I'll try to finish the patch. > Thanks, > > Simon -- Rodrigo Siqueira https://siqueira.tech