diff options
author | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2018-02-22 11:16:58 +0000 |
---|---|---|
committer | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2018-02-22 14:14:23 +0000 |
commit | 4552f50a439c36fd5f8c6f1ec2d5ba7c8574ce97 (patch) | |
tree | 32bf922ba0b43cd774aa0260affaea76be30ed22 /drivers/gpu/drm/i915/intel_device_info.h | |
parent | b8ec759e6f1c6da0418238df066a0f1ef8fd2075 (diff) | |
download | linux-stable-4552f50a439c36fd5f8c6f1ec2d5ba7c8574ce97.tar.gz linux-stable-4552f50a439c36fd5f8c6f1ec2d5ba7c8574ce97.tar.bz2 linux-stable-4552f50a439c36fd5f8c6f1ec2d5ba7c8574ce97.zip |
drm/i915: Move page sizes out of the 8-bit sandwich
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
Diffstat (limited to 'drivers/gpu/drm/i915/intel_device_info.h')
-rw-r--r-- | drivers/gpu/drm/i915/intel_device_info.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_device_info.h b/drivers/gpu/drm/i915/intel_device_info.h index 71fdfb0451ef..8904ad87bf37 100644 --- a/drivers/gpu/drm/i915/intel_device_info.h +++ b/drivers/gpu/drm/i915/intel_device_info.h @@ -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 |