]> git.baikalelectronics.ru Git - kernel.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)
commit67429d63256629ac64b47c03ef036953702c79c0
tree08007916491e8a39a2e42239c04efe1fc7902794
parenta63c5805f5e4f531d4476bee4c4a7b62c63870a4
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