drm/i915: factor out intel_set_cpu_fifo_underrun_reporting_nolock
authorImre Deak <imre.deak@intel.com>
Tue, 4 Mar 2014 17:23:09 +0000 (19:23 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 7 Mar 2014 21:36:57 +0000 (22:36 +0100)
commitf88d42f1d0272c46390434607b0f5de3889d157d
tree6fc42df217922bf58fefedd69b3488faf5b5bd61
parentf8b79e58dc79f3f0edeb5194198a331374b11f82
drm/i915: factor out intel_set_cpu_fifo_underrun_reporting_nolock

Needed by the next patch, wanting to set the underrun reporting as part
of a bigger dev_priv->irq_lock'ed sequence.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
[danvet: Use more customary __ prefix instead of _nolock postfix.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_irq.c