Thread (22 messages) 22 messages, 7 authors, 2022-09-06

Re: [PATCH 2/2] efi: earlycon: Add support for generic framebuffers and move to fbdev subsystem

From: Andy Shevchenko <hidden>
Date: 2022-07-30 10:26:22
Also in: dri-devel, linux-doc, linux-efi, linux-serial, lkml, phone-devel

On Sat, Jul 30, 2022 at 10:55 AM Markuss Broks [off-list ref] wrote:
On 7/29/22 00:19, Andy Shevchenko wrote:
quoted
On Thu, Jul 28, 2022 at 4:32 PM Markuss Broks [off-list ref] wrote:
...
I suppose we could use something like:

if (region_intersects() == REGION_INTERSECTS)
Yes.

...
quoted
quoted
+       ret = sscanf(device->options, "%u,%u,%u", &info.x, &info.y, &info.depth);
+       if (ret != 3)
+               return -ENODEV;
Don't we have some standard template of this, something like XxYxD,
where X, Y, and D are respective decimal numbers?
I'm not aware of this.
I believe we won't introduce more chaos in already existing formats of
one or another thing, so I prefer to be stuck with in practice use
(e.g. "1024x768x16" without quotes for x=1024, y=768, depth=16).

-- 
With Best Regards,
Andy Shevchenko
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help