[Intel-gfx] [PATCH v2 2/4] drm/i915: Reorder i915_params struct.

Daniel Vetter daniel at ffwll.ch
Mon Dec 21 05:35:33 PST 2015


On Fri, Dec 18, 2015 at 01:08:16PM +0200, Joonas Lahtinen wrote:
> Move all the bool variables to the end as per the comment.
> 
> Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
> Signed-off-by: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>

Merged the first 2 patches from this series, thanks.
-Daniel

> ---
>  drivers/gpu/drm/i915/i915_params.h | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/i915_params.h b/drivers/gpu/drm/i915/i915_params.h
> index 353951c..5299290 100644
> --- a/drivers/gpu/drm/i915/i915_params.h
> +++ b/drivers/gpu/drm/i915/i915_params.h
> @@ -45,6 +45,10 @@ struct i915_params {
>  	int enable_ips;
>  	int invert_brightness;
>  	int enable_cmd_parser;
> +	int guc_log_level;
> +	int use_mmio_flip;
> +	int mmio_debug;
> +	int edp_vswing;
>  	/* leave bools at the end to not create holes */
>  	bool enable_hangcheck;
>  	bool fastboot;
> @@ -54,12 +58,8 @@ struct i915_params {
>  	bool disable_display;
>  	bool disable_vtd_wa;
>  	bool enable_guc_submission;
> -	int guc_log_level;
> -	int use_mmio_flip;
> -	int mmio_debug;
>  	bool verbose_state_checks;
>  	bool nuclear_pageflip;
> -	int edp_vswing;
>  };
>  
>  extern struct i915_params i915 __read_mostly;
> -- 
> 2.4.3
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch


More information about the Intel-gfx mailing list