[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHp75VeTvdh8Cd9crQzX_sjM1h2Zb1oQQ3VodJgEDhaF1YT2-w@mail.gmail.com>
Date: Tue, 26 Jun 2018 20:13:45 +0300
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: Hans de Goede <hdegoede@...hat.com>
Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@...sung.com>,
Petr Mladek <pmladek@...e.com>,
Sergey Senozhatsky <sergey.senozhatsky@...il.com>,
dri-devel@...ts.freedesktop.org, linux-fbdev@...r.kernel.org,
Steven Rostedt <rostedt@...dmis.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v3 3/3] console/fbcon: Add support for deferred console takeover
On Tue, Jun 26, 2018 at 8:12 PM, Andy Shevchenko
<andy.shevchenko@...il.com> wrote:
> On Tue, Jun 26, 2018 at 4:55 PM, Hans de Goede <hdegoede@...hat.com> wrote:
>> + for (i = 0; i < FB_MAX; i++) {
>> + if (registered_fb[i])
>> + fbcon_fb_registered(registered_fb[i]);
>> + }
>
> Simple git grep shows that we perhaps do
>
> #define for_each_registered_fbcon(i) ...
(Or just ..._fb() since it looks like iteration over framebuffers, not
exactly consoles)
>
> (As an example see for_each_pci_bridge() how it's done there)
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists