[igt-dev] [PATCH igt 3/3] lib/instdone.c: Add Gen11 Support

Antonio Argenziano antonio.argenziano at intel.com
Fri Apr 27 20:38:06 UTC 2018



On 27/04/18 13:01, Paulo Zanoni wrote:
> From: Javier Villavicencio <javier.villavicencio at intel.com>
> 
> Bspec: 11431
> 
> Signed-off-by: Javier Villavicencio <javier.villavicencio at intel.com>

For the whole series:

Acked-by: Antonio Argenziano <antonio.argenziano at intel.com>

> ---
>   lib/instdone.c | 12 +++++++++++-
>   1 file changed, 11 insertions(+), 1 deletion(-)
> 
> diff --git a/lib/instdone.c b/lib/instdone.c
> index 510fce64..a83f8836 100644
> --- a/lib/instdone.c
> +++ b/lib/instdone.c
> @@ -417,10 +417,20 @@ init_gen8_instdone(void)
>   	init_gen75_instdone();
>   }
>   
> +static void
> +init_gen11_instdone(void)
> +{
> +	gen6_instdone1_bit(1 << 24, "TSG1");
> +	gen6_instdone1_bit(1 << 11, "TDG1");
> +	init_gen8_instdone();
> +}
> +
>   bool
>   init_instdone_definitions(uint32_t devid)
>   {
> -	if (IS_GEN8(devid) || IS_GEN9(devid) || IS_GEN10(devid)) {
> +	if (IS_GEN11(devid)) {
> +		init_gen11_instdone();
> +	} else if (IS_GEN8(devid) || IS_GEN9(devid) || IS_GEN10(devid)) {
>   		init_gen8_instdone();
>   	} else if (IS_GEN7(devid)) {
>   		init_gen7_instdone();
> 


More information about the igt-dev mailing list