Re: [Mesa-dev] [PATCH v2] intel/decoder: Use 'DWord Length' and 'bias' fields for packet length.

2018-10-30 Thread Lionel Landwerlin
This patch and the previous one pushed to master. Thanks! On 30/10/2018 12:41, Lionel Landwerlin wrote: On 29/10/2018 11:56, Toni Lönnberg wrote: Use the 'DWord Length' and 'bias' fields from the instruction definition to parse the packet length from the command stream when possible. The

Re: [Mesa-dev] [PATCH v2] intel/decoder: Use 'DWord Length' and 'bias' fields for packet length.

2018-10-30 Thread Lionel Landwerlin
On 29/10/2018 11:56, Toni Lönnberg wrote: Use the 'DWord Length' and 'bias' fields from the instruction definition to parse the packet length from the command stream when possible. The hardcoded mechanism is used whenever an instruction doesn't have this field. Reviewed-by: Lionel Landwerlin

[Mesa-dev] [PATCH v2] intel/decoder: Use 'DWord Length' and 'bias' fields for packet length.

2018-10-29 Thread Toni Lönnberg
Use the 'DWord Length' and 'bias' fields from the instruction definition to parse the packet length from the command stream when possible. The hardcoded mechanism is used whenever an instruction doesn't have this field. --- src/intel/common/gen_decoder.c | 30 +++---