]> git.baikalelectronics.ru Git - 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)
commiteae9633641e600afa82f1c7f240ec9fe4ef56656
treedf01af81c75b6c05339a8fbfc07135fa6037c64c
parent98c39dea53471342327b70a3a7b17b24c9dbc04e
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