From: Antonino Daplas <adaplas@pol.net>
To: Antonino Daplas <adaplas@pol.net>
Cc: James Simmons <jsimmons@infradead.org>,
Geert Uytterhoeven <geert@linux-m68k.org>,
Linux Fbdev development list
<linux-fbdev-devel@lists.sourceforge.net>
Subject: Re: [PATCH 1/5]: logo fix
Date: 16 Feb 2003 19:12:59 +0800 [thread overview]
Message-ID: <1045393909.1214.2.camel@localhost.localdomain> (raw)
In-Reply-To: <1045375680.1823.71.camel@localhost.localdomain>
On Sun, 2003-02-16 at 14:08, Antonino Daplas wrote:
> The attached patch (linux-2.5.61 + James' fbdev.diff) fixes the following:
>
> 1. compile error because of missing scripts/pmntologo.
>
> 2. Break up of fb_show_logo() to fb_prepare_logo()/fb_show_logo() to fix
> weird "double drawing" or the "single draw, erase in a flash" of the
> logo.
>
> 3. Fixed all drivers affected by the (image.depth == 0) is color
> expansion.
>
Here's an incremental diff to protect logo drawing code with an
#ifdef CONFIG_FB_LOGO
Tony
diff -Naur linux-2.5.61-fbdev/drivers/video/fbmem.c linux-2.5.61-ad/drivers/video/fbmem.c
--- linux-2.5.61-fbdev/drivers/video/fbmem.c 2003-02-16 11:08:40.000000000 +0000
+++ linux-2.5.61-ad/drivers/video/fbmem.c 2003-02-16 11:08:19.000000000 +0000
@@ -41,7 +41,6 @@
#include <asm/pgtable.h>
#include <linux/fb.h>
-#include <linux/linux_logo.h>
#ifdef CONFIG_FRAMEBUFFER_CONSOLE
#include "console/fbcon.h"
@@ -369,6 +368,9 @@
return n < 0 ? d >> -n : d << n;
}
+#ifdef CONFIG_FB_LOGO
+#include <linux/linux_logo.h>
+
static void __init fb_set_logocmap(struct fb_info *info,
const struct linux_logo *logo)
{
@@ -656,6 +658,10 @@
kfree(logo_new);
return fb_logo.logo->height;
}
+#else
+int fb_prepare_logo(struct fb_info *info) { return 0; }
+int fb_show_logo(struct fb_info *info) { return 0; }
+#endif /* CONFIG_FB_LOGO */
static int fbmem_read_proc(char *buf, char **start, off_t offset,
int len, int *eof, void *private)
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
next prev parent reply other threads:[~2003-02-16 11:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-16 6:08 [PATCH 1/5]: logo fix Antonino Daplas
2003-02-16 11:12 ` Antonino Daplas [this message]
2003-02-16 16:40 ` James Simmons
2003-02-17 22:02 ` Geert Uytterhoeven
2003-02-16 16:39 ` James Simmons
2003-02-17 11:33 ` Antonino Daplas
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=1045393909.1214.2.camel@localhost.localdomain \
--to=adaplas@pol.net \
--cc=geert@linux-m68k.org \
--cc=jsimmons@infradead.org \
--cc=linux-fbdev-devel@lists.sourceforge.net \
/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).