drm/i915: enable vblank interrupt on ironlake
authorLi Peng <peng.li@linux.intel.com>
Fri, 22 Jan 2010 16:12:58 +0000 (00:12 +0800)
committerEric Anholt <eric@anholt.net>
Mon, 25 Jan 2010 17:14:30 +0000 (09:14 -0800)
commitc062df61966405b0be6743bfb0cf300dca2fa7c2
treeae4a82215c6f0ae82021b3d45427e69de16ff1a5
parent0ce907f89118aa8748f950700b6919b1d8d8a038
drm/i915: enable vblank interrupt on ironlake

so far vblank interrupt on ironlake is disabled, this would cause
bad gfx performance if userspace calls drm_wait_vblank. This patch
enables vblank interrupt on ironlake and follows vblank get/put
model.

Signed-off-by: Li Peng <peng.li@intel.com>
Acked-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/intel_display.c