https://bugs.freedesktop.org/show_bug.cgi?id=28411
Summary: Output polling causes latency every 10 seconds Product: DRI Version: DRI CVS Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: major Priority: medium Component: General AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: marius.groeger@web.de
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.
https://bugs.freedesktop.org/show_bug.cgi?id=28411
--- Comment #1 from Marius Groeger marius.groeger@web.de 2010-07-19 00:09:58 PDT --- 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?
https://bugs.freedesktop.org/show_bug.cgi?id=28411
Marius Groeger marius.groeger@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #2 from Marius Groeger marius.groeger@web.de 2010-08-02 23:04:24 PDT --- Fixed in 2.6.35 final, 29508eb66bfacdef324d2199eeaea31e0cdfaa29 drm/radeon/kms: drop taking lock around crtc lookup.
Thanks Dave!
dri-devel@lists.freedesktop.org