[Intel-gfx] [PATCH 5/9] drm/i915/cmdparser: Improve hash function
Matthew Auld
matthew.william.auld at gmail.com
Fri Aug 12 17:42:30 UTC 2016
> -#define STD_MI_OPCODE_MASK 0xFF800000
> -#define STD_3D_OPCODE_MASK 0xFFFF0000
> -#define STD_2D_OPCODE_MASK 0xFFC00000
> -#define STD_MFX_OPCODE_MASK 0xFFFF0000
> +#define STD_MI_OPCODE_SHIFT (32 - 9)
> +#define STD_3D_OPCODE_SHIFT (32 - 16)
> +#define STD_2D_OPCODE_SHIFT (32 - 10)
> +#define STD_MFX_OPCODE_SHIFT (32 - 16)
Why don't we make use of this one in cmd_header_key? What client is it
supposed to map to?
More information about the Intel-gfx
mailing list