drm/i915: Remove implied length of 2 from GFX_OP_PIPE_CONTROL #define.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 11 Oct 2011 21:41:08 +0000 (23:41 +0200)
committerKeith Packard <keithp@keithp.com>
Thu, 20 Oct 2011 22:26:40 +0000 (15:26 -0700)
commitfcbc34e4dc9ed43f5b147e95beec56c987c683c5
tree459f2606b6c25a93bd4e7969d4246f0d9eae196a
parentb73fe58cafc6954db0170a5d4ef2b4b6316f6709
drm/i915: Remove implied length of 2 from GFX_OP_PIPE_CONTROL #define.

Not all PIPE_CONTROLs have a length of 2, so remove it from the #define
and make each invocation specify the desired length.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
[danvet: implement style suggestion from Ben Widawsdy]
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_ringbuffer.c