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

Daniele Ceraolo Spurio daniele.ceraolospurio at intel.com
Sat Apr 21 00:00:07 UTC 2018



On 20/04/18 04:15, 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: Daniele Ceraolo Spurio <daniele.ceraolospurio at intel.com>

Daniele

> ---
>   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,
> 


More information about the igt-dev mailing list