public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH RESEND] video:cache:fix: Buffer alignment and dcache flush for lcd subsystem
Date: Mon, 07 Jan 2013 00:40:59 +0100	[thread overview]
Message-ID: <20130106234059.70CEB200F93@gemini.denx.de> (raw)
In-Reply-To: <CAPnjgZ1X+anT6x4C0D6ZCoB3VvVVm1aBudkrcGkxg122F8XGmQ@mail.gmail.com>

Dear Simon,

In message <CAPnjgZ1X+anT6x4C0D6ZCoB3VvVVm1aBudkrcGkxg122F8XGmQ@mail.gmail.com> you wrote:
> 
> > I don't think this is as it should be.  Any frame buffer that actually
> > gets used as such should be located in the memory area specifically
> > allocated for this purpose using lcd_setmem().  This is especially
> > important when you load a splash screen image and intend to display it
> > flicker-free when booting an OS.  If you use malloc() or memalign(),
> > it will be memory in the malloc arena, which gets overwritten when an
> > OS boots, resulting in a corrupted display.
> >
> > Note: I added Anatolij, our video custodian to the Cc: list.
> 
> OK, well in that case we should deprecate this business of using a
> separate memory buffer as a frame buffer, and make people uncompress
> the BMP to the normal frame buffer. It would simplify a few things and
> I doubt there would be a speed penalty (or at least it could be
> corrected by decompressing directly to the frame buffer).

Agreed - thanks!

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
All he had was nothing, but that was something, and now it  had  been
taken away.                             - Terry Pratchett, _Sourcery_

  reply	other threads:[~2013-01-06 23:40 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-08 15:10 [U-Boot] [PATCH 1/2] video:cache:fix: Buffer alignment and dcache flush for lcd subsystem Lukasz Majewski
2012-08-08 15:10 ` [U-Boot] [PATCH 2/2] video:trats:logo: Make tizen_hd_logo cache line aligned Lukasz Majewski
2012-08-08 15:24 ` [U-Boot] [PATCH 1/2] video:cache:fix: Buffer alignment and dcache flush for lcd subsystem Mike Frysinger
2012-08-09  7:14   ` Lukasz Majewski
2013-01-02 16:25 ` [U-Boot] [PATCH RESEND] " Lukasz Majewski
2013-01-05  1:25   ` Simon Glass
2013-01-06  8:03     ` Lukasz Majewski
2013-01-06 15:47       ` Simon Glass
2013-01-06 20:21         ` Wolfgang Denk
2013-01-06 21:38           ` Simon Glass
2013-01-06 23:40             ` Wolfgang Denk [this message]
2013-01-06 23:09           ` Anatolij Gustschin
2013-01-06 22:54         ` Anatolij Gustschin

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=20130106234059.70CEB200F93@gemini.denx.de \
    --to=wd@denx.de \
    --cc=u-boot@lists.denx.de \
    /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