linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH] matroxfb: New framebuffer_alloc API and class_d
@ 2003-09-15 20:24 Petr Vandrovec
  2003-09-15 20:42 ` [PATCH] matroxfb: New framebuffer_alloc API and class_dev Kronos
  0 siblings, 1 reply; 2+ messages in thread
From: Petr Vandrovec @ 2003-09-15 20:24 UTC (permalink / raw)
  To: Kronos; +Cc: linux-fbdev-devel, James Simmons

On 15 Sep 03 at 22:16, Kronos wrote:

> Hi,
> this patch converts driver/video/matrox to framebuffer_alloc. Now
> fb_info (and minfo) are dynamically allocated. This also voids the need 
> of a global matrox_fb_info if CONFIG_FB_MATROX_MULTIHEAD:
                             ^^^ if not defined

Whole point of CONFIG_FB_MATROX_MULTIHEAD is to use static structure
when MULTIHEAD is not set. It generates much faster driver for ia32 due
to smaller register pressure, as driver data can be addressed with fixed
address instructions. So if you are going to always allocate fbcon
dynamically, please also remove CONFIG_FB_MATROX_MULTIHEAD completely,
making it always enabled.

Besides that, what's the point of this change? Making driver slower, 
scattering its data over random memory places (so no cache locality...), 
or is there some benefit it brings in and which I missed?
                                        Thanks,
                                                Petr Vandrovec
                                                



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-09-15 20:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-15 20:24 [PATCH] matroxfb: New framebuffer_alloc API and class_d Petr Vandrovec
2003-09-15 20:42 ` [PATCH] matroxfb: New framebuffer_alloc API and class_dev Kronos

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).