Bug 28411 - Output polling causes latency every 10 seconds
Summary: Output polling causes latency every 10 seconds
Status: RESOLVED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: General (show other bugs)
Version: DRI git
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-06 10:49 UTC by Marius Groeger
Modified: 2010-08-02 23:04 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

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.