drm/i915: precendence bug in GT_PARITY_ERROR()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 24 Sep 2013 07:57:35 +0000 (10:57 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 1 Oct 2013 05:45:13 +0000 (07:45 +0200)
commit45f80d53b1fe2f68c6c5b2b4518b67278bcde805
treecb02c9f904f11f95590c754fd358aa9ef2b6359d
parent773ae0346576a19b6a5e10adb0f63deca603ee00
drm/i915: precendence bug in GT_PARITY_ERROR()

The | operation has higher precedence than "?:" so the macro always
returns GT_RENDER_L3_PARITY_ERROR_INTERRUPT_S1.

This regression has been introduce in "drm/i915: Add second slice l3
remapping".

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_reg.h