drm/i915: BUG_ON() when cmd/reg tables are not sorted
authorBrad Volkin <bradley.d.volkin@intel.com>
Thu, 27 Mar 2014 18:43:38 +0000 (11:43 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 2 Apr 2014 09:33:51 +0000 (11:33 +0200)
commit300233ee23d6ab8f05f0b673a278c66e6b19f079
tree8ce17f5c8c4a72dea61cbb5205d6b48a4d52c097
parent85b8d5c21564e0388d4ab68adadbfe0cdb8ec728
drm/i915: BUG_ON() when cmd/reg tables are not sorted

As suggested during review, this makes it much more obvious
when the tables are not sorted.

Cc: Jani Nikula <jani.nikula@linux.intel.com>
Signed-off-by: Brad Volkin <bradley.d.volkin@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_cmd_parser.c