[Intel-gfx] [PATCH 2/2] [i915] move bools to end of i915_params struct

Nathan Schulte nmschulte at gmail.com
Thu Mar 10 23:43:24 UTC 2016


to avoid creating holes, as per existing comment
---
 drivers/gpu/drm/i915/i915_drv.h | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index 515e335..4b84373 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -2689,6 +2689,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;
@@ -2698,13 +2702,9 @@ 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 force_dp_sst;
 	bool verbose_state_checks;
 	bool nuclear_pageflip;
-	int edp_vswing;
+	bool force_dp_sst;
 };
 extern struct i915_params i915 __read_mostly;
 
-- 
2.7.0



More information about the Intel-gfx mailing list