]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
drm/i915: Fix up vlv/chv display irq setup
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 12 Apr 2016 15:56:14 +0000 (18:56 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 12 Apr 2016 16:06:59 +0000 (19:06 +0300)
commitad22d10654ea0e5eb46fa46ae3f716bfc1d43ce3
tree1991cd379bbb4beeac4c9054502f2e889cff9f06
parent93de68f94081ea2cbc55e47dc84bcd606264050a
drm/i915: Fix up vlv/chv display irq setup

The vlv/chv display irq setup was a bit of mess after I ran out of steam
when working on it last. Fix it up so that we just have a _reset() and
_postinstall() hooks for the display irqs, and use those consistently.

v2: Clear out pipestat_irq_mask[] and PIPE_FIFO_UNDERRUN_STATUS in
    vlv_display_irq_reset() (Imre)

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com> (v1)
Link: http://patchwork.freedesktop.org/patch/msgid/1460476574-1921-1-git-send-email-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/i915_irq.c