Commit 4552f50a authored by Tvrtko Ursulin's avatar Tvrtko Ursulin

drm/i915: Move page sizes out of the 8-bit sandwich

Slightly smaller code and a bit more logical layout.
Signed-off-by: default avatarTvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20180222111658.4999-1-tvrtko.ursulin@linux.intel.com
parent b8ec759e
...@@ -137,14 +137,14 @@ struct intel_device_info { ...@@ -137,14 +137,14 @@ struct intel_device_info {
enum intel_platform platform; enum intel_platform platform;
u32 platform_mask; u32 platform_mask;
unsigned int page_sizes; /* page sizes supported by the HW */
u32 display_mmio_offset; u32 display_mmio_offset;
u8 num_pipes; u8 num_pipes;
u8 num_sprites[I915_MAX_PIPES]; u8 num_sprites[I915_MAX_PIPES];
u8 num_scalers[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 #define DEFINE_FLAG(name) u8 name:1
DEV_INFO_FOR_EACH_FLAG(DEFINE_FLAG); DEV_INFO_FOR_EACH_FLAG(DEFINE_FLAG);
#undef DEFINE_FLAG #undef DEFINE_FLAG
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment