[Mesa-dev] [PATCH 3/3] i965/disasm: Decode per-slot offsets.

Ben Widawsky ben at bwidawsk.net
Sat Apr 9 15:56:03 UTC 2016


On Fri, Apr 08, 2016 at 01:57:44PM -0700, Kenneth Graunke wrote:
> We just never bothered to decode this.
> 
> Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>

Series is:
Reviewed-by: Ben Widawsky <ben at bwidawsk.net>
> ---
>  src/mesa/drivers/dri/i965/brw_disasm.c | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/src/mesa/drivers/dri/i965/brw_disasm.c b/src/mesa/drivers/dri/i965/brw_disasm.c
> index 0848657..88bd7a4 100644
> --- a/src/mesa/drivers/dri/i965/brw_disasm.c
> +++ b/src/mesa/drivers/dri/i965/brw_disasm.c
> @@ -1517,6 +1517,11 @@ brw_disassemble_inst(FILE *file, const struct brw_device_info *devinfo,
>                                               : gen5_urb_opcode,
>                             opcode, &space);
>  
> +            if (devinfo->gen >= 7 &&
> +                brw_inst_urb_per_slot_offset(devinfo, inst)) {
> +               string(file, " per-slot");
> +            }
> +
>              if (opcode == GEN8_URB_OPCODE_SIMD8_WRITE ||
>                  opcode == GEN8_URB_OPCODE_SIMD8_READ) {
>                 if (brw_inst_urb_channel_mask_present(devinfo, inst))
> -- 
> 2.8.0
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list