linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] aty128fb.c
@ 2001-11-09  9:04 Jeramy B. Smith
  2001-11-09 10:25 ` Bastien Nocera
  0 siblings, 1 reply; 7+ messages in thread
From: Jeramy B. Smith @ 2001-11-09  9:04 UTC (permalink / raw)
  To: linuxppc-dev


http://penguinppc.org/projects/jeramy/aty128fb.c.diff

This removes a block of cruft leftover from the iMac days and sets the
default resolution for aty128fb on PPCs to 640x480-60 (ensuring even the
cruddiest of monitors will work).

-jeramy


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

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: [PATCH] aty128fb.c
@ 2001-11-09 20:35 jeramy b smith
  2001-11-09 20:46 ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 7+ messages in thread
From: jeramy b smith @ 2001-11-09 20:35 UTC (permalink / raw)
  To: Holger Bettag; +Cc: linuxppc-dev


Holger Bettag <hobold@Informatik.Uni-Bremen.DE> wrote:

>"Jeramy B. Smith" <jeramy@penguinppc.org> writes:
>
>>
>> http://penguinppc.org/projects/jeramy/aty128fb.c.diff
>>
>> This removes a block of cruft leftover from the iMac days and sets the
>> default resolution for aty128fb on PPCs to 640x480-60 (ensuring even the
>> cruddiest of monitors will work).
>>
>Cinema Displays can only sync to their native mode. (Not that many of them
>were out there, but...)
>
>  Holger
>

We look for monitor sense values for the cinema display. That's elsewhere in the driver. The way aty128fb sets the default res is like this with my patch:

it looks at machine specific vmodes (powerbook, imac)
it looks at monitor sense info
it looks at user specified vmode args and checks to make sure they are sane
if all of that fails, it uses the aforementioned default
Even if we don't want 640x480 as the default, we dont have to set it with that first hunk I removed, there is another place later in the driver to set the default. I removed the big hunk just as a way to say 'lets be clear about where we set the default res'.

--
-jeramy b smith


"Linux is Fun!" -Linus Torvalds


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

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

end of thread, other threads:[~2001-11-09 20:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-09  9:04 [PATCH] aty128fb.c Jeramy B. Smith
2001-11-09 10:25 ` Bastien Nocera
2001-11-09 10:53   ` Adrian Cox
2001-11-09 10:59     ` Bastien Nocera
2001-11-09 20:34   ` k
  -- strict thread matches above, loose matches on Subject: below --
2001-11-09 20:35 jeramy b smith
2001-11-09 20:46 ` Benjamin Herrenschmidt

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