]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: rip out ring->irq_mask
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 11 Apr 2012 20:12:46 +0000 (22:12 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 13 Apr 2012 10:40:57 +0000 (12:40 +0200)
commit6a848ccb800f5330ca368cd804795b7ce644e36c
tree5d034820c235ca1e3be7ea83f52ca1aec3b5e9fd
parent1500f7ea06858819abcf8eec8f952e2f9281c610
drm/i915: rip out ring->irq_mask

We only ever enable/disable one interrupt (namely user_interrupts and
pipe_notify), so we don't need to track the interrupt masking state.

Also rename irq_enable to irq_enable_mask, now that it won't collide -
beforehand both a irq_mask and irq_enable_mask would have looked a bit
strange.

Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_ringbuffer.c
drivers/gpu/drm/i915/intel_ringbuffer.h