[igt-dev] [PATCH i-g-t v3 3/4] lib/intel_batchbuffer: Removal of state variable from a intel_batchbuffer structure

Katarzyna Dec katarzyna.dec at intel.com
Tue Apr 17 11:06:12 UTC 2018


On Tue, Apr 17, 2018 at 11:10:59AM +0200, Lukasz Kalamarz wrote:
> With a removal of all references to state variable there is
> no longer any need to keep it in structure.
> 
> Signed-off-by: Lukasz Kalamarz <lukasz.kalamarz at intel.com>
> Cc: Katarzyna Dec <katarzyna.dec at intel.com>
> Cc: Radoslaw Szwichtenberg <radoslaw.szwichtenberg at intel.com>
> Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio at intel.com>
Reviewed-by: Katarzyna Dec <katarzyna.dec at intel.com>
> ---
>  lib/intel_batchbuffer.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/lib/intel_batchbuffer.h b/lib/intel_batchbuffer.h
> index 2c262d7..6744bcb 100644
> --- a/lib/intel_batchbuffer.h
> +++ b/lib/intel_batchbuffer.h
> @@ -21,7 +21,6 @@ struct intel_batchbuffer {
>  
>  	uint8_t buffer[BATCH_SZ];
>  	uint8_t *ptr, *end;
> -	uint8_t *state;
>  };
>  
>  struct intel_batchbuffer *intel_batchbuffer_alloc(drm_intel_bufmgr *bufmgr,
> -- 
> 2.9.5
> 


More information about the igt-dev mailing list