Bug 28411

Summary: Output polling causes latency every 10 seconds
Product: DRI Reporter: Marius Groeger <marius.groeger>
Component: GeneralAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: medium CC: dri-devel
Version: DRI git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Marius Groeger 2010-06-06 10:49:49 UTC
The output polling in drm_crtc_helper.c added in this commit:

commit eb1f8e4f3be898df808e2dfc131099f5831d491d
Author: Dave Airlie <airlied@redhat.com>
Date:   Fri May 7 06:42:51 2010 +0000 

causes drm latencies every 10 seconds. I observed them in mythtv.

Apparently the dev->mode_config.mutex is held for too long; if I remove the mutex_lock/unlock for testing purposes the latencies are gone.
Comment 1 Marius Groeger 2010-07-19 00:09:58 UTC
This is a humble *bump* on the issue - I saw that the latest d-r-t and d-n (let alone d-f) don't contain a fix for it. Anything else you need from me to fix it?
Comment 2 Marius Groeger 2010-08-02 23:04:24 UTC
Fixed in 2.6.35 final, 29508eb66bfacdef324d2199eeaea31e0cdfaa29
drm/radeon/kms: drop taking lock around crtc lookup.

Thanks Dave!

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.