[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <WQuF2MGabt8DxA1rdWhTcZIGSaXav-5XOae4hkdkxq51gom6tklMqrfOLnyN6WSm9TY5sLXp_fxoNQhtC3E7zY9A3dLEpfZ1phdw23m0SI8=@emersion.fr>
Date: Tue, 18 Jun 2019 05:18:01 +0000
From: Simon Ser <contact@...rsion.fr>
To: Rodrigo Siqueira <rodrigosiqueiramelo@...il.com>
Cc: Brian Starkey <brian.starkey@....com>,
Liviu Dudau <liviu.dudau@....com>,
Haneen Mohammed <hamohammed.sa@...il.com>,
dri-devel <dri-devel@...ts.freedesktop.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/2] drm/vkms: Use index instead of 0 in possible crtc
On Tuesday, June 18, 2019 5:19 AM, Rodrigo Siqueira <rodrigosiqueiramelo@...il.com> 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
Powered by blists - more mailing lists