]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf90b58ad45765a1b8e117a48af3998bf8014ba48
tree459f2606b6c25a93bd4e7969d4246f0d9eae196a
parent95983fb064079816b3b01196bc1ff25efad1a933
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