[Intel-gfx] [PATCH 3/8] drm/i915: Rename ctx->is_initialized to ctx->rcs_is_initialized
Chris Wilson
chris at chris-wilson.co.uk
Thu Jul 3 11:49:23 CEST 2014
On Thu, Jun 26, 2014 at 02:24:14PM +0100, oscar.mateo at intel.com wrote:
> From: Oscar Mateo <oscar.mateo at intel.com>
>
> We only use this flag to signify that the render state (a.k.a. golden
> context, a.k.a. null context) has been initialized. It doesn't mean
> anything for the other engines, so make that distinction obvious.
> This renaming was suggested by Daniel Vetter.
>
> Implemented with this cocci script (plus manual changes to the struct
> declaration):
>
> @
> struct intel_context c;
> @@
> - (c).is_initialized
> + c.rcs_is_initialized
>
> @@
> struct intel_context *c;
> @@
> - (c)->is_initialized
> + c->rcs_is_initialized
>
> No functional changes.
>
> Signed-off-by: Oscar Mateo <oscar.mateo at intel.com>
Ugh. This works better with the rearrangement, and
s/rcs_is_initialized/rcs_initialised/
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list