intel: Un-hardcode lengths from blitter commands.
authorKenneth Graunke <kenneth@whitecape.org>
Mon, 14 Jan 2013 22:22:38 +0000 (14:22 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 29 Jan 2013 00:47:52 +0000 (16:47 -0800)
commit7b07808f741ea31831a953aad58749b75a12a108
treedcd7c02f0a4d735e7be427d71d96b9cdb65a9f28
parent1b3ec16cc2c1190f0212fda26242f5e5206f5b1e
intel: Un-hardcode lengths from blitter commands.

The packet length may change at some point in the future.  Specifying it
explicitly (rather than hardcoding it in the command #define) allows us
to change it much more easily in the future.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/intel/intel_blit.c
src/mesa/drivers/dri/intel/intel_reg.h