[Letux-kernel] [PATCH] fbpng: make it work with 32 bpp fb

H. Nikolaus Schaller hns at goldelico.com
Fri Jan 19 07:45:22 CET 2018


Hi Andreas,

> Am 19.01.2018 um 07:35 schrieb Andreas Kemnade <andreas at kemnade.info>:
> 
> Hi,
> 
> On Thu, 18 Jan 2018 15:43:11 +0100
> "H. Nikolaus Schaller" <hns at goldelico.com> wrote:
> 
>> Hi Andreas,
>> queued for inclusion.
>> 
>> BTW: I have tried cat /dev/urandom >/dev/fb0 and had not seen hangs or
>> bus errors. Well, I also haven't seen anything since an X server was running.
>> And I haven't done heavy load testing or randomized page allocation effects.
>> 
> I just stopped the xserver and then called fbpng. I guess the key point is to
> mmap() the device (which seems to be usual thing you do).

Ah, ok.

So normal read()/write() (cat >/dev/fb0) may even succeed while mmap fails?
This explains why I could not such effects yet.

> I am preparing a test setup to be simply started by uboot-start-kernel.sh

BR and thanks,
Nikolaus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.goldelico.com/pipermail/letux-kernel/attachments/20180119/0ef52e8f/attachment.asc>


More information about the Letux-kernel mailing list