Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753810Ab0FAG5c (ORCPT ); Tue, 1 Jun 2010 02:57:32 -0400 Received: from crca.org.au ([74.207.252.120]:52633 "EHLO crca.org.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751696Ab0FAG5b (ORCPT ); Tue, 1 Jun 2010 02:57:31 -0400 X-Bogosity: Ham, spamicity=0.000000 Message-ID: <4C04AF52.1070009@crca.org.au> Date: Tue, 01 Jun 2010 16:57:22 +1000 From: Nigel Cunningham User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100423 Thunderbird/3.0.4 MIME-Version: 1.0 To: Dave Airlie CC: LKML , dri-devel Subject: Re: 2.6.35 Radeon KMS power management regression? References: <4C04A767.8000209@crca.org.au> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2212 Lines: 61 Hi again. On 01/06/10 16:33, Dave Airlie wrote: > On Tue, Jun 1, 2010 at 4:23 PM, Nigel Cunningham > wrote: >> Hi all. >> >> Just wondering if anyone else has tried to hibernate while using Radeon KMS >> and a tree with Dave's post 2.6.34 patches? My 32 bit P4 based system (with >> an RV250 card) is hanging at the atomic copy, with the following backtrace >> >> hibernation_snapshot >> dpm_suspend_start >> async_synchronize_full >> async_synchronize_cookie >> async_synchronize_cookie_domain Just tried with the agp_suspend invocation commented out - no difference. But it did lead to me realising I'd forgotten to mention the other part of the issue: the above backtrace is from the thread doing the hibernating. In addition, there's an async work thread with the following backtrace. (I love having kdb in vanilla!) async_thread async_suspend __device_suspend device_for_each_child pm_op pci_pm_freeze pci_legacy_suspend radeon_pci_suspend radeon_suspend_kms radeon_pm_suspend del_timer_sync try_to_del_timer_sync >> I've been trying to bisect, but this computer is being painfully slow, so I >> haven't been making much progress. 2.6.34 with the same config is fine, and >> my bisection progress so far seems to be pointing at the merge I mentioned >> above. > > The only thing I can think off might be the output polling task, or > the fix from Jerome for AGP suspend/resume > 10b06122afcc78468bd1d009633cb71e528acdc5 is AGP one to test > > disabling output polling is a messier revert, might be easier to just edit > drivers/gpu/drm/drm_crtc_helper.c:drm_kms_helper_poll_init and remove > the delayed_slow_work_enqueue call, also forcing repoll to false > inside output_poll_execute which should in theory stop the polling > from starting or being kicked off later. Will try this now. Given the above, I guess it sounds more likely? > I'll try and recreate if I get a chance, cc'ing dri-devel also for Alex/Jerome. Nigel -- 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/