Re: [Intel-gfx] [PATCH] drm/i915/crt: Do not rely upon the HPD presence pin

2012-06-11 Thread Daniel Vetter
On Mon, Jun 11, 2012 at 03:42:32PM +0100, Chris Wilson wrote: > On Mon, 11 Jun 2012 16:38:40 +0200, Daniel Vetter > wrote: > > From: Chris Wilson > > > > VGA hotplug detection "works" by measuring the resistance across > > certain pins. A lot of kvm switches fumble this and wire up cheap > > re

Re: [Intel-gfx] [PATCH] drm/i915/crt: Do not rely upon the HPD presence pin

2012-06-11 Thread Chris Wilson
On Mon, 11 Jun 2012 16:38:40 +0200, Daniel Vetter wrote: > From: Chris Wilson > > VGA hotplug detection "works" by measuring the resistance across > certain pins. A lot of kvm switches fumble this and wire up cheap > resistors with the wrong resistance or don't bother at all. > > To accomodate

[Intel-gfx] [PATCH] drm/i915/crt: Do not rely upon the HPD presence pin

2012-06-11 Thread Daniel Vetter
From: Chris Wilson VGA hotplug detection "works" by measuring the resistance across certain pins. A lot of kvm switches fumble this and wire up cheap resistors with the wrong resistance or don't bother at all. To accomodate these, also try to detect a connected monitor by trying to grab the edid

Re: [Intel-gfx] [PATCH] drm/i915/crt: Do not rely upon the HPD presence pin

2012-06-11 Thread Chris Wilson
On Mon, 11 Jun 2012 10:40:15 +0200, Daniel Vetter wrote: > On Mon, Jun 11, 2012 at 08:58:19AM +0100, Chris Wilson wrote: > > On Mon, 11 Jun 2012 09:29:47 +0200, Daniel Vetter > > wrote: > > > From: Chris Wilson > > > > > > VGA hotplug detection "works" by measuring the resistance across > > >

Re: [Intel-gfx] [PATCH] drm/i915/crt: Do not rely upon the HPD presence pin

2012-06-11 Thread Daniel Vetter
On Mon, Jun 11, 2012 at 08:58:19AM +0100, Chris Wilson wrote: > On Mon, 11 Jun 2012 09:29:47 +0200, Daniel Vetter > wrote: > > From: Chris Wilson > > > > VGA hotplug detection "works" by measuring the resistance across > > certain pins. A lot of kvm switches fumble this and wire up cheap > > re

Re: [Intel-gfx] [PATCH] drm/i915/crt: Do not rely upon the HPD presence pin

2012-06-11 Thread Chris Wilson
On Mon, 11 Jun 2012 09:29:47 +0200, Daniel Vetter wrote: > From: Chris Wilson > > VGA hotplug detection "works" by measuring the resistance across > certain pins. A lot of kvm switches fumble this and wire up cheap > resistors with the wrong value or don't bother at all. > > To accomodate thes

[Intel-gfx] [PATCH] drm/i915/crt: Do not rely upon the HPD presence pin

2012-06-11 Thread Daniel Vetter
From: Chris Wilson VGA hotplug detection "works" by measuring the resistance across certain pins. A lot of kvm switches fumble this and wire up cheap resistors with the wrong value or don't bother at all. To accomodate these, also try to detect a connected monitor by trying to grab the edid. Con

Re: [Intel-gfx] [PATCH] drm/i915/crt: Do not rely upon the HPD presence pin

2012-06-10 Thread Chris Wilson
On Sun, 10 Jun 2012 19:04:10 +0200, Daniel Vetter wrote: > On Fri, Jun 08, 2012 at 11:23:10PM +0100, Chris Wilson wrote: > > On Sat, 9 Jun 2012 00:22:12 +0200, Daniel Vetter wrote: > > > On Thu, May 31, 2012 at 01:08:53PM +0100, Chris Wilson wrote: > > > > Whilst most monitors do wire up the HPD

Re: [Intel-gfx] [PATCH] drm/i915/crt: Do not rely upon the HPD presence pin

2012-06-10 Thread Daniel Vetter
On Fri, Jun 08, 2012 at 11:23:10PM +0100, Chris Wilson wrote: > On Sat, 9 Jun 2012 00:22:12 +0200, Daniel Vetter wrote: > > On Thu, May 31, 2012 at 01:08:53PM +0100, Chris Wilson wrote: > > > Whilst most monitors do wire up the HPD presence pin, it seems quite a > > > few KVM do not. Therefore if

Re: [Intel-gfx] [PATCH] drm/i915/crt: Do not rely upon the HPD presence pin

2012-06-08 Thread Chris Wilson
On Sat, 9 Jun 2012 00:22:12 +0200, Daniel Vetter wrote: > On Thu, May 31, 2012 at 01:08:53PM +0100, Chris Wilson wrote: > > Whilst most monitors do wire up the HPD presence pin, it seems quite a > > few KVM do not. Therefore if we simply rely on the HPD pin being > > asserted to indicate a connect

Re: [Intel-gfx] [PATCH] drm/i915/crt: Do not rely upon the HPD presence pin

2012-06-08 Thread Daniel Vetter
On Thu, May 31, 2012 at 01:08:53PM +0100, Chris Wilson wrote: > Whilst most monitors do wire up the HPD presence pin, it seems quite a > few KVM do not. Therefore if we simply rely on the HPD pin being > asserted to indicate a connected monitor we fail miserable, so fall back > to performing a DCC

Re: [Intel-gfx] [PATCH] drm/i915/crt: Do not rely upon the HPD presence pin

2012-05-31 Thread Dave Airlie
On Thu, May 31, 2012 at 1:08 PM, Chris Wilson wrote: > Whilst most monitors do wire up the HPD presence pin, it seems quite a > few KVM do not. Therefore if we simply rely on the HPD pin being > asserted to indicate a connected monitor we fail miserable, so fall back > to performing a DCC query fo

Re: [Intel-gfx] [PATCH] drm/i915/crt: Do not rely upon the HPD presence pin

2012-05-31 Thread Daniel Vetter
On Thu, May 31, 2012 at 01:08:53PM +0100, Chris Wilson wrote: > Whilst most monitors do wire up the HPD presence pin, it seems quite a > few KVM do not. Therefore if we simply rely on the HPD pin being > asserted to indicate a connected monitor we fail miserable, so fall back > to performing a DCC

[Intel-gfx] [PATCH] drm/i915/crt: Do not rely upon the HPD presence pin

2012-05-31 Thread Chris Wilson
Whilst most monitors do wire up the HPD presence pin, it seems quite a few KVM do not. Therefore if we simply rely on the HPD pin being asserted to indicate a connected monitor we fail miserable, so fall back to performing a DCC query for the EDID. Reported-and-tested-by: Matthieu LAVIE Bugzilla: