[Intel-gfx] [PATCH 2/4 V2] drm/i915: hdmi detection according to edid header

Zhenyu Wang zhenyuw at linux.intel.com
Tue Jul 14 04:07:18 CEST 2009


On 2009.07.13 17:57:55 +0800, ling.ma at intel.com wrote:
> @@ -316,15 +293,6 @@ void intel_hdmi_init(struct drm_device *dev, int sdvox_reg)
>  					  &intel_output->enc);
>  	drm_sysfs_connector_add(connector);
>  
> -	/* For G4X desktop chip, PEG_BAND_GAP_DATA 3:0 must first be written
> -	 * 0xd.  Failure to do so will result in spurious interrupts being
> -	 * generated on the port when a cable is not attached.
> -	 */
> -	if (IS_G4X(dev) && !IS_GM45(dev)) {
> -		u32 temp = I915_READ(PEG_BAND_GAP_DATA);
> -		I915_WRITE(PEG_BAND_GAP_DATA, (temp & ~0xf) | 0xd);
> -	}
> -
>  	return;

why remove this? we will still do irq-based hotplug anyway.

-- 
Open Source Technology Center, Intel ltd.

$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20090714/f7fd95e1/attachment.sig>


More information about the Intel-gfx mailing list