From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 47007] New: HDMI monitor polling causing 100ms rendering stalls
Date: Tue, 06 Mar 2012 15:51:09 +0000 [thread overview]
Message-ID: <bug-47007-502@http.bugs.freedesktop.org/> (raw)
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.
next reply other threads:[~2012-03-06 15:51 UTC|newest]
Thread overview: 50+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-06 15:51 bugzilla-daemon [this message]
2012-03-06 15:56 ` [Bug 47007] HDMI monitor polling causing 100ms rendering stalls 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-47007-502@http.bugs.freedesktop.org/ \
--to=bugzilla-daemon@freedesktop.org \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.