From: Damien Lespiau Date: Fri, 7 Feb 2014 19:12:49 +0000 (+0000) Subject: drm/i915: Move num_plane to the intel_device_info structure X-Git-Tag: v3.15-rc1~51^2~59^2~61 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22d3fd4600fcb3da3df63157234a241485b58157;p=pandora-kernel.git drm/i915: Move num_plane to the intel_device_info structure And rename it to num_sprites as this value doesn't count the primary plane. This limit lives with num_pipes really, and now that dev_priv->info is writable we can put it there instead. While at it, introduce a intel_device_info_runtime_init() where we'll be able to gather the device info fields at run-time. v2: rename num_plane to num_sprites (Ville Syrjälä) v3: rebase on top of latest drm-nightly Reviewed-by: Mika Kuoppala (for v2) Reviewed-by: Ville Syrjälä (for v2) Signed-off-by: Damien Lespiau Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed