]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/i915: use FPGA_DBG for the "unclaimed register" checks
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Mon, 18 Feb 2013 22:00:21 +0000 (19:00 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 19 Feb 2013 19:38:20 +0000 (20:38 +0100)
commit3d87751d4399804a18161e4a815a94267417b3bd
tree7b530392f94ec21d390990a34ad7f09920e46c53
parent206750ed1cfebb703a20bdfcbc09907b3af2e171
drm/i915: use FPGA_DBG for the "unclaimed register" checks

We plan to treat GEN7_ERR_INT as an interrupt, so use this register
for the checks inside I915_WRITE. This way we can have the best of
both worlds: the error message with a register address and the

V2: Split in 2 patches: one for the macro, one for changing the
register, as requested by Ben.
V3: Rebase.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_reg.h