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.