linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: James Simmons <jsimmons@transvirtual.com>
Cc: linux-fbdev-devel@lists.sourceforge.net
Subject: Re: Re: 2.5 offb breakage
Date: Wed, 31 Jul 2002 19:42:49 +0200	[thread overview]
Message-ID: <20020731174249.19410@192.168.4.1> (raw)
In-Reply-To: <Pine.LNX.4.44.0207311014100.13905-100000@www.transvirtual.com>

>
>Sorry I have been away for some time. I'm looking for work :-(
>
>> What is the correct fix ? Changing back offb to set dispsw or
>> changing gen_set_disp() to set dispsw for all bit depth ?
>
>I found what the problem was. The soft accel files cfb*.c where not being
>linked into off.c. Try this patch and tell me if everything works. BTW you
>need to have CONFIG_FBCON_ACCEL set. Eventually all the fbcon-cfb* stuff
>will go away.

I have fixed that for a long time or it wouldn't link anyway...

So if I don't have CONFIG_FBCON_ACCEL, it dies in fbcon_setup because
dispsw is not set, if I have CONFIG_FBCON_ACCEL set, it dies in cfb_imageblt,
I think it's display->fb_info that is null, but I have to dbl check.

Why would you kill the fbcon-cfg stuffs ? That would mean making
CONFIG_FBCON_ACCEL not to be an option then. Or simple framebuffers like
offb wouldn't work.

>> Also, when code in fbcon_accel.c is calling things like
>> cfb_imageblit, it uses the "fb_info" field of structure
>> struct display. Where is this supposed to be initialized ?
>> It doesn't seem it's done in the drivers themselves (surely
>> not in offb).
>
>The upper fbcon code sets that. See fbcon_init in fbcon.c.




-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31

  reply	other threads:[~2002-07-31 17:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-31 12:49 2.5 offb breakage Benjamin Herrenschmidt
2002-07-31 17:18 ` James Simmons
2002-07-31 17:42   ` Benjamin Herrenschmidt [this message]
2002-07-31 18:00     ` James Simmons
2002-07-31 18:07       ` Benjamin Herrenschmidt
2002-07-31 18:18       ` Benjamin Herrenschmidt
2002-07-31 17:18 ` 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=20020731174249.19410@192.168.4.1 \
    --to=benh@kernel.crashing.org \
    --cc=jsimmons@transvirtual.com \
    --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).