drm/i915: Move page sizes out of the 8-bit sandwich
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Thu, 22 Feb 2018 11:16:58 +0000 (11:16 +0000)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Thu, 22 Feb 2018 14:14:23 +0000 (14:14 +0000)
Slightly smaller code and a bit more logical layout.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20180222111658.4999-1-tvrtko.ursulin@linux.intel.com
drivers/gpu/drm/i915/intel_device_info.h

index 71fdfb0451ef8e4a0fb2dd612eb47ca9132c94bf..8904ad87bf378798f59ea050b848703484a3724a 100644 (file)
@@ -137,14 +137,14 @@ struct intel_device_info {
        enum intel_platform platform;
        u32 platform_mask;
 
+       unsigned int page_sizes; /* page sizes supported by the HW */
+
        u32 display_mmio_offset;
 
        u8 num_pipes;
        u8 num_sprites[I915_MAX_PIPES];
        u8 num_scalers[I915_MAX_PIPES];
 
-       unsigned int page_sizes; /* page sizes supported by the HW */
-
 #define DEFINE_FLAG(name) u8 name:1
        DEV_INFO_FOR_EACH_FLAG(DEFINE_FLAG);
 #undef DEFINE_FLAG