From: "Thomas S. Iversen" <zensonic@zensonic.dk>
To: James Simmons <jsimmons@infradead.org>
Cc: linux-fbdev-devel@lists.sourceforge.net
Subject: Re: Need advice on blitting to dword alignment
Date: Fri, 12 Sep 2003 21:13:41 +0200 [thread overview]
Message-ID: <20030912191341.GA23768@zensonic.dk> (raw)
In-Reply-To: <Pine.LNX.4.44.0309121742420.5017-100000@phoenix.infradead.org>
On Fri, Sep 12, 2003 at 06:09:56PM +0100, James Simmons wrote:
Hi Again
> The NVIDIA fbdev driver had the same problems. That is what struct
> fb_pixmap is for. Since you need 32 bit padded images you would need to
> fill in your own pixmap when you initalize the driver. Something like
> this.
>
> info->pixmap.addr = kmalloc(64*1024, GFP_KERNEL);
> info->pixmap.size = 64 * 1024;
> info->pixmap.buf_align = 4;
> info->pixmap.scan_align = 4;
> info->pixmap.flags = FB_PIXMAP_SYSTEM;
[snip]
Thanks a million --- you guys truely rocks! The good part is, that
now my mono/font expansion blit actually works and I can actually feel
the improvement when scrolling around in emacs ;-) .... but it came at a cost it
seems:
* My software cursor became messed up/flashing. I suspect that the software cursor
does not work with alignment>1, but is that right??
* Tux, which was nicely drawn using the software fallback before I changed the pixmap
alignment, became messed up.
It made me suspect that the software imageblit does not work when alignment>1,
and further tests seemed to support this. Can I fix it somehow? Or
is it fixed in later kernel versions? (I use 2.5.73 for development at the moment)
Regards Thomas
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
next prev parent reply other threads:[~2003-09-12 19:15 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-12 13:52 Need advice on blitting to dword alignment Thomas S. Iversen
2003-09-12 17:09 ` James Simmons
2003-09-12 19:13 ` Thomas S. Iversen [this message]
2003-09-12 19:58 ` Thomas S. Iversen
2003-09-12 21:26 ` James Simmons
2003-09-13 5:17 ` Thomas S. Iversen
2003-09-12 21:24 ` James Simmons
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=20030912191341.GA23768@zensonic.dk \
--to=zensonic@zensonic.dk \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.