summaryrefslogtreecommitdiff
path: root/drivers/misc/altera-stapl
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2012-03-30 18:24:35 (GMT)
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-04-09 16:04:07 (GMT)
commite7b4c6b122443254bc7cab0f17fd67871dbe0a19 (patch)
tree65c6ac90103c61d6b853652b747427448218db71 /drivers/misc/altera-stapl
parent901781b997570e55af950348d7cd5cef64fb6d7c (diff)
downloadlinux-fsl-qoriq-e7b4c6b122443254bc7cab0f17fd67871dbe0a19.tar.xz
drm/i915: extract gt interrupt handler
vlv, ivb and snb all share the gen6+ gt irq handling. 3 copies of the same stuff is a bit much, so extract it into a little helper. Now ilk has a different gt irq handling than snb, but shares the same irq handler (due to the similar display block). So also extract the ilk gt irq handling to clearly separate these two things. Nice side effect of this is that we can complete Ben Widawsky's gen6+ irq bit #define cleanup and call the render irq also with the GEN6 alias. Beforehand that code was shared with ilk, and neither option really made much sense. As a bonus this enables the error interrupt handling lifted from the vlv code on snb and ivb, too. Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org> Antagonized-by: Ben Widawsky <ben@bwidawsk.net> Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/misc/altera-stapl')
0 files changed, 0 insertions, 0 deletions