lkml.org 
[lkml]   [2010]   [Apr]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] Initial OLPC Viafb merge
Bruno Prémont schrieb:
> On Sat, 10 April 2010 Florian Tobias Schandinat <FlorianSchandinat@gmx.de> wrote:
>> Jonathan Corbet schrieb:
>>> Well, if we want to keep s/r out of tree, we can do that. It will
>>> complicate the merge of the other stuff, since it's got hooks into the
>>> GPIO and camera code too. But, like everything else I've posted so
>>> far, it's not the work that I personally set out to do. I can push
>>> that work on others :)

Good news! After some hours of hacking, damaging a filesystem and nearly
smashing my SD card I've found a promising way to implement suspend and
resume in viafb based on the first patch of this series. I think this is
something that can be done for the next merge window. I'll start a clean
implementation after Jon sent an updated patch series (including the
initial s&r implementation)

>> At least I'd like some more time (multiple weeks) to have a look at this
>> issue & patches and try to come up with improvements that make it likely
>> work on other IGPs and eventually not needing any BIOS/OFW. I agree its
>> already an improvement but certainly one of the kind I like less as VIA
>> could come up with such "improvements" too. IMHO it's a bad thing to
>> push one chipset first if the target is to support all equally well (as
>> long as the hardware permits).

Goal basically reached:
- likely to work on all IGPs as nothing directly IGP dependent is there
- works without OFW/BIOS

However:
- suspending is very slow, looks like it takes double the time compared
to before s&r support was added to viafb (this is also with only the
original patch)
- output device setting is messed up (example: before suspend the output
was on DVI, after resume on CRT)
- does not restore some values in the mmio but reinitializes it instead.
Do you need any special values restored, Jon?

> In my case (Commell LE 365) the BIOS offers an option to restore graphics
> to text mode on resume so the manual call of 'fbset -a $MODE' works
> pretty well, only the acceleration has issues.
> I don't remember if accel can get revived with vanilla 2.6.34-rc2 if it
> was disabled before suspend.

Acceleration doesn't work in 2.6.34-rc2 or later after resume (limited
only to the cursor, the rest works for me). It will work after the
patches I am going to do are applied.

> When I get time to, I will give these patches a try. A central GIT tree
> where all viafb patches get collected would definitely be nice (even with
> multiple semi-throw-away "topic" branches).

Yes, I guess that would be a good idea at least now where 2 people are
actively working on viafb. I have also a few minor patches ready I'll
send in a few days (after having repaired my development environment).


Best regards,

Florian Tobias Schandinat
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2010-04-13 05:07    [W:1.083 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site