linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: LD <memorylost@tin.it>
To: Chen Hongjun-R66092 <hong-jun.chen@freescale.com>
Cc: Linux ppc mailing list <linuxppc-dev@lists.ozlabs.org>
Subject: Re: MPC5121e DIU driver - kernel crash writing alpha component
Date: Fri, 23 Oct 2009 11:59:51 +0200	[thread overview]
Message-ID: <4AE17E97.40907@tin.it> (raw)
In-Reply-To: <3A45394FD742FA419B760BB8D398F9ED8F6CF3@zch01exm26.fsl.freescale.net>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Chen,
many thanks for your very fast answer.

If I understand well, the situation is as follows:

32 bits mode, plane1 - if I write any alpha component != 0 I have a system hang
; writing alpha components in any other plane is ok.

- -----

- From my first tries I had lockups also in 16 bits 5-6-5 modes, but in this
moment I cannot precisely track down things.
Is there something I cannot do in plane1 in 16 bits modes ?

- -----

With the previous processor stepping I was not experiencing this problem ; is it
something specific from 0M36P ?

- -----

- From this, if I cannot write something in plane1 I would think about a kernel
display driver patch: a user program ->can not<- lock the system by writing
something wrong.
So... two paths:

- - do not "publish" plane1 as /dev/fb0, but plane2 will be /dev/fb0
or
- - see suggestion about double buffering and filtering alpha components

Thanks,
best regards

Lucio Dona'

Chen Hongjun-R66092 wrote:
>> Hi, 
> 
>> Pls refer to my comment embedded. 
> 
> 
> The board is booting ok (NFS), but my user space app keeps 
> crashing the kernel.
> 
> If, from user space, I write some alpha component != 0 in 
> this plane then I have a complete system crash.
> The reference pdf says "There is no alpha component defined 
> for plane1 because there are no planes behind it."
> 
> 
>> Sure, panel0 doesn't support alpha function, so you can't operate it.
> 
> 
>> You can replace panel0 with panel1, which can support alpha function.
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFK4X6XvxHCsvXy9okRApsxAJ40VJ+2/+sP4XW1qoviZlQm6m+0HQCgjkmB
p2zNmK+Eyf++r9w0fEQxZxs=
=HWm0
-----END PGP SIGNATURE-----

      reply	other threads:[~2009-10-23 10:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-23  7:16 MPC5121e DIU driver - kernel crash writing alpha component LD
2009-10-23  8:46 ` Chen Hongjun-R66092
2009-10-23  9:59   ` LD [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4AE17E97.40907@tin.it \
    --to=memorylost@tin.it \
    --cc=hong-jun.chen@freescale.com \
    --cc=linuxppc-dev@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).