From: bugzilla-daemon@freedesktop.org
Subject: [Bug 47007] HDMI monitor polling causing 100ms rendering stalls
Date: Mon, 12 Mar 2012 15:13:05 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Return-path:
Received: from annarchy.freedesktop.org (annarchy.freedesktop.org
[131.252.210.176])
by gabe.freedesktop.org (Postfix) with ESMTP id 89DD69F4EC
for ;
Mon, 12 Mar 2012 08:13:05 -0700 (PDT)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=47007
--- Comment #12 from Simon Farnsworth 2012-03-12 08:13:05 PDT ---
Alex,
The monitor is not polling - the hotplug detect code is being called because
the VGA is polled as DRM_CONNECTOR_POLL_CONNECT, and the output_poll_execute
function in drm_crtc_helper.c checks every output when a poll happens.
Because the VGA needs polling once every ten seconds, output_poll_execute is
called on each HPD interrupt, and once every ten seconds beyond that.
radeon_dvi_detect is heavy-duty, and does a full EDID fetch every time it's
called, stalling us for 100ms once every ten seconds for as long as the VGA is
disconnected.
Tvrtko's fix changes radeon_dvi_detect to be lightweight in the case that
affects us, where a HPD pin is wired up correctly.
The alternative is to do major surgery on the core DRM, and teach
output_poll_execute and drm_helper_hpd_irq_event, to only check outputs that
have either had a HPD interrupt since the last time they were checked, or that
are marked for polling.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.