Skip to contentSkip to conversation

New: Output polling causes latency every 10 seconds

Bug 28411 [email protected] 1 participant 3 messages Jun 6, 2010 – Aug 3, 2010

lore
Share & tools
lore
#0 lore raw

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: [email protected]
ReportedBy: [email protected]

The output polling in drm_crtc_helper.c added in this commit:

commit eb1f8e4f3be898df808e2dfc131099f5831d491d

Author: Dave Airlie <[email protected]>
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.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 28411] Output polling causes latency every 10 seconds

https://bugs.freedesktop.org/show_bug.cgi?id=28411

--- Comment #1 from Marius Groeger <[email protected]> 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?

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#2 lore raw

[Bug 28411] Output polling causes latency every 10 seconds

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=28411

Marius Groeger <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Marius Groeger <[email protected]> 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!

Signature · 4 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.