]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/i915: Add wrappers to handle fifo underrun interrupts
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 30 Sep 2014 08:56:48 +0000 (10:56 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 24 Oct 2014 14:33:54 +0000 (16:33 +0200)
commit1f7247c01c9d1bdc7b0e239a8f2e256972b9189b
treedf01af81c75b6c05339a8fbfc07135fa6037c64c
parenta72e4c9f9a11d44458a12928cc776921ae43a616
drm/i915: Add wrappers to handle fifo underrun interrupts

Way too much copypasta all over. And this also clarifies a bit what's
going on since it separates the "do we have an underrun irq" from the
"should we report the underrun" check.

v2: Fix excessively long lines.

Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_fifo_underrun.c