[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-igt-dev
Subject:    Re: [igt-dev] [PATCH igt 3/3] lib/instdone.c: Add Gen11 Support
From:       Antonio Argenziano <antonio.argenziano () intel ! com>
Date:       2018-04-27 20:38:06
Message-ID: a1abc5ba-4951-79e7-d29e-7f9ba59fdd3f () intel ! com
[Download RAW message or body]



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

For the whole series:

Acked-by: Antonio Argenziano <antonio.argenziano@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();
> 
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic