]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: Break out common code from gen8_gt_irq_handler
authorNick Hoath <nicholas.hoath@intel.com>
Tue, 20 Oct 2015 09:23:52 +0000 (10:23 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 20 Oct 2015 12:25:27 +0000 (14:25 +0200)
commitfbcc1a0c3e36d6ddc19eb6a527518eaeef77645a
tree08007916491e8a39a2e42239c04efe1fc7902794
parent5dd280b085dc7611ab6704e6df4c204883e403f4
drm/i915: Break out common code from gen8_gt_irq_handler

Break out common code from gen8_gt_irq_handler and put it in to
an always inlined function. gcc optimises out the shift at compile
time. (Thomas Daniel/Daniel Vetter/Chris Wilson)

Issue: VIZ-4277
Signed-off-by: Nick Hoath <nicholas.hoath@intel.com>
Cc: Thomas Daniel <thomas.daniel@intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/1445333036-22164-3-git-send-email-nicholas.hoath@intel.com
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_irq.c