All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 47007] New: HDMI monitor polling causing 100ms rendering stalls
@ 2012-03-06 15:51 bugzilla-daemon
  2012-03-06 15:56 ` [Bug 47007] " bugzilla-daemon
                   ` (48 more replies)
  0 siblings, 49 replies; 50+ messages in thread
From: bugzilla-daemon @ 2012-03-06 15:51 UTC (permalink / raw)
  To: dri-devel

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

             Bug #: 47007
           Summary: HDMI monitor polling causing 100ms rendering stalls
    Classification: Unclassified
           Product: DRI
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/Radeon
        AssignedTo: dri-devel@lists.freedesktop.org
        ReportedBy: tvrtko.ursulin@onelan.co.uk


I am experiencing rendering stalls every ten seconds (drm_kms_helper output
connector poll interval) on a AMD G-T56N (Radeon HD 6310) box connected to the
monitor via HDMI connector.

Kernel is kernel.org's 3.3.0-rc6 kernel.

I've delved into the code a bit, sprayed some printks around, and found that
the culprit is the drm_get_edid call from radeon_dvi_detect where the former
takes more than 100ms. I suspect I2C transfers there are disabling interrupts
because I don't see any locks other than drm_device mode mutex being help at
that at least sounds harmless.

This function (radeon_dvi_detect) is a bit advanced for a newcomer in this
area, but, looking at the accompanying comment and the code, I am not sure it
could not be improved?

For example if monitor is connected, and we know it is a digital monitor, do we
need to discard and re-fetch complete EDID every time? Couldn't we just do a
quick probe to check for disconnection instead?

This is if I understand correctly that EDID probing must be done for
disconnection check?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 50+ messages in thread

end of thread, other threads:[~2012-04-01 12:57 UTC | newest]

Thread overview: 50+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-06 15:51 [Bug 47007] New: HDMI monitor polling causing 100ms rendering stalls bugzilla-daemon
2012-03-06 15:56 ` [Bug 47007] " bugzilla-daemon
2012-03-06 16:11 ` bugzilla-daemon
2012-03-06 16:12 ` bugzilla-daemon
2012-03-06 16:13 ` bugzilla-daemon
2012-03-06 16:15 ` bugzilla-daemon
2012-03-07 10:10 ` bugzilla-daemon
2012-03-07 10:42 ` bugzilla-daemon
2012-03-07 19:46 ` bugzilla-daemon
2012-03-07 19:47 ` bugzilla-daemon
2012-03-07 20:03 ` bugzilla-daemon
2012-03-08  9:56 ` bugzilla-daemon
2012-03-12 13:44 ` bugzilla-daemon
2012-03-12 14:56 ` bugzilla-daemon
2012-03-12 15:13 ` bugzilla-daemon
2012-03-12 18:34 ` bugzilla-daemon
2012-03-13  8:46 ` bugzilla-daemon
2012-03-13 11:44 ` bugzilla-daemon
2012-03-15  7:56 ` bugzilla-daemon
2012-03-15  8:14 ` bugzilla-daemon
2012-03-15  9:50 ` bugzilla-daemon
2012-03-15 10:52 ` bugzilla-daemon
2012-03-15 11:20 ` bugzilla-daemon
2012-03-15 13:10 ` bugzilla-daemon
2012-03-15 13:29 ` bugzilla-daemon
2012-03-15 13:59 ` bugzilla-daemon
2012-03-15 14:08 ` bugzilla-daemon
2012-03-15 14:57 ` bugzilla-daemon
2012-03-15 15:02 ` bugzilla-daemon
2012-03-15 15:03 ` bugzilla-daemon
2012-03-15 15:16 ` bugzilla-daemon
2012-03-15 15:34 ` bugzilla-daemon
2012-03-15 15:45 ` bugzilla-daemon
2012-03-15 16:13 ` bugzilla-daemon
2012-03-15 17:41 ` bugzilla-daemon
2012-03-16  3:54 ` bugzilla-daemon
2012-03-16  8:47 ` bugzilla-daemon
2012-03-16 13:18 ` bugzilla-daemon
2012-03-16 13:57 ` bugzilla-daemon
2012-03-16 14:04 ` bugzilla-daemon
2012-03-16 14:16 ` bugzilla-daemon
2012-03-16 14:46 ` bugzilla-daemon
2012-03-16 15:09 ` bugzilla-daemon
2012-03-16 15:16 ` bugzilla-daemon
2012-03-16 15:30 ` bugzilla-daemon
2012-03-16 15:35 ` bugzilla-daemon
2012-03-16 15:59 ` bugzilla-daemon
2012-03-16 16:09 ` bugzilla-daemon
2012-04-01 12:57 ` bugzilla-daemon
2012-04-01 12:57 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.