linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Antonino A. Daplas" <adaplas@hotpop.com>
To: Michal 'hramrach' Suchanek <hramrach@centrum.cz>, adaplas@pol.net
Cc: linux-fbdev-devel@lists.sourceforge.net, vandrove@vc.cvut.cz
Subject: Re: Framebuffer console not working with matroxfb on 2.6
Date: Thu, 16 Sep 2004 21:03:00 +0800	[thread overview]
Message-ID: <200409162103.00940.adaplas@hotpop.com> (raw)
In-Reply-To: <20040916114258.GP18257@uvt316-2.ruk.cuni.cz>

On Thursday 16 September 2004 19:42, Michal 'hramrach' Suchanek wrote:
> On Wed, Sep 15, 2004 at 09:11:49PM +0800, Antonino A. Daplas wrote:
> > In matroxfb_accel.c:matroxfb_imageblit(), try changing this line:
> >
> > if (image->depth == 0)
> >
> > to
> >
> > if (image->depth == 1)
>
> May I ask what this change is suposed to do?

Because image->depth will never be equal to 0.  (The use of image->depth == 0
is long gone). Anyway, this will not explain why you don't have a console,
so my mistake.  However, matroxfb will always default to
unaccelerated imageblit with this test.  (Is matroxfb_imageblit broken?) To
use matroxfb's accelerated imageblit routine the test must be changed to

if (image->depth == 1)

Try changing it and compare the time with 'time cat /usr/src/linux/MAINTAINERS'
with and without that minor change.

(Petr, this is probably the reason why copyarea is always fast with your
driver.  Most of the time, I find that imageblit > copyarea if y-pan is
disabled, copyarea > imageblit if y-pan is enabled, and imageblit > copyarea
if acceleration is disabled, whether y-pan is enabled or not.)
 
> As already explained the driver works if compiled into kernel as opposed
> to loading it as a module. This change seems too small to fix module
> loading :)
>

This particular problem (xxxfb == module and fb console != module resulting
to no console) is not specific to matroxfb. This bug/regression should be
fixed in 2.6.9-rc2 or 2.6.9-rc1-mm5.

Tony 




-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php

  reply	other threads:[~2004-09-16 13:02 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-15  6:09 Framebuffer console not working with matroxfb on 2.6 Michal 'hramrach' Suchanek
2004-09-15 13:11 ` Antonino A. Daplas
2004-09-16 11:42   ` Michal 'hramrach' Suchanek
2004-09-16 13:03     ` Antonino A. Daplas [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-09-15 11:06 Petr Vandrovec
2004-09-16 10:58 ` Michal 'hramrach' Suchanek
2004-09-16 12:04 Petr Vandrovec
2004-09-17  8:51 ` Michal 'hramrach' Suchanek
2004-09-17 11:32 Petr Vandrovec

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=200409162103.00940.adaplas@hotpop.com \
    --to=adaplas@hotpop.com \
    --cc=adaplas@pol.net \
    --cc=hramrach@centrum.cz \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    --cc=vandrove@vc.cvut.cz \
    /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).