From: bugzilla-daemon@freedesktop.org Subject: [Bug 47007] HDMI monitor polling causing 100ms rendering stalls Date: Thu, 15 Mar 2012 09:50:51 +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 AB58C9ECC4 for ; Thu, 15 Mar 2012 02:50:51 -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 Tvrtko Ursulin changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #58360|0 |1 is obsolete| | --- Comment #16 from Tvrtko Ursulin 2012-03-15 02:50:51 PDT --- Created attachment 58481 --> https://bugs.freedesktop.org/attachment.cgi?id=58481 Use shared HPD for VGA on R600+ I've come up with a new approach which seems to work well on hardware I have here. However it makes one assumption which I cannot be certain is true and therefore needs AMD opinion and review. Assumption is that if DDC lines are shared between the VGA and DVI connectors, that also means HPD line is shared (it is on our hardware). Under that assumption I have reworked connector adding a bit so shared DDC is not a boolean any more but a pointer to the shared connector instance. That allows me to enable HPD for the VGA connector which makes the poll worker not run every ten seconds (fixing a major source of pain for us). It also enables me to avoid fetching the VGA EDID if the shared connector is connected - rationale being that only one of the pair can be connected at a time. This logic is dependant on R600+ ASICs where we can rely on HPD lines being present. Furthermore, I've left in the bit which trusts HPD sense on R600+ ASICs, meaning as long as HPD sense remained unchanged, connector detect functions will bail out early. Last two are only considered if detect is not triggered from userspace. Otherwise full probe will be done as before. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.