OSDN Git Service

intel: Make most of the logic for 965 3d packet length checks table-driven.
authorEric Anholt <eric@anholt.net>
Wed, 4 Jan 2012 21:18:42 +0000 (13:18 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 27 Jan 2012 21:21:20 +0000 (13:21 -0800)
commitba8ce2da04daabacd598d7f049493b622ac96f58
treed45698d6599a461182edaf88f14f7f94bf9ce011
parentb129e10af28016017a9c0e19af8e75a958063b5b
intel: Make most of the logic for 965 3d packet length checks table-driven.

This puts the error message in a consistent location relative to the
packet, and while I'm here I made the error message a bit more
informative.

Now, most static length packets need to just declare their length in
the table and not worry.
intel/intel_decode.c
intel/tests/gen7-3d.batch-ref.txt