All of lore.kernel.org
 help / color / mirror / Atom feed
* 2.6.35 Radeon KMS power management regression?
@ 2010-06-01  6:23 Nigel Cunningham
  2010-06-01  6:33 ` Dave Airlie
  0 siblings, 1 reply; 5+ messages in thread
From: Nigel Cunningham @ 2010-06-01  6:23 UTC (permalink / raw)
  To: LKML, airlied

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

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.

Nigel

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

* Re: 2.6.35 Radeon KMS power management regression?
  2010-06-01  6:23 2.6.35 Radeon KMS power management regression? Nigel Cunningham
@ 2010-06-01  6:33 ` Dave Airlie
  2010-06-01  6:43   ` Nigel Cunningham
                     ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Dave Airlie @ 2010-06-01  6:33 UTC (permalink / raw)
  To: Nigel Cunningham; +Cc: LKML, dri-devel

On Tue, Jun 1, 2010 at 4:23 PM, Nigel Cunningham
<ncunningham@crca.org.au> 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
>
> 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.

I'll try and recreate if I get a chance, cc'ing dri-devel also for Alex/Jerome.

Dave.

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

* Re: 2.6.35 Radeon KMS power management regression?
  2010-06-01  6:33 ` Dave Airlie
@ 2010-06-01  6:43   ` Nigel Cunningham
  2010-06-01  6:57   ` Nigel Cunningham
  2010-06-01 22:32   ` Rafael J. Wysocki
  2 siblings, 0 replies; 5+ messages in thread
From: Nigel Cunningham @ 2010-06-01  6:43 UTC (permalink / raw)
  To: Dave Airlie; +Cc: LKML, dri-devel

Hi.

On 01/06/10 16:33, Dave Airlie wrote:
> On Tue, Jun 1, 2010 at 4:23 PM, Nigel Cunningham
> <ncunningham@crca.org.au>  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
>>
>> 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

Thanks for the quick reply. I've commented out the radeon_agp_suspend 
call and will try that shortly. By the way, saw your recent commit 
message talking about kids programs and lowering of IQs. I sympathise. I 
have the Wiggles in my head far too much at the moment :)

> 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 that next.

> I'll try and recreate if I get a chance, cc'ing dri-devel also for Alex/Jerome.

Ta.

Nigel

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

* Re: 2.6.35 Radeon KMS power management regression?
  2010-06-01  6:33 ` Dave Airlie
  2010-06-01  6:43   ` Nigel Cunningham
@ 2010-06-01  6:57   ` Nigel Cunningham
  2010-06-01 22:32   ` Rafael J. Wysocki
  2 siblings, 0 replies; 5+ messages in thread
From: Nigel Cunningham @ 2010-06-01  6:57 UTC (permalink / raw)
  To: Dave Airlie; +Cc: LKML, dri-devel

Hi again.

On 01/06/10 16:33, Dave Airlie wrote:
> On Tue, Jun 1, 2010 at 4:23 PM, Nigel Cunningham
> <ncunningham@crca.org.au>  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

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

* Re: 2.6.35 Radeon KMS power management regression?
  2010-06-01  6:33 ` Dave Airlie
  2010-06-01  6:43   ` Nigel Cunningham
  2010-06-01  6:57   ` Nigel Cunningham
@ 2010-06-01 22:32   ` Rafael J. Wysocki
  2 siblings, 0 replies; 5+ messages in thread
From: Rafael J. Wysocki @ 2010-06-01 22:32 UTC (permalink / raw)
  To: Dave Airlie; +Cc: Nigel Cunningham, LKML, dri-devel

On Tuesday 01 June 2010, Dave Airlie wrote:
> On Tue, Jun 1, 2010 at 4:23 PM, Nigel Cunningham
> <ncunningham@crca.org.au> 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
> >
> > 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.
> 
> I'll try and recreate if I get a chance, cc'ing dri-devel also for Alex/Jerome.

I'm not reproducing this on Acer Ferrari One (that has an rs780 IIRC),
but it seems I can reproduce it on a desktop box with some PCIe r300.

Tomorrow I'll try .35-rc1 on HP nx6325.

Rafael

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

end of thread, other threads:[~2010-06-01 22:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-01  6:23 2.6.35 Radeon KMS power management regression? Nigel Cunningham
2010-06-01  6:33 ` Dave Airlie
2010-06-01  6:43   ` Nigel Cunningham
2010-06-01  6:57   ` Nigel Cunningham
2010-06-01 22:32   ` Rafael J. Wysocki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.