All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Kern <alex.kern@gmx.de>
To: linux-fbdev-devel@lists.sourceforge.net
Cc: "Benjamin Herrenschmidt" <benh@kernel.crashing.org>,
	"Ville Syrjälä" <syrjala@sci.fi>
Subject: Re: URGENT: status of atyfb
Date: Tue, 3 Aug 2004 22:57:51 +0200	[thread overview]
Message-ID: <200408032257.51111.alex.kern@gmx.de> (raw)
In-Reply-To: <1091424085.7387.68.camel@gaston>

[-- Attachment #1: Type: text/plain, Size: 882 bytes --]

Am Montag, 2. August 2004 07:21 schrieb Benjamin Herrenschmidt:
> Ok, I built an upstream tree with just the new atyfb in, and it breaks
> on the wallstreet powerbook (LT-G) here. I'm not sure what is wrong at
> this point, I'd say the clock stuff is incorrectly calculated.
>
> On PPC, you do not have access to BIOS tables. So driver starts with
> blowing up since the code for retreiving that from BIOS is unconditional
> (it should be X86 only).
>
> I disabled that, but then, the default values (which are the same as the
> old driver afaik) don't seem to be enough anymore to produce a correct
> output.
>
> Ben.
Hi, I do not have any information or hardware about PPC. Should it own 
something like OpenFirmware? In this case it is possible to read clock 
information from this.

I found, that we change a little behaviour. Please give a try for this 
patch...

Regards Alex

[-- Attachment #2: atyfb_base_difference.patch --]
[-- Type: text/x-diff, Size: 505 bytes --]

--- atyfb_base.c	2004-08-01 00:23:53.000000000 +0200
+++ atyfb_base.c.ppc	2004-08-03 22:54:17.211890752 +0200
@@ -336,7 +336,7 @@
 
 #define ATI_CHIP_264GTB    (ATI_MODERN_SET) 
 /*#define ATI_CHIP_264GTDVD  ?*/
-#define ATI_CHIP_264LTG    (ATI_MODERN_SET)
+#define ATI_CHIP_264LTG    (M64F_GT | M64F_INTEGRATED | M64F_GTB_DSP | M64F_EXTRA_BRIGHT)
 
 #define ATI_CHIP_264GT2C   (ATI_MODERN_SET | M64F_HW_TRIPLE)
 #define ATI_CHIP_264GTPRO  (ATI_MODERN_SET | M64F_HW_TRIPLE | M64F_FIFO_32 | M64F_RESET_3D)

  reply	other threads:[~2004-08-03 20:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-02  3:31 URGENT: status of atyfb Benjamin Herrenschmidt
2004-08-02  5:21 ` Benjamin Herrenschmidt
2004-08-03 20:57   ` Alexander Kern [this message]
2004-08-03 21:25     ` Benjamin Herrenschmidt
2004-08-03 22:05       ` Ville Syrjälä
2004-08-06  6:09       ` Alexander Kern
2004-08-06  8:10         ` Benjamin Herrenschmidt

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=200408032257.51111.alex.kern@gmx.de \
    --to=alex.kern@gmx.de \
    --cc=benh@kernel.crashing.org \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    --cc=syrjala@sci.fi \
    /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.