]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: support page flipping on ValleyView
authorJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 20 Jun 2012 17:53:11 +0000 (10:53 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 20 Jun 2012 20:51:26 +0000 (22:51 +0200)
commit05972798700ac043c070f83aa4870dea0a2532e6
treeb2225348be4dbc67dbd6d6473782d7f890dbfc5f
parentb81435b2eea60441073ccf2e64298fd42f40b6c8
drm/i915: support page flipping on ValleyView

And restructure the IRQ handling a little.  We can use pipestat for most
things, and make sure we don't affect pipe events when enabling and
disabling vblank interupts.

We can leave vblank interrupts masked but enabled so we're not dependent
on the first client to toggle the disable timer.  We can also mask all
render based interrupts, since the ring code will handle unmasking them
for us.

v2: roll in vblank masking, remove unneeded variable (Daniel)

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_irq.c