From: Wolfgang Grandegger <wg@grandegger.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/3] video: mb862xx: add option CONFIG_VIDEO_MB862xx_ACCEL for X888RGB mode
Date: Mon, 19 Oct 2009 14:06:57 +0200 [thread overview]
Message-ID: <4ADC5661.7050508@grandegger.com> (raw)
In-Reply-To: <20091019115219.33200182FC428@nyx.denx.de>
Wolfgang Denk wrote:
> Dear Wolfgang Grandegger,
>
> In message <20091019111913.427445638@denx.de> you wrote:
>> The new IPEK01 board uses the X888RGB mode for the Lime graphics
>> controller. For this mode video accelaration does not work. This patch
>> makes the accelaration configurable via CONFIG_VIDEO_MB862xx_ACCEL,
>> which is enabled for the lwmon5 and the socrates board for backward
>> compatibility.
>
> Why would you want to disable it for IPEK01? Accelaration seems to be
> a good thing you don't give up if you don't have to, but I
> cannot think of reasons why you would have to do without it?
Because acceleration does work with 16 bpp but *not* with 32 bpp. That's
the reason why we made it configurable. Well, this patch could be
dropped, because the BSP for the IPEK01 posted here uses now 16 bpp as well.
>> Index: u-boot-mainline/drivers/video/cfb_console.c
>> ===================================================================
>> --- u-boot-mainline.orig/drivers/video/cfb_console.c 2009-10-19 13:17:14.582303087 +0200
>> +++ u-boot-mainline/drivers/video/cfb_console.c 2009-10-19 13:17:29.406303158 +0200
>
> Please use git-format-patch to create patches.
Why? Do you have any problems to apply these patches? I personally
(still) prefer using quilt for patch stack management.
>> --- u-boot-mainline.orig/drivers/video/mb862xx.c 2009-10-19 13:17:14.582303087 +0200
>> +++ u-boot-mainline/drivers/video/mb862xx.c 2009-10-19 13:17:17.467553012 +0200
> ...
>> @@ -174,6 +178,14 @@
>> DE_WR_FIFO (dev->winSizeY << 16 | dev->winSizeX);
>> /* sync with SW access to framebuffer */
>> de_wait ();
>> +#else
>> + unsigned int i, *p;
>> +
>> + i = dev->winSizeX * dev->winSizeY;
>> + p = (unsigned int *)dev->frameAdrs;
>> + while (i--)
>> + *p++ = 0;
>> +#endif
>
> Why don't you use memset() here?
Maybe to ensure that D32 accesses are performed. Anatolij might know?
Wolfgang.
next prev parent reply other threads:[~2009-10-19 12:06 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-19 11:19 [U-Boot] [PATCH 0/3] mpc52xx: IPEK01 board support Wolfgang Grandegger
2009-10-19 11:19 ` [U-Boot] [PATCH 1/3] video: mb862xx: add option CONFIG_VIDEO_MB862xx_ACCEL for X888RGB mode Wolfgang Grandegger
2009-10-19 11:52 ` Wolfgang Denk
2009-10-19 12:06 ` Wolfgang Grandegger [this message]
2009-10-19 12:29 ` Wolfgang Denk
2009-10-19 12:46 ` Wolfgang Grandegger
2009-10-19 11:19 ` [U-Boot] [PATCH 2/3] video: mb862xx: add option VIDEO_FB_16BPP_WORD_SWAP for IPEK01 Wolfgang Grandegger
2009-10-19 11:56 ` Wolfgang Denk
2009-10-19 12:09 ` Wolfgang Grandegger
2009-10-19 12:31 ` Wolfgang Denk
2009-10-19 11:19 ` [U-Boot] [PATCH 3/3] mpc52xx: add support for the IPEK01 board Wolfgang Grandegger
2009-10-19 12:25 ` Wolfgang Denk
2009-10-19 13:42 ` Wolfgang Grandegger
2009-10-19 13:53 ` Wolfgang Denk
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=4ADC5661.7050508@grandegger.com \
--to=wg@grandegger.com \
--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