[Intel-gfx] [PATCH] drm/i915: enable vblank interrupt on ironlake

Zhenyu Wang zhenyuw at linux.intel.com
Mon Jan 25 08:33:13 CET 2010


On 2010.01.23 00:12:58 +0800, Li Peng wrote:
> @@ -1015,7 +1022,8 @@ static int ironlake_irq_postinstall(struct drm_device *dev)
>  {
>  	drm_i915_private_t *dev_priv = (drm_i915_private_t *) dev->dev_private;
>  	/* enable kind of interrupts always enabled */
> -	u32 display_mask = DE_MASTER_IRQ_CONTROL | DE_GSE | DE_PCH_EVENT;
> +	u32 display_mask = DE_MASTER_IRQ_CONTROL | DE_GSE | DE_PCH_EVENT |
> +			   DE_PIPEA_VBLANK | DE_PIPEB_VBLANK;
>  	u32 render_mask = GT_USER_INTERRUPT;
>  	u32 hotplug_mask = SDE_CRT_HOTPLUG | SDE_PORTB_HOTPLUG |
>  			   SDE_PORTC_HOTPLUG | SDE_PORTD_HOTPLUG;

We should disable the vblank when init irq by setting the mask bit, so here
we might remove them from initial mask bits, but only set enable bits right?	

-- 
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: 198 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20100125/48f3d9ec/attachment.sig>


More information about the Intel-gfx mailing list