[Intel-gfx] [PATCH i-g-t] assembler, lib, overlay, tools, tests/: Fix warnings about unused variables.

Chris Wilson chris at chris-wilson.co.uk
Fri Sep 9 20:53:03 UTC 2016


On Wed, Sep 07, 2016 at 01:38:55PM +0300, Marius Vlad wrote:
> diff --git a/lib/intel_device_info.c b/lib/intel_device_info.c
> index 5aab684..6a03b09 100644
> --- a/lib/intel_device_info.c
> +++ b/lib/intel_device_info.c
> @@ -9,12 +9,6 @@ static const struct intel_device_info intel_generic_info = {
>  	.gen = 0,
>  };
>  

#if 0
> -static const struct intel_device_info intel_i81x_info = {
> -	.gen = BIT(0),
> -	.is_whitney = true,
> -	.codename = "solano" /* 815 == "whitney" ? or vice versa? */
> -};
#endif

Or add the PCI and wire it up.

> -
>  static const struct intel_device_info intel_i830_info = {
>  	.gen = BIT(1),
>  	.is_almador = true,
> diff --git a/overlay/igfx.c b/overlay/igfx.c
> index fa046e7..55f0edf 100644
> --- a/overlay/igfx.c
> +++ b/overlay/igfx.c
> @@ -35,16 +35,9 @@ static const struct igfx_info generic_info = {
>  	.gen = -1,
>  };
>  

#if 0
> -static const struct igfx_info i81x_info = {
> -	.gen = 010,
> -};
#endif

>  static const struct igfx_info i830_info = {
>  	.gen = 020,
>  };

> -static const struct igfx_info i845_info = {
> -	.gen = 020,
> -};

That's a typo later on.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list