linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* diff between radeonfb.c and aty/radeon_base.c
@ 2004-05-12 11:59 Cedric Pradalier
  2004-05-13  4:29 ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 3+ messages in thread
From: Cedric Pradalier @ 2004-05-12 11:59 UTC (permalink / raw)
  To: linuxppc-dev


Hi,

	In dual-headed mode (no problem in single head), on my ibook2.2, I'm
experiencing the yellowish tint bug with some part of X. After googling,
I looked for the newmode.surface_cntl line in radeonfb, and I found a
strange copy-paste between radeonfb.c and aty/radeon_base.c (I use 2.6.5
kernel).
In radeon_base.c :
	/*
	 * It looks like recent chips have a problem with SURFACE_CNTL,
	 * setting SURF_TRANSLATION_DIS completely disables the
	 * swapper as well, so we leave it unset now.
	 */
	newmode.surface_cntl = 0;

#if defined(__BIG_ENDIAN)

In radeonfb.c :

#if defined(__BIG_ENDIAN)
	/*
	 * It looks like recent chips have a problem with SURFACE_CNTL,
	 * setting SURF_TRANSLATION_DIS completely disables the
	 * swapper as well, so we leave it unset now.
	 */
	newmode.surface_cntl = 0;

Note the ordering difference between ifdef and surface_cntl=0.

Is this normal ? As far as i can see, this means that surface_cntl is
not initialized on ibook with radeonfb.

I'll try to change and report.

--
Cedric

"[Of course] I'm French! Why do think I have this outrageous
accent, you silly king-a?!"  Monty Python and the Holy Grail

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~2004-05-13  8:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-12 11:59 diff between radeonfb.c and aty/radeon_base.c Cedric Pradalier
2004-05-13  4:29 ` Benjamin Herrenschmidt
2004-05-13  8:26   ` Cedric Pradalier

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