drm/i915: Provide a bit more info when pipestat bits are wrong
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 3 Apr 2014 10:28:33 +0000 (13:28 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 3 Apr 2014 15:23:47 +0000 (17:23 +0200)
commit04feced98a434c7046108671dc5b6f50f3b63ed7
treeb85d2aed8919f8016a2b3e1c7b7f1a13839aef14
parent9991ae787a0c87fe7c783b4b6f4754c3cdbb6213
drm/i915: Provide a bit more info when pipestat bits are wrong

Print the enable_mask and status_mask from
__i915_{enable,disable}_pipestat() when the caller has messed them up
somehow.

v2: Use pipe_name() (Damien)
    Fix a typo in the commit message

Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_irq.c