mesa/src/intel/common
Jordan Justen d5bd0e411e intel/gen_decoder: return -1 for unknown command formats
Decoding with aubinator encountered a command of 0xffffffff. With the
previous code, it caused aubinator to jump 255 + 2 dwords to start
decoding again.

Instead we can attempt to detect the known instruction formats. If the
format is not recognized, then we can advance just 1 dword.

v2:
 * Update aubinator_error_decode
 * Actually convert the length variable returned into a *signed* integer
   in aubinator.c, intel_batchbuffer.c and aubinator_error_decode.c.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
2017-04-06 13:26:08 -07:00
..
gen_debug.c intel: Add a INTEL_DEBUG=color option. 2017-03-21 13:48:53 -07:00
gen_debug.h intel/common: consistently use ifndef guards over pragma once 2017-03-22 16:55:22 +00:00
gen_decoder.c intel/gen_decoder: return -1 for unknown command formats 2017-04-06 13:26:08 -07:00
gen_decoder.h intel: tools: add aubinator_error_decode tool 2017-04-04 21:22:26 +01:00
gen_device_info.c i965: Allow a per gen timebase scale factor 2017-03-17 15:45:19 +00:00
gen_device_info.h i965: Allow a per gen timebase scale factor 2017-03-17 15:45:19 +00:00
gen_l3_config.c i965/l3: Add explicit way size calculation for bxt 2016-10-05 07:57:58 -07:00
gen_l3_config.h intel: Share URB configuration code between GL and Vulkan. 2016-11-19 11:40:01 -08:00
gen_sample_positions.h intel/common: use correct header guards 2016-10-14 11:53:37 +01:00
gen_urb_config.c i965: Fix a mistake from porting the URB allocation code to arrays. 2016-11-23 16:57:29 -08:00