drm/i915: Fix incorrect intel_ring_begin size in BSD ringbuffer.
commitbe26a10bd10271b4a810ece2e540c0cdd77881bc
authorZou Nan hai <nanhai.zou@intel.com>
Sat, 12 Jun 2010 09:40:24 +0000 (12 17:40 +0800)
committerEric Anholt <eric@anholt.net>
Tue, 15 Jun 2010 01:26:25 +0000 (14 18:26 -0700)
tree7a860721c42779eb2f461e1a0f302f256b8b69bd
parent45ac22c81b1088f5ac08dc5367f78c192d68d756
drm/i915: Fix incorrect intel_ring_begin size in BSD ringbuffer.

The ring_begin API was taking a number of bytes, while all of our
other begin/end macros take number of dwords.  Change the API over to
dwords to prevent future bugs.

Signed-off-by: Zou Nan hai <nanhai.zou@intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_ringbuffer.c