Re: [PATCH 6/9] drm/i915/cmdparser: Compare against the previous command descriptor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>> > -       default_desc->flags = CMD_DESC_SKIP;
>> > +       default_desc->cmd.value = cmd_header;
>> > +       default_desc->cmd.mask = 0xffff0000;
>> Where did you pluck this mask from?
>
> It is the most general cmd header mask.
>
>         #define MIN_OPCODE_SHIFT 16
>         cmd.mask = ~0u << MIN_OPCODE_SHIFT
> ?
Reviewed-by: Matthew Auld <matthew.auld@xxxxxxxxx>
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux