From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 7295DB6FBB for ; Wed, 18 Apr 2012 20:37:31 +1000 (EST) Message-ID: <1334745439.3143.5.camel@pasglop> Subject: Re: PowerPC radeon KMS - is it possible? From: Benjamin Herrenschmidt To: Andreas Schwab Date: Wed, 18 Apr 2012 20:37:19 +1000 In-Reply-To: <1334745338.3143.3.camel@pasglop> References: <1334732346.1159.5.camel__22339.9641145535$1334732429$gmane$org@pasglop> <1334745338.3143.3.camel@pasglop> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Cc: o jordan , linuxppc-dev@lists.ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, 2012-04-18 at 20:35 +1000, Benjamin Herrenschmidt wrote: > On Wed, 2012-04-18 at 09:46 +0200, Andreas Schwab wrote: > > Benjamin Herrenschmidt writes: > > > > > Note also that KMS doesn't afaik have the power management code that > > > radeonfb has for those old Mac chipsets, so suspend/resume won't work. > > > > How hard would it be to add it? > > The code itself is relatively self contained, but the KMS power > management side is a bit ... messy :-) So the real deal is to figure out > how best to "hook it up" there. > > There's some duplication Argh... bloody x220 touchpad... So I was saying, there's also some duplication in the area of dynamic clocks configuration. Some of this could be an issue as afaik, to work reliably, the suspend/resume code really wants the stuff to be setup exactly the way the code in radeon_pm does.... But it's definitely worth trying to port it over. Cheers, Ben.